Problem at compiling of libtprl-0.1.2 I'm trying to install Thousand Parsec (gentoo). tpclient-pywx and daneel-ai worked. tpserver-cpp not.
Should be done: <code> #emerge -pvD tpserver-cpp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-libs/libtprl-0.1.2 310 kB [1] [ebuild N ] dev-scheme/guile-1.8.5-r1 USE="deprecated nls regex threads -debug -debug-freelist -debug-malloc -discouraged -elisp -emacs -networking" 3,842 kB [0] [ebuild N ] dev-games/libtpproto-cpp-0.1.9 USE="doc -gnutls" 454 kB [1] [ebuild N ] games-server/tpadmin-cpp-0.1.0 156 kB [1] [ebuild N ] games-server/tpserver-cpp-0.6.2 USE="tpadmin -avahi -gnutls -mysql" 1,036 kB [1] </code> At compiling of dev-libs/libtprl-0.1.2: <code> i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -c console.cpp -fPIC -DPIC -o .libs/console.o console.cpp: In member function 'void tprl::Console::finishedReadingLine(char*)': console.cpp:120: error: 'transform' is not a member of 'std' console.cpp:137: error: 'transform' is not a member of 'std' console.cpp:183: error: 'free' was not declared in this scope console.cpp: In member function 'char** tprl::Console::wordCompletion(const char*, int, int)': console.cpp:217: error: 'malloc' was not declared in this scope console.cpp:219: error: 'strncpy' was not declared in this scope console.cpp:232: error: 'transform' is not a member of 'std' console.cpp:257: error: 'malloc' was not declared in this scope console.cpp:259: error: 'strncpy' was not declared in this scope make[2]: *** [console.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/libtprl-0.1.2/work/libtprl-0.1.2/tprl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libtprl-0.1.2/work/libtprl-0.1.2' make: *** [all-recursive-am] Error 2 * * ERROR: dev-libs/libtprl-0.1.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 96: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed </code> Amazingly, <code> i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -c commandcategory.cpp -o commandcategory.o >/dev/null 2>&1 </code> worked, that also have a std::transform(...) call. I'm not a c++ programer but ask if you need some precision. -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com! _______________________________________________ tp-bugs mailing list [email protected] http://mail.thousandparsec.net/cgi-bin/mailman/listinfo/tp-bugs
