configure: error: Can't find libm. Please check config.log and if you can't solve the problem send the file to eric.espie@free.fr with the subject "torcs compilation problem" !!! ERROR: games-sports/torcs-1.2.2 failed. !!! Function egamesconf, Line 56, Exitcode 1 !!! egamesconf failed fuzz torcs-1.2.2 # tail -n 20 config.log configure:2233: checking for plib/ssg.h configure:2243: g++ -E conftest.C >/dev/null 2>conftest.out configure:2268: checking for sin in -lm configure:2290: g++ -o conftest -O2 -mcpu=7450 -maltivec -mabi=altivec -pipe -g3 -ggdb -Wall-Wstrict-prototypes -O3 -mieee-fp -L/usr/X11R6/lib conftest.C -lm 1>&5 cc1plus: error: invalid option `ieee-fp' cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ configure: failed program was: #line 2276 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sin(); int main() { sin() ; return 0; } Commenting out line 2054 of configure (ADDCFLAGS="$ADDCFLAGS -mieee-fp") fixes this problem. Note that I'm using gcc-3.4.1-r2 on ppc. Reproducible: Always Steps to Reproduce:
This dies because -mieee-fp isn't a valid flag for ppc. After this fix, the game still isn't playble here, I get segfaults when the race starts. John did you get the game to actually work?
I'm pretty sure that I did get this game to run, but I got rid of it because it wasn't much fun playing with the keyboard . . . probably would be fun with a steering wheel though. Sorry I can't provide any more useful information.
WONTFIX because it doesn't run on ppc after fixing. Maybe a future version.
Created attachment 83761 [details] emerge -epv torcs There are some "error" messages because my portage tree is too outdated (because I don't have internet in that computer :( ) Thanks alot