![]() Registered Member ![]()
|
here is what I get after ./configure:
dave@24-116-141-138:~/ktorrent/ktorrent-2.1.2> make WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!! unsermake all compiling /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp g++ -DHAVE_CONFIG_H -I./libktorrent/mse -I/home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse -I. -I/home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/.. -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -fPIC -DPIC -c /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp -o ./libktorrent/mse/.libs/bigint.o -Wp,-MD,./libktorrent/mse/.deps/bigint.TUlo In file included from /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:26: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.h:26:17: error: gmp.h: No such file or directory /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.h:93: error: ‘mpz_t’ does not name a type /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(bt::Uint32)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:36: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:36: error: ‘mpz_init2’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(const QString&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:41: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:41: error: ‘mpz_init2’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:42: error: ‘mpz_set_str’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In copy constructor ‘mse::BigInt::BigInt(const mse::BigInt&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:47: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:47: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:47: error: ‘mpz_set’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In destructor ‘virtual mse::BigInt::~BigInt()’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:52: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:52: error: ‘mpz_clear’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In member function ‘mse::BigInt& mse::BigInt::operator=(const mse::BigInt&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:58: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:58: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:58: error: ‘mpz_set’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::powerMod(const mse::BigInt&, const mse::BigInt&, const mse::BigInt&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘mpz_powm’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In member function ‘bt::Uint32 mse::BigInt::toBuffer(bt::Uint8*, bt::Uint32) const’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:89: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:89: error: ‘mpz_export’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: At global scope: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:86: warning: unused parameter ‘max_size’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::fromBuffer(const bt::Uint8*, bt::Uint32)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:96: error: ‘class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:96: error: ‘mpz_import’ was not declared in this scope Error creating ./libktorrent/mse/bigint.lo. Exit status 1. make: *** [all] Error 1 dave@24-116-141-138:~/ktorrent/ktorrent-2.1.2> dave@24-116-141-138:~/ktorrent/ktorrent-2.1.2> make WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!! unsermake all compiling /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp g++ -DHAVE_CONFIG_H -I./libktorrent/mse -I/home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse -I. -I/home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/.. -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -fPIC -DPIC -c /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp -o ./libktorrent/mse/.libs/bigint.o -Wp,-MD,./libktorrent/mse/.deps/bigint.TUlo In file included from /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:26: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.h:26:17: error: gmp.h: No such file or directory /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.h:93: error: ‘mpz_t’ does not name a type /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(bt::Uint32)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:36: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:36: error: ‘mpz_init2’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(const QString&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:41: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:41: error: ‘mpz_init2’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:42: error: ‘mpz_set_str’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In copy constructor ‘mse::BigInt::BigInt(const mse::BigInt&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:47: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:47: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:47: error: ‘mpz_set’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In destructor ‘virtual mse::BigInt::~BigInt()’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:52: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:52: error: ‘mpz_clear’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In member function ‘mse::BigInt& mse::BigInt::operator=(const mse::BigInt&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:58: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:58: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:58: error: ‘mpz_set’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::powerMod(const mse::BigInt&, const mse::BigInt&, const mse::BigInt&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘mpz_powm’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In member function ‘bt::Uint32 mse::BigInt::toBuffer(bt::Uint8*, bt::Uint32) const’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:89: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:89: error: ‘mpz_export’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: At global scope: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:86: warning: unused parameter ‘max_size’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::fromBuffer(const bt::Uint8*, bt::Uint32)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:96: error: ‘class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:96: error: ‘mpz_import’ was not declared in this scope Error creating ./libktorrent/mse/bigint.lo. Exit status 1. make: *** [all] Error 1 dave@24-116-141-138:~/ktorrent/ktorrent-2.1.2> after unsermake all: dave@24-116-141-138:~/ktorrent/ktorrent-2.1.2> unsermake all compiling /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp g++ -DHAVE_CONFIG_H -I./libktorrent/mse -I/home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse -I. -I/home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/.. -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -fPIC -DPIC -c /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp -o ./libktorrent/mse/.libs/bigint.o -Wp,-MD,./libktorrent/mse/.deps/bigint.TUlo In file included from /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:26: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.h:26:17: error: gmp.h: No such file or directory /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.h:93: error: ‘mpz_t’ does not name a type /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(bt::Uint32)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:36: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:36: error: ‘mpz_init2’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(const QString&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:41: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:41: error: ‘mpz_init2’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:42: error: ‘mpz_set_str’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In copy constructor ‘mse::BigInt::BigInt(const mse::BigInt&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:47: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:47: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:47: error: ‘mpz_set’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In destructor ‘virtual mse::BigInt::~BigInt()’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:52: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:52: error: ‘mpz_clear’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In member function ‘mse::BigInt& mse::BigInt::operator=(const mse::BigInt&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:58: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:58: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:58: error: ‘mpz_set’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::powerMod(const mse::BigInt&, const mse::BigInt&, const mse::BigInt&)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:65: error: ‘mpz_powm’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In member function ‘bt::Uint32 mse::BigInt::toBuffer(bt::Uint8*, bt::Uint32) const’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:89: error: ‘val’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:89: error: ‘mpz_export’ was not declared in this scope /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: At global scope: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:86: warning: unused parameter ‘max_size’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::fromBuffer(const bt::Uint8*, bt::Uint32)’: /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:96: error: ‘class mse::BigInt’ has no member named ‘val’ /home/dave/ktorrent/ktorrent-2.1.2/libktorrent/mse/bigint.cpp:96: error: ‘mpz_import’ was not declared in this scope Error creating ./libktorrent/mse/bigint.lo. Exit status 1. dave@24-116-141-138:~/ktorrent/ktorrent-2.1.2> what do I do now? I am running Suse Linux 10.2 |
![]() Registered Member ![]()
|
see http://ktorrent.org/forum/viewtopic.php?t=1306&highlight=gmp George's answer
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
SuSE is an rpm based distro.
This means you can use rpm, YaST or smart to install prepackaged binaries. You have to set up the repositories. Search opensuse.org for info. Debian and Ubuntu use apt and a different packaging system. My experience with SuSE is that they are often ahead a release or two with gcc and this can affect the build of software packages. If you really want to build then Gentoo is better set up for that task than SuSE. I think RH and Mandriva are rpm based too - Mandriva uses urpmi but I have no clue about RedHat. Having looked at the error messages you're getting then I'd say gmp.h is missing, which subsequently produces errors about undefined types. Regards L. |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar