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

make error

Tags: None
(comma "," separated)
greg_tn
Registered Member
Posts
1
Karma
0

make error

Fri Feb 02, 2007 8:14 pm
hello

im have problems to install ktorrent.org in my mandriva free 2007

i thing , mandriva need gmp.h and i find it in my system

Code: Select all
[root@localhost ktorrent-2.0.3]# ls /usr/lib/libgmp.so.*
/usr/lib/libgmp.so.3@  /usr/lib/libgmp.so.3.3.3*
[root@localhost ktorrent-2.0.3]#     



can you help me ; :roll:


if i must install (gmp.h) can you send me links . thanks




Code: Select all
In file included from ../../libktorrent/mse/encryptedauthenticate.h:25,
                 from peermanager.cpp:36:
../../libktorrent/mse/bigint.h:26:17: error: gmp.h: Aucun fichier ou répertoire de ce type
../../libktorrent/mse/bigint.h:93: error: ‘mpz_t’ does not name a type
make[4]: *** [peermanager.lo] Erreur 1
make[3]: *** [all-recursive] Erreur 1
make[2]: *** [all] Erreur 2
make[1]: *** [all-recursive] Erreur 1
make: *** [all] Erreur 2
George
Moderator
Posts
5421
Karma
1

Sat Feb 03, 2007 11:35 am
You need to look for the gmp-devel package, gmp is probably installed by default, however the header files are not, so you need to install the development package.
dave4925
Registered Member
Posts
5
Karma
0

Fri Mar 16, 2007 1:12 am
thanks, it compiles now (with multiple warnings)
when I typed ktorrent in shell, it crashed with this output:

System configuration startup check disabled.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1232947504 (LWP 13557)]
[KCrash handler]
#9 0x00000000 in ?? ()
#10 0xb7e50bb8 in kt::PluginManager::loadPluginList ()
from /lib/libktorrent-2.2dev.so
#11 0x08089719 in KTorrentCore::loadPlugins ()
#12 0x08081fdb in KTorrent::KTorrent ()
#13 0x08084511 in KTorrentApp::newInstance ()
#14 0xb76246ed in KUniqueApplication::processDelayed ()
from /opt/kde3/lib/libkdecore.so.4
#15 0xb765e5c8 in KUniqueApplication::qt_invoke ()
from /opt/kde3/lib/libkdecore.so.4
#16 0x08083f0f in KTorrentApp::qt_invoke ()
#17 0xb6f983cd in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb72d20ce in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb6fb4497 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb6fbb823 in QSingleShotTimer::event ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0xb6f39647 in QApplication::internalNotify ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb6f3a4f9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0xb76831f2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#24 0xb6f2e663 in QEventLoop::activateTimers ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb6ee8bd0 in QEventLoop::processEvents ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb6f500e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb6f4ff76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0xb6f3900f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x080984f6 in main ()

what to do now? btw I am new to kde and cannot find the link to the program through the desktop
George
Moderator
Posts
5421
Karma
1

Fri Mar 16, 2007 6:44 pm
Get rid of older KT versions and reinstall the one you compiled.
kmornt
Registered Member
Posts
1
Karma
0

Thu Aug 09, 2007 10:01 am
George wrote:You need to look for the gmp-devel package, gmp is probably installed by default, however the header files are not, so you need to install the development package.


This worked. Thanks

Always the devels, I think.
rajesh_rammohan
Registered Member
Posts
1
Karma
0

Sun Aug 12, 2007 1:35 pm
COuld you please tell me how to install gmp-devel..??

Configure returns success after./Configure..

But make fails saying

In file included from ../../libktorrent/mse/encryptedauthenticate.h:25,
from peermanager.cpp:36:
../../libktorrent/mse/bigint.h:26:17: error: gmp.h: No such file or directory
../../libktorrent/mse/bigint.h:93: error: 'mpz_t' does not name a type
make[4]: *** [peermanager.lo] Error 1
make[4]: Leaving directory `/home/wins/Desktop/ktorrent-2.2.1/libktorrent/torrent'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/wins/Desktop/ktorrent-2.2.1/libktorrent'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/wins/Desktop/ktorrent-2.2.1/libktorrent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wins/Desktop/ktorrent-2.2.1'
make: *** [all] Error 2


How do I install gmp file??? Anyone to help me..your help is highly appreciated
George
Moderator
Posts
5421
Karma
1

Mon Aug 13, 2007 5:39 pm
rajesh_rammohan wrote:COuld you please tell me how to install gmp-devel..??

Configure returns success after./Configure..

But make fails saying

In file included from ../../libktorrent/mse/encryptedauthenticate.h:25,
from peermanager.cpp:36:
../../libktorrent/mse/bigint.h:26:17: error: gmp.h: No such file or directory
../../libktorrent/mse/bigint.h:93: error: 'mpz_t' does not name a type
make[4]: *** [peermanager.lo] Error 1
make[4]: Leaving directory `/home/wins/Desktop/ktorrent-2.2.1/libktorrent/torrent'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/wins/Desktop/ktorrent-2.2.1/libktorrent'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/wins/Desktop/ktorrent-2.2.1/libktorrent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wins/Desktop/ktorrent-2.2.1'
make: *** [all] Error 2


How do I install gmp file??? Anyone to help me..your help is highly appreciated


Use the package management system which comes which your distro. For example under Ubuntu you would do :

sudo apt-get install libgmp3-dev


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]