This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Make problem :(

Tags: None
(comma "," separated)
vi_rus
Registered Member
Posts
3
Karma
0

Make problem :(

Sun Jul 30, 2006 10:40 am
Hi!
I`am from Russia.

Here is my problem.
My OS is FreeBSD 6.0-RELEASE

I download source from here: http://ktorrent.pwsp.net/downloads/2.0b ... ta1.tar.gz

Configure ends successfully:
Code: Select all
fast creating translations/tr/Makefile
fast creating translations/tr/messages/Makefile
fast creating translations/uk/Makefile
fast creating translations/uk/messages/Makefile
fast creating translations/zh_CN/Makefile
fast creating translations/zh_CN/messages/Makefile
fast creating utests/Makefile
config.pl: fast created 85 file(s).
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

----------------------------------------------------------
KTorrent ERROR:
KTorrent requires gmp (http://www.swox.com/gmp)
----------------------------------------------------------


Good - your configure finished. Start make now


But 'make' stop with error......
Code: Select all
In file included from peer.cpp:26:
chunk.h:42: warning: `class bt::Chunk' has virtual functions but non-virtual destructor
source='globals.cpp' object='globals.lo' libtool=yes  depfile='.deps/globals.Plo' tmpdepfile='.deps/globals.TPlo'  depmode=gcc3 /usr/local/bin/bash ../../admin/depcomp  /usr/local/bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H  -I. -I. -I../.. -I./.. -I/usr/local/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions  -c -o globals.lo `test -f 'globals.cpp' || echo './'`globals.cpp
/usr/X11R6/bin/moc ./peermanager.h -o peermanager.moc
source='peermanager.cpp' object='peermanager.lo' libtool=yes  depfile='.deps/peermanager.Plo' tmpdepfile='.deps/peermanager.TPlo'  depmode=gcc3 /usr/local/bin/bash ../../admin/depcomp  /usr/local/bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H  -I. -I. -I../.. -I./.. -I/usr/local/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions  -c -o peermanager.lo `test -f 'peermanager.cpp' || echo './'`peermanager.cpp
In file included from ./../mse/encryptedauthenticate.h:25,
                 from peermanager.cpp:34:
./../mse/bigint.h:26:17: gmp.h: No such file or directory
In file included from ./../mse/encryptedauthenticate.h:25,
                 from peermanager.cpp:34:
./../mse/bigint.h:93: error: `mpz_t' does not name a type
*** Error code 1

Stop in /usr/ktorrent-2.0beta1/libktorrent/torrent.
*** Error code 1

Stop in /usr/ktorrent-2.0beta1/libktorrent.
*** Error code 1

Stop in /usr/ktorrent-2.0beta1.
*** Error code 1

Stop in /usr/ktorrent-2.0beta1


Sorce from: http://ktorrent.org/downloads/2.0rc1/kt ... rc1.tar.gz
Is similar 2.0beta1

Can you help me ?
Knut
Registered Member
Posts
79
Karma
0

Sun Jul 30, 2006 11:12 am
Actually configure does not end succesfylly, you have an error message:

Code: Select all
----------------------------------------------------------
 KTorrent ERROR:
 KTorrent requires gmp (http://www.swox.com/gmp)
 ----------------------------------------------------------


Which leads to:
Code: Select all
./../mse/bigint.h:26:17: gmp.h: No such file or directory
In file included from ./../mse/encryptedauthenticate.h:25,
                 from peermanager.cpp:34:
./../mse/bigint.h:93: error: `mpz_t' does not name a type
*** Error code 1


You are missing the gmp library, try installing it and re-run configure/make etc.
Good luck.
vi_rus
Registered Member
Posts
3
Karma
0

Sun Jul 30, 2006 11:30 am
Hm....
I read words
Code: Select all
Good - your configure finished. Start make now

and think that all is OK.

I will try to install missing library.

Thanks.
vi_rus
Registered Member
Posts
3
Karma
0

Sun Jul 30, 2006 11:57 am
./Configure

Code: Select all
fast creating translations/rw/Makefile
fast creating translations/rw/messages/Makefile
fast creating translations/sr/Makefile
fast creating translations/sr/messages/Makefile
fast creating translations/sr@Latn/Makefile
fast creating translations/sr@Latn/messages/Makefile
fast creating translations/sv/Makefile
fast creating translations/sv/messages/Makefile
fast creating translations/tr/Makefile
fast creating translations/tr/messages/Makefile
fast creating translations/uk/Makefile
fast creating translations/uk/messages/Makefile
fast creating translations/zh_CN/Makefile
fast creating translations/zh_CN/messages/Makefile
fast creating utests/Makefile
config.pl: fast created 85 file(s).
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Good - your configure finished. Start make now


make

Code: Select all
pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::onCurrentChanged(QListViewItem*)':
pluginmanagerprefpage.cpp:98: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:99: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:104: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:105: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::updateAllButtons()':
pluginmanagerprefpage.cpp:129: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:130: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:134: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:135: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:139: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:140: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:142: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::onLoad()':
pluginmanagerprefpage.cpp:147: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::onUnload()':
pluginmanagerprefpage.cpp:159: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
*** Error code 1

Stop in /usr/ktorrent-2.0rc1/libktorrent.
*** Error code 1

Stop in /usr/ktorrent-2.0rc1/libktorrent.
*** Error code 1

Stop in /usr/ktorrent-2.0rc1.
*** Error code 1

Stop in /usr/ktorrent-2.0rc1.


Code: Select all
pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::onCurrentChanged(QListViewItem*)':
pluginmanagerprefpage.cpp:98: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:99: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:104: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:105: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::updateAllButtons()':
pluginmanagerprefpage.cpp:129: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:130: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:134: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:135: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:139: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:140: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp:142: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::onLoad()':
pluginmanagerprefpage.cpp:147: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::onUnload()':
pluginmanagerprefpage.cpp:159: error: invalid use of undefined type `struct PluginManagerWidget'
pluginmanagerprefpage.h:27: error: forward declaration of `struct PluginManagerWidget'
*** Error code 1

Stop in /usr/ktorrent-2.0beta1/libktorrent.
*** Error code 1

Stop in /usr/ktorrent-2.0beta1/libktorrent.
*** Error code 1

Stop in /usr/ktorrent-2.0beta1.
*** Error code 1

Stop in /usr/ktorrent-2.0beta1.


:cry:
George
Moderator
Posts
5421
Karma
1

Sun Jul 30, 2006 2:25 pm
Try this :

make -f admin/Makefile.common
./configure
make


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]