|
From: Rasmus B. N. <r1...@cs...> - 2005-06-11 22:56:01
|
hi I am having trouble when I try torcs-1.2.3, it occur when I do a ./configure I get: checking for plib/ssg.h... yes checking for sin in -lm... no configure: error: Can't find libm. Please check config.log and if you can't solve the problem send the file to tor...@li... with the subject "torcs compilation problem" I am running a gentoo system, with kernel 2.6.10 how do I fix it, so i can compile torcs ? Regards. Rasmus B. Nielsen |
|
From: Eric A. <as...@ya...> - 2005-10-10 01:11:59
Attachments:
config.log
|
configure: error: Can't find libm. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |
|
From: Bernhard W. <be...@bl...> - 2005-10-11 21:32:44
|
Hi Eric This problem occurs mostly on gentoo, so I assume for now that this is not a TORCS problem, but a problem with your messed up systems. > configure:6261: g++ -o conftest -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -L/usr/X11R6/lib conftest.cc -lm >&5 Perhaps you need "--x-libraries=/usr/lib"? Where are you X libs installed? Please look into the TORCS FAQ for the link with the gentoo report (can apply anyway to your problem). I suspect this happens if you have an inconsistent system: - X11 and xorg messed up, have a look at the link in the FAQ, even if you do not use gentoo. - headers vs. installed libraries - self built compiler but not fully and correctly installed -> it is not that trivial - Multiple versions of the same library installed, wrong one gets picked up. Bye, thank you for the report, Bernhard. > configure: error: Can't find libm. > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > > ------------------------------------------------------------------------ > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by configure, which was > generated by GNU Autoconf 2.59. Invocation command line was > > $ ./configure > > ## --------- ## > ## Platform. ## > ## --------- ## > > hostname = ubuntu > uname -m = i686 > uname -r = 2.6.10-5-386 > uname -s = Linux > uname -v = #1 Fri Sep 23 14:13:55 UTC 2005 > > /usr/bin/uname -p = unknown > /bin/uname -X = unknown > > /bin/arch = i686 > /usr/bin/arch -k = unknown > /usr/convex/getsysinfo = unknown > hostinfo = unknown > /bin/machine = unknown > /usr/bin/oslevel = unknown > /bin/universe = unknown > > PATH: /usr/local/bin > PATH: /usr/local/sbin > PATH: /sbin > PATH: /usr/sbin > PATH: /bin > PATH: /usr/bin > PATH: /usr/bin/X11 > PATH: /usr/games > > > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:1368: checking for a BSD-compatible install > configure:1423: result: /usr/bin/install -c > configure:1434: checking whether build environment is sane > configure:1477: result: yes > configure:1542: checking for gawk > configure:1571: result: no > configure:1542: checking for mawk > configure:1558: found /usr/bin/mawk > configure:1568: result: mawk > configure:1578: checking whether make sets $(MAKE) > configure:1598: result: yes > configure:1813: checking for gcc > configure:1829: found /usr/bin/gcc > configure:1839: result: gcc > configure:2083: checking for C compiler version > configure:2086: gcc --version </dev/null >&5 > gcc (GCC) 3.3.5 (Debian 1:3.3.5-8ubuntu2) > Copyright (C) 2003 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > configure:2089: $? = 0 > configure:2091: gcc -v </dev/null >&5 > Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs > Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux > Thread model: posix > gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2) > configure:2094: $? = 0 > configure:2096: gcc -V </dev/null >&5 > gcc: `-V' option must have argument > configure:2099: $? = 1 > configure:2122: checking for C compiler default output file name > configure:2125: gcc conftest.c >&5 > configure:2128: $? = 0 > configure:2174: result: a.out > configure:2179: checking whether the C compiler works > configure:2185: ./a.out > configure:2188: $? = 0 > configure:2205: result: yes > configure:2212: checking whether we are cross compiling > configure:2214: result: no > configure:2217: checking for suffix of executables > configure:2219: gcc -o conftest conftest.c >&5 > configure:2222: $? = 0 > configure:2247: result: > configure:2253: checking for suffix of object files > configure:2274: gcc -c conftest.c >&5 > configure:2277: $? = 0 > configure:2299: result: o > configure:2303: checking whether we are using the GNU C compiler > configure:2327: gcc -c conftest.c >&5 > configure:2333: $? = 0 > configure:2337: test -z > || test ! -s conftest.err > configure:2340: $? = 0 > configure:2343: test -s conftest.o > configure:2346: $? = 0 > configure:2359: result: yes > configure:2365: checking whether gcc accepts -g > configure:2386: gcc -c -g conftest.c >&5 > configure:2392: $? = 0 > configure:2396: test -z > || test ! -s conftest.err > configure:2399: $? = 0 > configure:2402: test -s conftest.o > configure:2405: $? = 0 > configure:2416: result: yes > configure:2433: checking for gcc option to accept ANSI C > configure:2503: gcc -c -g -O2 conftest.c >&5 > configure:2509: $? = 0 > configure:2513: test -z > || test ! -s conftest.err > configure:2516: $? = 0 > configure:2519: test -s conftest.o > configure:2522: $? = 0 > configure:2540: result: none needed > configure:2558: gcc -c -g -O2 conftest.c >&5 > conftest.c:2: error: syntax error before "me" > configure:2564: $? = 1 > configure: failed program was: > | #ifndef __cplusplus > | choke me > | #endif > configure:2708: checking for style of include used by make > configure:2736: result: GNU > configure:2764: checking dependency style of gcc > configure:2854: result: none > configure:2876: checking how to run the C preprocessor > configure:2911: gcc -E conftest.c > configure:2917: $? = 0 > configure:2949: gcc -E conftest.c > conftest.c:11:28: ac_nonexistent.h: No such file or directory > configure:2955: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | #include <ac_nonexistent.h> > configure:2994: result: gcc -E > configure:3018: gcc -E conftest.c > configure:3024: $? = 0 > configure:3056: gcc -E conftest.c > conftest.c:11:28: ac_nonexistent.h: No such file or directory > configure:3062: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | #include <ac_nonexistent.h> > configure:3165: checking for g++ > configure:3194: result: no > configure:3165: checking for c++ > configure:3194: result: no > configure:3165: checking for gpp > configure:3194: result: no > configure:3165: checking for aCC > configure:3194: result: no > configure:3165: checking for CC > configure:3194: result: no > configure:3165: checking for cxx > configure:3194: result: no > configure:3165: checking for cc++ > configure:3194: result: no > configure:3165: checking for cl > configure:3194: result: no > configure:3165: checking for FCC > configure:3194: result: no > configure:3165: checking for KCC > configure:3194: result: no > configure:3165: checking for RCC > configure:3194: result: no > configure:3165: checking for xlC_r > configure:3194: result: no > configure:3165: checking for xlC > configure:3194: result: no > configure:3207: checking for C++ compiler version > configure:3210: g++ --version </dev/null >&5 > ./configure: line 3211: g++: command not found > configure:3213: $? = 127 > configure:3215: g++ -v </dev/null >&5 > ./configure: line 3216: g++: command not found > configure:3218: $? = 127 > configure:3220: g++ -V </dev/null >&5 > ./configure: line 3221: g++: command not found > configure:3223: $? = 127 > configure:3226: checking whether we are using the GNU C++ compiler > configure:3250: g++ -c conftest.cc >&5 > ./configure: line 3251: g++: command not found > configure:3256: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | > | int > | main () > | { > | #ifndef __GNUC__ > | choke me > | #endif > | > | ; > | return 0; > | } > configure:3282: result: no > configure:3288: checking whether g++ accepts -g > configure:3309: g++ -c -g conftest.cc >&5 > ./configure: line 3310: g++: command not found > configure:3315: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:3339: result: no > configure:3381: g++ -c conftest.cc >&5 > ./configure: line 3382: g++: command not found > configure:3387: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | > | #include <stdlib.h> > | int > | main () > | { > | exit (42); > | ; > | return 0; > | } > configure:3381: g++ -c conftest.cc >&5 > ./configure: line 3382: g++: command not found > configure:3387: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | extern "C" void std::exit (int) throw (); using std::exit; > | #include <stdlib.h> > | int > | main () > | { > | exit (42); > | ; > | return 0; > | } > configure:3381: g++ -c conftest.cc >&5 > ./configure: line 3382: g++: command not found > configure:3387: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | extern "C" void std::exit (int); using std::exit; > | #include <stdlib.h> > | int > | main () > | { > | exit (42); > | ; > | return 0; > | } > configure:3381: g++ -c conftest.cc >&5 > ./configure: line 3382: g++: command not found > configure:3387: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | extern "C" void exit (int) throw (); > | #include <stdlib.h> > | int > | main () > | { > | exit (42); > | ; > | return 0; > | } > configure:3381: g++ -c conftest.cc >&5 > ./configure: line 3382: g++: command not found > configure:3387: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | extern "C" void exit (int); > | #include <stdlib.h> > | int > | main () > | { > | exit (42); > | ; > | return 0; > | } > configure:3381: g++ -c conftest.cc >&5 > ./configure: line 3382: g++: command not found > configure:3387: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | void exit (int); > | #include <stdlib.h> > | int > | main () > | { > | exit (42); > | ; > | return 0; > | } > configure:3470: checking dependency style of g++ > configure:3560: result: none > configure:3618: checking for ranlib > configure:3634: found /usr/bin/ranlib > configure:3645: result: ranlib > configure:3670: checking for a BSD-compatible install > configure:3725: result: /usr/bin/install -c > configure:3743: checking how to run the C++ preprocessor > configure:3774: g++ -E conftest.cc > ./configure: line 3775: g++: command not found > configure:3780: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3774: g++ -E conftest.cc > ./configure: line 3775: g++: command not found > configure:3780: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3774: /lib/cpp conftest.cc > configure:3780: $? = 0 > configure:3812: /lib/cpp conftest.cc > conftest.cc:14:28: ac_nonexistent.h: No such file or directory > configure:3818: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | /* end confdefs.h. */ > | #include <ac_nonexistent.h> > configure:3857: result: /lib/cpp > configure:3881: /lib/cpp conftest.cc > configure:3887: $? = 0 > configure:3919: /lib/cpp conftest.cc > conftest.cc:14:28: ac_nonexistent.h: No such file or directory > configure:3925: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | /* end confdefs.h. */ > | #include <ac_nonexistent.h> > configure:3969: checking for egrep > configure:3979: result: grep -E > configure:3984: checking for ANSI C header files > configure:4009: g++ -c conftest.cc >&5 > ./configure: line 4010: g++: command not found > configure:4015: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | /* end confdefs.h. */ > | #include <stdlib.h> > | #include <stdarg.h> > | #include <string.h> > | #include <float.h> > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:4140: result: no > configure:4151: checking for an ANSI C-conforming const > configure:4218: g++ -c conftest.cc >&5 > ./configure: line 4219: g++: command not found > configure:4224: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | /* end confdefs.h. */ > | > | int > | main () > | { > | /* FIXME: Include the comments suggested by Paul. */ > | #ifndef __cplusplus > | /* Ultrix mips cc rejects this. */ > | typedef int charset[2]; > | const charset x; > | /* SunOS 4.1.1 cc rejects this. */ > | char const *const *ccp; > | char **p; > | /* NEC SVR4.0.2 mips cc rejects this. */ > | struct point {int x, y;}; > | static struct point const zero = {0,0}; > | /* AIX XL C 1.02.0.0 rejects this. > | It does not let you subtract one const X* pointer from another in > | an arm of an if-expression whose if-part is not a constant > | expression */ > | const char *g = "string"; > | ccp = &g + (g ? g-g : 0); > | /* HPUX 7.0 cc rejects these. */ > | ++ccp; > | p = (char**) ccp; > | ccp = (char const *const *) p; > | { /* SCO 3.2v4 cc rejects this. */ > | char *t; > | char const *s = 0 ? (char *) 0 : (char const *) 0; > | > | *t++ = 0; > | } > | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ > | int x[] = {25, 17}; > | const int *foo = &x[0]; > | ++foo; > | } > | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ > | typedef const int *iptr; > | iptr p = 0; > | ++p; > | } > | { /* AIX XL C 1.02.0.0 rejects this saying > | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ > | struct s { int j; const int *ap[3]; }; > | struct s *b; b->j = 5; > | } > | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ > | const int foo = 10; > | } > | #endif > | > | ; > | return 0; > | } > configure:4248: result: no > configure:4258: checking for inline > configure:4279: g++ -c conftest.cc >&5 > ./configure: line 4280: g++: command not found > configure:4285: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | /* end confdefs.h. */ > | #ifndef __cplusplus > | typedef int foo_t; > | static inline foo_t static_foo () {return 0; } > | inline foo_t foo () {return 0; } > | #endif > | > configure:4279: g++ -c conftest.cc >&5 > ./configure: line 4280: g++: command not found > configure:4285: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | /* end confdefs.h. */ > | #ifndef __cplusplus > | typedef int foo_t; > | static __inline__ foo_t static_foo () {return 0; } > | __inline__ foo_t foo () {return 0; } > | #endif > | > configure:4279: g++ -c conftest.cc >&5 > ./configure: line 4280: g++: command not found > configure:4285: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | /* end confdefs.h. */ > | #ifndef __cplusplus > | typedef int foo_t; > | static __inline foo_t static_foo () {return 0; } > | __inline foo_t foo () {return 0; } > | #endif > | > configure:4310: result: no > configure:4329: checking whether time.h and sys/time.h may both be included > configure:4354: g++ -c conftest.cc >&5 > ./configure: line 4355: g++: command not found > configure:4360: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | #ifndef __cplusplus > | #define inline > | #endif > | /* end confdefs.h. */ > | #include <sys/types.h> > | #include <sys/time.h> > | #include <time.h> > | > | int > | main () > | { > | if ((struct tm *) 0) > | return 0; > | ; > | return 0; > | } > configure:4384: result: no > configure:4397: checking for ar > configure:4424: result: ar > configure:4433: checking for ld > configure:4460: result: ld > configure:4468: checking whether byte ordering is bigendian > configure:4495: g++ -c conftest.cc >&5 > ./configure: line 4496: g++: command not found > configure:4501: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | #ifndef __cplusplus > | #define inline > | #endif > | /* end confdefs.h. */ > | #include <sys/types.h> > | #include <sys/param.h> > | > | int > | main () > | { > | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN > | bogus endian macros > | #endif > | > | ; > | return 0; > | } > configure:4655: g++ -o conftest conftest.cc >&5 > ./configure: line 4656: g++: command not found > configure:4658: $? = 127 > configure: program exited with status 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | #ifndef __cplusplus > | #define inline > | #endif > | /* end confdefs.h. */ > | int > | main () > | { > | /* Are we little or big endian? From Harbison&Steele. */ > | union > | { > | long l; > | char c[sizeof (long)]; > | } u; > | u.l = 1; > | exit (u.c[sizeof (long) - 1] == 1); > | } > configure:4679: result: yes > configure:4699: checking for X > configure:4929: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include > configure:4998: checking for sys/types.h > configure:5014: g++ -c -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > ./configure: line 5015: g++: command not found > configure:5020: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | #ifndef __cplusplus > | #define inline > | #endif > | #define WORDS_BIGENDIAN 1 > | /* end confdefs.h. */ > | #include <stdio.h> > | #if HAVE_SYS_TYPES_H > | # include <sys/types.h> > | #endif > | #if HAVE_SYS_STAT_H > | # include <sys/stat.h> > | #endif > | #if STDC_HEADERS > | # include <stdlib.h> > | # include <stddef.h> > | #else > | # if HAVE_STDLIB_H > | # include <stdlib.h> > | # endif > | #endif > | #if HAVE_STRING_H > | # if !STDC_HEADERS && HAVE_MEMORY_H > | # include <memory.h> > | # endif > | # include <string.h> > | #endif > | #if HAVE_STRINGS_H > | # include <strings.h> > | #endif > | #if HAVE_INTTYPES_H > | # include <inttypes.h> > | #else > | # if HAVE_STDINT_H > | # include <stdint.h> > | # endif > | #endif > | #if HAVE_UNISTD_H > | # include <unistd.h> > | #endif > | > | #include <sys/types.h> > configure:5044: result: no > configure:4998: checking for sys/stat.h > configure:5014: g++ -c -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > ./configure: line 5015: g++: command not found > configure:5020: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | #ifndef __cplusplus > | #define inline > | #endif > | #define WORDS_BIGENDIAN 1 > | /* end confdefs.h. */ > | #include <stdio.h> > | #if HAVE_SYS_TYPES_H > | # include <sys/types.h> > | #endif > | #if HAVE_SYS_STAT_H > | # include <sys/stat.h> > | #endif > | #if STDC_HEADERS > | # include <stdlib.h> > | # include <stddef.h> > | #else > | # if HAVE_STDLIB_H > | # include <stdlib.h> > | # endif > | #endif > | #if HAVE_STRING_H > | # if !STDC_HEADERS && HAVE_MEMORY_H > | # include <memory.h> > | # endif > | # include <string.h> > | #endif > | #if HAVE_STRINGS_H > | # include <strings.h> > | #endif > | #if HAVE_INTTYPES_H > | # include <inttypes.h> > | #else > | # if HAVE_STDINT_H > | # include <stdint.h> > | # endif > | #endif > | #if HAVE_UNISTD_H > | # include <unistd.h> > | #endif > | > | #include <sys/stat.h> > configure:5044: result: no > configure:4998: checking for stdlib.h > configure:5014: g++ -c -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > ./configure: line 5015: g++: command not found > configure:5020: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | #ifndef __cplusplus > | #define inline > | #endif > | #define WORDS_BIGENDIAN 1 > | /* end confdefs.h. */ > | #include <stdio.h> > | #if HAVE_SYS_TYPES_H > | # include <sys/types.h> > | #endif > | #if HAVE_SYS_STAT_H > | # include <sys/stat.h> > | #endif > | #if STDC_HEADERS > | # include <stdlib.h> > | # include <stddef.h> > | #else > | # if HAVE_STDLIB_H > | # include <stdlib.h> > | # endif > | #endif > | #if HAVE_STRING_H > | # if !STDC_HEADERS && HAVE_MEMORY_H > | # include <memory.h> > | # endif > | # include <string.h> > | #endif > | #if HAVE_STRINGS_H > | # include <strings.h> > | #endif > | #if HAVE_INTTYPES_H > | # include <inttypes.h> > | #else > | # if HAVE_STDINT_H > | # include <stdint.h> > | # endif > | #endif > | #if HAVE_UNISTD_H > | # include <unistd.h> > | #endif > | > | #include <stdlib.h> > configure:5044: result: no > configure:4998: checking for string.h > configure:5014: g++ -c -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > ./configure: line 5015: g++: command not found > configure:5020: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | #ifndef __cplusplus > | #define inline > | #endif > | #define WORDS_BIGENDIAN 1 > | /* end confdefs.h. */ > | #include <stdio.h> > | #if HAVE_SYS_TYPES_H > | # include <sys/types.h> > | #endif > | #if HAVE_SYS_STAT_H > | # include <sys/stat.h> > | #endif > | #if STDC_HEADERS > | # include <stdlib.h> > | # include <stddef.h> > | #else > | # if HAVE_STDLIB_H > | # include <stdlib.h> > | # endif > | #endif > | #if HAVE_STRING_H > | # if !STDC_HEADERS && HAVE_MEMORY_H > | # include <memory.h> > | # endif > | # include <string.h> > | #endif > | #if HAVE_STRINGS_H > | # include <strings.h> > | #endif > | #if HAVE_INTTYPES_H > | # include <inttypes.h> > | #else > | # if HAVE_STDINT_H > | # include <stdint.h> > | # endif > | #endif > | #if HAVE_UNISTD_H > | # include <unistd.h> > | #endif > | > | #include <string.h> > configure:5044: result: no > configure:4998: checking for memory.h > configure:5014: g++ -c -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > ./configure: line 5015: g++: command not found > configure:5020: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | void exit (int); > | #endif > | #define const > | #ifndef __cplusplus > | #define inline > | #endif > | #define WORDS_BIGENDIAN 1 > | /* end confdefs.h. */ > | #include <stdio.h> > | #if HAVE_SYS_TYPES_H > | # include <sys/types.h> > | #endif > | #if HAVE_SYS_STAT_H > | # include <sys/stat.h> > | #endif > | #if STDC_HEADERS > | # include <stdlib.h> > | # include <stddef.h> > | #else > | # if HAVE_STDLIB_H > | # include <stdlib.h> > | # endif > | #endif > | #if HAVE_STRING_H > | # if !STDC_HEADERS && HAVE_MEMORY_H > | # include <memory.h> > | # endif > | # include <string.h> > | #endif > | #if HAVE_STRINGS_H > | # include <strings.h> > | #endif > | #if HAVE_INTTYPES_H > | # include <inttypes.h> > | #else > | # if HAVE_STDINT_H > | # include <stdint.h> > | # endif > | #endif > | #if HAVE_UNISTD_H > | # include <unistd.h> > | #endif > | > | #include <memory.h> > configure:5044: result: no > configure:4998: checking for strings.h > configure:5014: g++ -c -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > ./configure: line 5015: g++: command not found > configure:5020: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKA... [truncated message content] |
|
From: Jacobo R. <jac...@gm...> - 2006-01-04 18:26:47
Attachments:
config.log
|
I have installed libxrandr2 version 1:1.0.2-2 and libxrandr-dev version 1:1.0.2-2 from my distro repositories and still doesn't work |
|
From: Mart K. <mar...@hc...> - 2006-01-08 20:37:40
|
Hi Jacobo Reveles,
After reading the config.log file, I think the problem is that ./configure
didn't found libXrender.
You can search manually for libXrender ('locate libXrender' or 'su - -c
"updatedb" && locate libXrender' (the last one takes some time)) . If it
doesn't exists, you can try to install libXrender.
If it does exists, the problem can be the search path. It searches for that
file in /usr/X11R6/lib. A couple of libs are found in that directory, but it
could be that libXrender is installed in another directory. If that is the
case, you can try to set the LDFLAGS enviroment variable. Lets assume that
libXrender is in /usr/lib. The LDFLAGS environement variabele should then be
set to " -L/usr/lib ". This can be achieved by the command:
LDFLAGS=" -L/usr/lib " ./configure
Regards,
Mart
|
|
From: Andrej P. <aa...@qu...> - 2006-03-27 21:32:12
Attachments:
smime.p7s
config.log
|
Hello, this is the log I obtained. Andrej |
|
From: Bernhard W. <be...@bl...> - 2006-03-27 21:47:34
|
Hi Andrej This is a problem of your distribution/installation, read http://torcs.sourceforge.net/sections.php?op=viewarticle&artid=30#c4_2_8 Bye, Bernhard. > Hello, > > this is the log I obtained. > > Andrej > > > ------------------------------------------------------------------------ > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by configure, which was > generated by GNU Autoconf 2.59. Invocation command line was > > $ ./configure --prefix=/usr > > ## --------- ## > ## Platform. ## > ## --------- ## > > hostname = xandrej > uname -m = i686 > uname -r = 2.6.16-AP > uname -s = Linux > uname -v = #0 PREEMPT Tue Mar 21 00:51:56 CET 2006 > > /usr/bin/uname -p = unknown > /bin/uname -X = unknown > > /bin/arch = i686 > /usr/bin/arch -k = unknown > /usr/convex/getsysinfo = unknown > hostinfo = unknown > /bin/machine = unknown > /usr/bin/oslevel = unknown > /bin/universe = unknown > > PATH: /bin > PATH: /usr/bin > PATH: /sbin > PATH: /usr/sbin > PATH: /usr/X11R6/bin > PATH: /opt/bin > PATH: /opt/eclipse > PATH: /opt/gnome/bin > PATH: /opt/java/jre/bin > PATH: /opt/java/bin > PATH: /opt/kde/bin > PATH: /opt/mozilla/bin > PATH: /opt/qt/bin > > > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:1368: checking for a BSD-compatible install > configure:1423: result: /bin/install -c > configure:1434: checking whether build environment is sane > configure:1477: result: yes > configure:1542: checking for gawk > configure:1571: result: no > configure:1542: checking for mawk > configure:1558: found /bin/mawk > configure:1568: result: mawk > configure:1578: checking whether make sets $(MAKE) > configure:1598: result: yes > configure:1813: checking for gcc > configure:1829: found /usr/bin/gcc > configure:1839: result: gcc > configure:2083: checking for C compiler version > configure:2086: gcc --version </dev/null >&5 > gcc (GCC) 4.0.3 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > configure:2089: $? = 0 > configure:2091: gcc -v </dev/null >&5 > Using built-in specs. > Target: i686-pc-linux-gnu > Configured with: ../gcc-4.0.3/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit > Thread model: posix > gcc version 4.0.3 > configure:2094: $? = 0 > configure:2096: gcc -V </dev/null >&5 > gcc: '-V' option must have argument > configure:2099: $? = 1 > configure:2122: checking for C compiler default output file name > configure:2125: gcc conftest.c >&5 > configure:2128: $? = 0 > configure:2174: result: a.out > configure:2179: checking whether the C compiler works > configure:2185: ./a.out > configure:2188: $? = 0 > configure:2205: result: yes > configure:2212: checking whether we are cross compiling > configure:2214: result: no > configure:2217: checking for suffix of executables > configure:2219: gcc -o conftest conftest.c >&5 > configure:2222: $? = 0 > configure:2247: result: > configure:2253: checking for suffix of object files > configure:2274: gcc -c conftest.c >&5 > configure:2277: $? = 0 > configure:2299: result: o > configure:2303: checking whether we are using the GNU C compiler > configure:2327: gcc -c conftest.c >&5 > configure:2333: $? = 0 > configure:2337: test -z > || test ! -s conftest.err > configure:2340: $? = 0 > configure:2343: test -s conftest.o > configure:2346: $? = 0 > configure:2359: result: yes > configure:2365: checking whether gcc accepts -g > configure:2386: gcc -c -g conftest.c >&5 > configure:2392: $? = 0 > configure:2396: test -z > || test ! -s conftest.err > configure:2399: $? = 0 > configure:2402: test -s conftest.o > configure:2405: $? = 0 > configure:2416: result: yes > configure:2433: checking for gcc option to accept ANSI C > configure:2503: gcc -c -g -O2 conftest.c >&5 > configure:2509: $? = 0 > configure:2513: test -z > || test ! -s conftest.err > configure:2516: $? = 0 > configure:2519: test -s conftest.o > configure:2522: $? = 0 > configure:2540: result: none needed > configure:2558: gcc -c -g -O2 conftest.c >&5 > conftest.c:2: error: syntax error before 'me' > configure:2564: $? = 1 > configure: failed program was: > | #ifndef __cplusplus > | choke me > | #endif > configure:2708: checking for style of include used by make > configure:2736: result: GNU > configure:2764: checking dependency style of gcc > configure:2854: result: none > configure:2876: checking how to run the C preprocessor > configure:2911: gcc -E conftest.c > configure:2917: $? = 0 > configure:2949: gcc -E conftest.c > conftest.c:11:28: error: ac_nonexistent.h: No such file or directory > configure:2955: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | #include <ac_nonexistent.h> > configure:2994: result: gcc -E > configure:3018: gcc -E conftest.c > configure:3024: $? = 0 > configure:3056: gcc -E conftest.c > conftest.c:11:28: error: ac_nonexistent.h: No such file or directory > configure:3062: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | #include <ac_nonexistent.h> > configure:3165: checking for g++ > configure:3181: found /usr/bin/g++ > configure:3191: result: g++ > configure:3207: checking for C++ compiler version > configure:3210: g++ --version </dev/null >&5 > g++ (GCC) 4.0.3 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > configure:3213: $? = 0 > configure:3215: g++ -v </dev/null >&5 > Using built-in specs. > Target: i686-pc-linux-gnu > Configured with: ../gcc-4.0.3/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit > Thread model: posix > gcc version 4.0.3 > configure:3218: $? = 0 > configure:3220: g++ -V </dev/null >&5 > g++: '-V' option must have argument > configure:3223: $? = 1 > configure:3226: checking whether we are using the GNU C++ compiler > configure:3250: g++ -c conftest.cc >&5 > configure:3256: $? = 0 > configure:3260: test -z > || test ! -s conftest.err > configure:3263: $? = 0 > configure:3266: test -s conftest.o > configure:3269: $? = 0 > configure:3282: result: yes > configure:3288: checking whether g++ accepts -g > configure:3309: g++ -c -g conftest.cc >&5 > configure:3315: $? = 0 > configure:3319: test -z > || test ! -s conftest.err > configure:3322: $? = 0 > configure:3325: test -s conftest.o > configure:3328: $? = 0 > configure:3339: result: yes > configure:3381: g++ -c -g -O2 conftest.cc >&5 > configure:3387: $? = 0 > configure:3391: test -z > || test ! -s conftest.err > configure:3394: $? = 0 > configure:3397: test -s conftest.o > configure:3400: $? = 0 > configure:3426: g++ -c -g -O2 conftest.cc >&5 > conftest.cc: In function 'int main()': > conftest.cc:15: error: 'exit' was not declared in this scope > configure:3432: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | /* end confdefs.h. */ > | > | int > | main () > | { > | exit (42); > | ; > | return 0; > | } > configure:3381: g++ -c -g -O2 conftest.cc >&5 > configure:3387: $? = 0 > configure:3391: test -z > || test ! -s conftest.err > configure:3394: $? = 0 > configure:3397: test -s conftest.o > configure:3400: $? = 0 > configure:3426: g++ -c -g -O2 conftest.cc >&5 > configure:3432: $? = 0 > configure:3436: test -z > || test ! -s conftest.err > configure:3439: $? = 0 > configure:3442: test -s conftest.o > configure:3445: $? = 0 > configure:3470: checking dependency style of g++ > configure:3560: result: none > configure:3618: checking for ranlib > configure:3634: found /usr/bin/ranlib > configure:3645: result: ranlib > configure:3670: checking for a BSD-compatible install > configure:3725: result: /bin/install -c > configure:3743: checking how to run the C++ preprocessor > configure:3774: g++ -E conftest.cc > configure:3780: $? = 0 > configure:3812: g++ -E conftest.cc > conftest.cc:14:28: error: ac_nonexistent.h: No such file or directory > configure:3818: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | extern "C" void std::exit (int) throw (); using std::exit; > | #endif > | /* end confdefs.h. */ > | #include <ac_nonexistent.h> > configure:3857: result: g++ -E > configure:3881: g++ -E conftest.cc > configure:3887: $? = 0 > configure:3919: g++ -E conftest.cc > conftest.cc:14:28: error: ac_nonexistent.h: No such file or directory > configure:3925: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | extern "C" void std::exit (int) throw (); using std::exit; > | #endif > | /* end confdefs.h. */ > | #include <ac_nonexistent.h> > configure:3969: checking for egrep > configure:3979: result: grep -E > configure:3984: checking for ANSI C header files > configure:4009: g++ -c -g -O2 conftest.cc >&5 > configure:4015: $? = 0 > configure:4019: test -z > || test ! -s conftest.err > configure:4022: $? = 0 > configure:4025: test -s conftest.o > configure:4028: $? = 0 > configure:4117: g++ -o conftest -g -O2 conftest.cc >&5 > configure:4120: $? = 0 > configure:4122: ./conftest > configure:4125: $? = 0 > configure:4140: result: yes > configure:4151: checking for an ANSI C-conforming const > configure:4218: g++ -c -g -O2 conftest.cc >&5 > configure:4224: $? = 0 > configure:4228: test -z > || test ! -s conftest.err > configure:4231: $? = 0 > configure:4234: test -s conftest.o > configure:4237: $? = 0 > configure:4248: result: yes > configure:4258: checking for inline > configure:4279: g++ -c -g -O2 conftest.cc >&5 > configure:4285: $? = 0 > configure:4289: test -z > || test ! -s conftest.err > configure:4292: $? = 0 > configure:4295: test -s conftest.o > configure:4298: $? = 0 > configure:4310: result: inline > configure:4329: checking whether time.h and sys/time.h may both be included > configure:4354: g++ -c -g -O2 conftest.cc >&5 > configure:4360: $? = 0 > configure:4364: test -z > || test ! -s conftest.err > configure:4367: $? = 0 > configure:4370: test -s conftest.o > configure:4373: $? = 0 > configure:4384: result: yes > configure:4397: checking for ar > configure:4424: result: ar > configure:4433: checking for ld > configure:4460: result: ld > configure:4468: checking whether byte ordering is bigendian > configure:4495: g++ -c -g -O2 conftest.cc >&5 > configure:4501: $? = 0 > configure:4505: test -z > || test ! -s conftest.err > configure:4508: $? = 0 > configure:4511: test -s conftest.o > configure:4514: $? = 0 > configure:4538: g++ -c -g -O2 conftest.cc >&5 > conftest.cc: In function 'int main()': > conftest.cc:23: error: 'big' was not declared in this scope > conftest.cc:23: error: expected `;' before 'endian' > configure:4544: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | extern "C" void std::exit (int) throw (); using std::exit; > | #endif > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | /* end confdefs.h. */ > | #include <sys/types.h> > | #include <sys/param.h> > | > | int > | main () > | { > | #if BYTE_ORDER != BIG_ENDIAN > | not big endian > | #endif > | > | ; > | return 0; > | } > configure:4679: result: no > configure:4699: checking for X > configure:4804: g++ -E conftest.cc > configure:4810: $? = 0 > configure:4860: g++ -o conftest -g -O2 conftest.cc -lXt >&5 > configure:4866: $? = 0 > configure:4870: test -z > || test ! -s conftest.err > configure:4873: $? = 0 > configure:4876: test -s conftest > configure:4879: $? = 0 > configure:4929: result: libraries , headers > configure:4998: checking for sys/types.h > configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5020: $? = 0 > configure:5024: test -z > || test ! -s conftest.err > configure:5027: $? = 0 > configure:5030: test -s conftest.o > configure:5033: $? = 0 > configure:5044: result: yes > configure:4998: checking for sys/stat.h > configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5020: $? = 0 > configure:5024: test -z > || test ! -s conftest.err > configure:5027: $? = 0 > configure:5030: test -s conftest.o > configure:5033: $? = 0 > configure:5044: result: yes > configure:4998: checking for stdlib.h > configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5020: $? = 0 > configure:5024: test -z > || test ! -s conftest.err > configure:5027: $? = 0 > configure:5030: test -s conftest.o > configure:5033: $? = 0 > configure:5044: result: yes > configure:4998: checking for string.h > configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5020: $? = 0 > configure:5024: test -z > || test ! -s conftest.err > configure:5027: $? = 0 > configure:5030: test -s conftest.o > configure:5033: $? = 0 > configure:5044: result: yes > configure:4998: checking for memory.h > configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5020: $? = 0 > configure:5024: test -z > || test ! -s conftest.err > configure:5027: $? = 0 > configure:5030: test -s conftest.o > configure:5033: $? = 0 > configure:5044: result: yes > configure:4998: checking for strings.h > configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5020: $? = 0 > configure:5024: test -z > || test ! -s conftest.err > configure:5027: $? = 0 > configure:5030: test -s conftest.o > configure:5033: $? = 0 > configure:5044: result: yes > configure:4998: checking for inttypes.h > configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5020: $? = 0 > configure:5024: test -z > || test ! -s conftest.err > configure:5027: $? = 0 > configure:5030: test -s conftest.o > configure:5033: $? = 0 > configure:5044: result: yes > configure:4998: checking for stdint.h > configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5020: $? = 0 > configure:5024: test -z > || test ! -s conftest.err > configure:5027: $? = 0 > configure:5030: test -s conftest.o > configure:5033: $? = 0 > configure:5044: result: yes > configure:4998: checking for unistd.h > configure:5014: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5020: $? = 0 > configure:5024: test -z > || test ! -s conftest.err > configure:5027: $? = 0 > configure:5030: test -s conftest.o > configure:5033: $? = 0 > configure:5044: result: yes > configure:5066: checking GL/gl.h usability > configure:5078: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5084: $? = 0 > configure:5088: test -z > || test ! -s conftest.err > configure:5091: $? = 0 > configure:5094: test -s conftest.o > configure:5097: $? = 0 > configure:5107: result: yes > configure:5111: checking GL/gl.h presence > configure:5121: g++ -E conftest.cc > configure:5127: $? = 0 > configure:5147: result: yes > configure:5182: checking for GL/gl.h > configure:5189: result: yes > configure:5212: checking GL/glut.h usability > configure:5224: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5230: $? = 0 > configure:5234: test -z > || test ! -s conftest.err > configure:5237: $? = 0 > configure:5240: test -s conftest.o > configure:5243: $? = 0 > configure:5253: result: yes > configure:5257: checking GL/glut.h presence > configure:5267: g++ -E conftest.cc > configure:5273: $? = 0 > configure:5293: result: yes > configure:5328: checking for GL/glut.h > configure:5335: result: yes > configure:5358: checking GL/glx.h usability > configure:5370: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5376: $? = 0 > configure:5380: test -z > || test ! -s conftest.err > configure:5383: $? = 0 > configure:5386: test -s conftest.o > configure:5389: $? = 0 > configure:5399: result: yes > configure:5403: checking GL/glx.h presence > configure:5413: g++ -E conftest.cc > configure:5419: $? = 0 > configure:5439: result: yes > configure:5474: checking for GL/glx.h > configure:5481: result: yes > configure:5504: checking X11/Xlib.h usability > configure:5516: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5522: $? = 0 > configure:5526: test -z > || test ! -s conftest.err > configure:5529: $? = 0 > configure:5532: test -s conftest.o > configure:5535: $? = 0 > configure:5545: result: yes > configure:5549: checking X11/Xlib.h presence > configure:5559: g++ -E conftest.cc > configure:5565: $? = 0 > configure:5585: result: yes > configure:5620: checking for X11/Xlib.h > configure:5627: result: yes > configure:5650: checking X11/Xatom.h usability > configure:5662: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5668: $? = 0 > configure:5672: test -z > || test ! -s conftest.err > configure:5675: $? = 0 > configure:5678: test -s conftest.o > configure:5681: $? = 0 > configure:5691: result: yes > configure:5695: checking X11/Xatom.h presence > configure:5705: g++ -E conftest.cc > configure:5711: $? = 0 > configure:5731: result: yes > configure:5766: checking for X11/Xatom.h > configure:5773: result: yes > configure:5796: checking X11/keysym.h usability > configure:5808: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5814: $? = 0 > configure:5818: test -z > || test ! -s conftest.err > configure:5821: $? = 0 > configure:5824: test -s conftest.o > configure:5827: $? = 0 > configure:5837: result: yes > configure:5841: checking X11/keysym.h presence > configure:5851: g++ -E conftest.cc > configure:5857: $? = 0 > configure:5877: result: yes > configure:5912: checking for X11/keysym.h > configure:5919: result: yes > configure:5942: checking plib/ssg.h usability > configure:5954: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:5960: $? = 0 > configure:5964: test -z > || test ! -s conftest.err > configure:5967: $? = 0 > configure:5970: test -s conftest.o > configure:5973: $? = 0 > configure:5983: result: yes > configure:5987: checking plib/ssg.h presence > configure:5997: g++ -E conftest.cc > configure:6003: $? = 0 > configure:6023: result: yes > configure:6058: checking for plib/ssg.h > configure:6065: result: yes > configure:6088: checking AL/al.h usability > configure:6100: g++ -c -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5 > configure:6106: $? = 0 > configure:6110: test -z > || test ! -s conftest.err > configure:6113: $? = 0 > configure:6116: test -s conftest.o > configure:6119: $? = 0 > configure:6129: result: yes > configure:6133: checking AL/al.h presence > configure:6143: g++ -E conftest.cc > configure:6149: $? = 0 > configure:6169: result: yes > configure:6204: checking for AL/al.h > configure:6211: result: yes > configure:6231: checking for sin in -lm > configure:6261: g++ -o conftest -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -L conftest.cc -lm >&5 > /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../crt1.o: In function `_start': > : undefined reference to `main' > collect2: ld returned 1 exit status > configure:6267: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "torcs" > | #define VERSION "1.2.4" > | #ifdef __cplusplus > | extern "C" void std::exit (int) throw (); using std::exit; > | #endif > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | /* end 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; > | } > configure:6293: result: no > configure:6303: error: Can't find libm. Please check config.log and if you can't solve the problem send the file to tor...@li... with the subject "torcs compilation problem" > > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## > > ac_cv_c_bigendian=no > ac_cv_c_compiler_gnu=yes > ac_cv_c_const=yes > ac_cv_c_inline=inline > ac_cv_cxx_compiler_gnu=yes > ac_cv_env_CC_set= > ac_cv_env_CC_value= > ac_cv_env_CFLAGS_set= > ac_cv_env_CFLAGS_value= > ac_cv_env_CPPFLAGS_set= > ac_cv_env_CPPFLAGS_value= > ac_cv_env_CPP_set= > ac_cv_env_CPP_value= > ac_cv_env_CXXCPP_set= > ac_cv_env_CXXCPP_value= > ac_cv_env_CXXFLAGS_set= > ac_cv_env_CXXFLAGS_value= > ac_cv_env_CXX_set= > ac_cv_env_CXX_value= > ac_cv_env_LDFLAGS_set= > ac_cv_env_LDFLAGS_value= > ac_cv_env_build_alias_set= > ac_cv_env_build_alias_value= > ac_cv_env_host_alias_set= > ac_cv_env_host_alias_value= > ac_cv_env_target_alias_set= > ac_cv_env_target_alias_value= > ac_cv_exeext= > ac_cv_have_x='have_x=yes ac_x_includes= ac_x_libraries=' > ac_cv_header_AL_al_h=yes > ac_cv_header_GL_gl_h=yes > ac_cv_header_GL_glut_h=yes > ac_cv_header_GL_glx_h=yes > ac_cv_header_X11_Xatom_h=yes > ac_cv_header_X11_Xlib_h=yes > ac_cv_header_X11_keysym_h=yes > ac_cv_header_inttypes_h=yes > ac_cv_header_memory_h=yes > ac_cv_header_plib_ssg_h=yes > ac_cv_header_stdc=yes > ac_cv_header_stdint_h=yes > ac_cv_header_stdlib_h=yes > ac_cv_header_string_h=yes > ac_cv_header_strings_h=yes > ac_cv_header_sys_stat_h=yes > ac_cv_header_sys_types_h=yes > ac_cv_header_time=yes > ac_cv_header_unistd_h=yes > ac_cv_lib_m_sin=no > ac_cv_objext=o > ac_cv_path_install='/bin/install -c' > ac_cv_prog_AR=ar > ac_cv_prog_AWK=mawk > ac_cv_prog_CPP='gcc -E' > ac_cv_prog_CXXCPP='g++ -E' > ac_cv_prog_LD=ld > ac_cv_prog_ac_ct_CC=gcc > ac_cv_prog_ac_ct_CXX=g++ > ac_cv_prog_ac_ct_RANLIB=ranlib > ac_cv_prog_cc_g=yes > ac_cv_prog_cc_stdc= > ac_cv_prog_cxx_g=yes > ac_cv_prog_egrep='grep -E' > ac_cv_prog_make_make_set=yes > am_cv_CC_dependencies_compiler_type=none > am_cv_CXX_dependencies_compiler_type=none > > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > > ACLOCAL='${SHELL} /home/inst/torcs-1.2.4/missing --run aclocal-1.9' > AMDEPBACKSLASH='\' > AMDEP_FALSE='#' > AMDEP_TRUE='' > AMTAR='${SHELL} /home/inst/torcs-1.2.4/missing --run tar' > AR='ar' > AUTOCONF='${SHELL} /home/inst/torcs-1.2.4/missing --run autoconf' > AUTOHEADER='${SHELL} /home/inst/torcs-1.2.4/missing --run autoheader' > AUTOMAKE='${SHELL} /home/inst/torcs-1.2.4/missing --run automake-1.9' > AWK='mawk' > CC='gcc' > CCDEPMODE='depmode=none' > CFLAGS='-g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES' > CPP='gcc -E' > CPPFLAGS='' > CXX='g++' > CXXCPP='g++ -E' > CXXDEPMODE='depmode=none' > CXXFLAGS='-g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES' > CYGPATH_W='echo' > DEFS='' > DEPDIR='.deps' > ECHO_C='' > ECHO_N='-n' > ECHO_T='' > EGREP='grep -E' > EXEEXT='' > INSTALL_DATA='${INSTALL} -m 644' > INSTALL_PROGRAM='${INSTALL}' > INSTALL_SCRIPT='${INSTALL}' > INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' > LD='ld' > LDFLAGS=' -L' > LIBOBJS='' > LIBS='' > LTLIBOBJS='' > MAKEINFO='${SHELL} /home/inst/torcs-1.2.4/missing --run makeinfo' > OBJEXT='o' > PACKAGE='torcs' > PACKAGE_BUGREPORT='' > PACKAGE_NAME='' > PACKAGE_STRING='' > PACKAGE_TARNAME='' > PACKAGE_VERSION='' > PATH_SEPARATOR=':' > RANLIB='ranlib' > SET_MAKE='' > SHELL='/bin/sh' > STRIP='' > TORCS_BASE='' > VERSION='1.2.4' > ac_ct_CC='gcc' > ac_ct_CXX='g++' > ac_ct_RANLIB='ranlib' > ac_ct_STRIP='' > am__fastdepCC_FALSE='' > am__fastdepCC_TRUE='#' > am__fastdepCXX_FALSE='' > am__fastdepCXX_TRUE='#' > am__include='include' > am__leading_dot='.' > am__quote='' > am__tar='${AMTAR} chof - "$$tardir"' > am__untar='${AMTAR} xf -' > bindir='${exec_prefix}/bin' > build_alias='' > datadir='${prefix}/share' > exec_prefix='NONE' > host_alias='' > includedir='${prefix}/include' > infodir='${prefix}/info' > install_sh='/home/inst/torcs-1.2.4/install-sh' > libdir='${exec_prefix}/lib' > libexecdir='${exec_prefix}/libexec' > localstatedir='${prefix}/var' > mandir='${prefix}/man' > mkdir_p='mkdir -p --' > oldincludedir='/usr/include' > prefix='/usr' > program_transform_name='s,x,x,' > sbindir='${exec_prefix}/sbin' > sharedstatedir='${prefix}/com' > sysconfdir='${prefix}/etc' > target_alias='' > > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## > > #define HAVE_INTTYPES_H 1 > #define HAVE_MEMORY_H 1 > #define HAVE_STDINT_H 1 > #define HAVE_STDLIB_H 1 > #define HAVE_STRINGS_H 1 > #define HAVE_STRING_H 1 > #define HAVE_SYS_STAT_H 1 > #define HAVE_SYS_TYPES_H 1 > #define HAVE_UNISTD_H 1 > #define PACKAGE "torcs" > #define PACKAGE_BUGREPORT "" > #define PACKAGE_NAME "" > #define PACKAGE_STRING "" > #define PACKAGE_TARNAME "" > #define PACKAGE_VERSION "" > #define STDC_HEADERS 1 > #define TIME_WITH_SYS_TIME 1 > #define VERSION "1.2.4" > #endif > #ifdef __cplusplus > extern "C" void std::exit (int) throw (); using std::exit; > > configure: exit 1 -- Visit my homepage http://www.berniw.org Official TORCS racing: The TORCS Racing Board, http://www.berniw.org/trb |
|
From: Luya T. <luy...@th...> - 2006-04-28 18:14:42
|
Greetings, I attempted to compile the cvs version of torcs on Fedora Core 5 X86_64 but the compiler generate errors even though all the libraries are installed. Luya Tshimbalanga -- Fedora News Contributor http://www.fedoranews.org |
|
From: Mart K. <ma...@ke...> - 2006-04-30 09:06:22
Attachments:
compile_gcc41.patch
|
Hi Luya Tshimbalanga (and others), On Friday 28 April 2006 20:14, Luya Tshimbalanga wrote: > Greetings, > > I attempted to compile the cvs version of torcs on Fedora Core 5 X86_64 > but the compiler generate errors even though all the libraries are > installed. > > > Luya Tshimbalanga Although you didn't mention the error message you got and the gcc-version you use, I maybe have an idea what the problem can be. According to the information on the Fedora website, it seems to use gcc 4.1.0. There seems to be a compile issue with this compiler (there also is a bug of it in the torcs bug system). The attached patch can resolve this issue (at least it let torcs compile on my system). Of course, this is just a guess of what the problem might be without seeing the error message. Regards, Mart Kelder |
|
From: Bernhard W. <be...@bl...> - 2006-05-01 21:41:11
|
Hi Mart > bug system). The attached patch can resolve this issue (at least it let torcs > compile on my system). Applied in the CVS, thanks for the patch, Bye, Bernhard. -- Visit my homepage http://www.berniw.org Official TORCS racing: The TORCS Racing Board, http://www.berniw.org/trb |
|
From: Philipp <ph1...@ya...> - 2006-06-10 05:23:17
|
Hello, I'm getting this error: (...) configure: error: Can't find libm. (...) What package am I missing? ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
|
From: Melvin W. <me...@ho...> - 2006-10-10 08:12:24
|
Hi, I am facing some problems when I try to compile torcs on my laptop which is running on Mandriva 2007. Attached is my config log file. Regards Mel |
|
From: Bernhard W. <be...@bl...> - 2006-10-10 17:26:54
|
Hi Melvin > I am facing some problems when I try to compile torcs on my laptop which is Which version? If you try 1.2.4 read this: http://sourceforge.net/tracker/index.php?func=detail&aid=1458349&group_id=3777&atid=103777 > running on Mandriva 2007. Attached is my config log file. I cannot see any attachment:-( Another error might be that you have a newer version of OpenAL than required/tested (IIRC they split OpenAL from ALut). If this does not help please send the error report with attachment;-) Bye, Bernhard. -- Visit my homepage http://www.berniw.org Official TORCS racing: The TORCS Racing Board, http://www.berniw.org/trb |
|
From: Mika <mi...@ev...> - 2006-11-11 09:29:32
|
I just downloaded the Torcs 1.30 sourcecode and tried to compile it on Debian Etch. When I run ./configure it fails with error: checking for XOpenDisplay in -lX11... no configure: error: Can't find libX11. Please check config.log and if you can't solve the problem send the file to tor...@li... with the subject "torcs compilation problem" I have installed packages libx11-6 and libx11-dev. If I try to locate libX11 I get this: $ locate libX11 /usr/lib/libX11.a /usr/lib/libX11.so /usr/lib/libX11.so.6 /usr/lib/libX11.so.6.2.0 System details: $ uname -a Linux debian 2.6.17-2-k7 #1 SMP Wed Sep 13 17:18:46 UTC 2006 i686 GNU/Linux Debian Etch has Xorg 7.1 |
|
From: James S. <jam...@bl...> - 2007-01-31 17:26:33
|
I have had TORCS running before, which I installed with apt-get. I wanted to make a robot, so I uninstalled the deb and am now compiling from source (as per Berniw's tutorial). It says there is a problem with libX11, but I do have it installed and libX11.so is available. ./configure said: checking for XOpenDisplay in -lX11... no configure: error: Can't find libX11. Please check config.log and if you can't solve the problem send the file to tor...@li... with the subject "torcs compilation problem" -- "...[Linux's] capacity to talk via any medium except smoke signals." (By Dr. Greg Wettstein, Roger Maris Cancer Center) ---------------------------------------------------------------------- Long Term Care Insurance Quotes Get fast, free long term care insurance quotes online now. http://tags.bluebottle.com/fc/MhtYWUibyS72KDkP62W2DznfEfpF2cIvgMtxs/ |
|
From: James S. <jam...@bl...> - 2007-01-31 18:50:39
|
I sent this once already, but I don't think it got there. I installed TORCS using apt-get, and it worked fine. I now wish to develop robot(s), so I am installing it from source, as berniw's tutorial says to. I typed ./configure and it says: checking for XOpenDisplay in -lX11... no configure: error: Can't find libX11. Please check config.log and if you can't solve the problem send the file to tor...@li... with the subject "torcs compilation problem" So I go away to install libx11-dev, but it appears that I've already got it. What shall I do? -- In most countries selling harmful things like drugs is punishable. Then howcome people can sell Microsoft software and go unpunished? (By ha...@ro..., Hasse Skrifvars) ---------------------------------------------------------------------- Free Debt Consolidation Quote FCCC offers free counseling & debt consolidation quote. No setup fees! http://tags.bluebottle.com/fc/MhtYWUi27phnVuLtdPGZ0JO5KQLJ4qqdknQMa/ |
|
From: Bernhard W. <be...@bl...> - 2007-01-31 19:02:22
|
Hi James Did you already try /configure --x-libraries=/usr/lib/ ./configure --x-libraries=/usr/lib/ --x-includes=/usr/include/X11/ If this does not help send the config.log file. Bye, hope this helps, Bernhard. > I sent this once already, but I don't think it got there. > > I installed TORCS using apt-get, and it worked fine. I now wish to develop > robot(s), so I am installing it from source, as berniw's tutorial says to. I > typed ./configure and it says: > > checking for XOpenDisplay in -lX11... no > configure: error: Can't find libX11. Please check config.log and if you can't > solve the problem send the file to tor...@li... with the > subject "torcs compilation problem" > > So I go away to install libx11-dev, but it appears that I've already got it. > What shall I do? -- Visit my homepage http://www.berniw.org Official TORCS racing: The TORCS Racing Board, http://www.berniw.org/trb |
|
From: Frank A. <Fra...@br...> - 2007-04-13 10:49:44
|
Running Kubuntu 7.04 and torcs-1.3.0:
If I run ./configure direct, I get the following error in config.log:
---
configure:6457: checking for XOpenDisplay in -lX11
configure:6487: g++ -o
conftest -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -L
conftest.cc -lX11 -lm >&5
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crt1.o: In function
`_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
configure:6493: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.3.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIBM 1
| /* end 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 XOpenDisplay ();
| int
| main ()
| {
| XOpenDisplay ();
| ;
| return 0;
| }
configure:6519: result: no
configure:6529: error: Can't find libX11. Please check config.log and if you
can't solve the problem send the file to tor...@li...
with the subject "torcs c
ompilation problem"
---
Both package libx11-dev and xlibs-dev are installed, so the headers should be
available.
Any feedback would be appreciated!
Best regards,
Frank Aune
|
|
From: Fabio P. <sup...@ho...> - 2007-08-03 19:22:57
|
hi, I use Ubuntu 7.04 and I find an error during the installation of torcs. when I run to the terminal this command line: $ ./configure # --prefix="target dir", --enable-debug or --disable-xrandr might be of interest I have this error: checking for XOpenDisplay in -lX11... no configure: error: Can't find libX11. Please check config.log and if you can't solve the problem send the file to tor...@li... with the subject "torcs compilation problem" But I find the solution, change the command line: $ ./configure # --prefix="target dir", --enable-debug or --disable-xrandr might be of interest into this command line: # ./configure --x-libraries=/to/libs --x-includes=/to/includes The game install and run correctly. I find this solution in this page: http://www.linuxforums.org/forum/linux-applications/57759-gtk-wont-compile-cant-find-xopendisplay.html I think some people have find this problem and my idea is to put this solution in the page of : TORCS 1.3.0 Download & Installation. Thank you for your attention and sorry for possible english error. bye _________________________________________________________________ Scarica GRATIS 30 emoticon per Windows Live Messenger 8.1 http://www.emoticons-livemessenger.com/pages/msnit/index.htm |
|
From: Peter B. <das...@gm...> - 2007-08-03 22:13:25
|
On 03/08/07, Fabio Pirola <sup...@ho...> wrote: > hi, > I use Ubuntu 7.04 and I find an error during the installation of torcs. > when I run to the terminal this command line: > $ ./configure # --prefix="target dir", --enable-debug or > --disable-xrandr might be of interest > > I have this error: > > checking for XOpenDisplay in -lX11... no > configure: error: Can't find libX11. Please check config.log and if you > can't solve the problem send the file to tor...@li... > with the subject "torcs compilation problem" > > But I find the solution, change the command line: > $ ./configure # --prefix="target dir", --enable-debug or > --disable-xrandr might be of interest > into this command line: > # ./configure --x-libraries=/to/libs --x-includes=/to/includes > > The game install and run correctly. > I find this solution in this page: > http://www.linuxforums.org/forum/linux-applications/57759-gtk-wont-compile-cant-find-xopendisplay.html > > I think some people have find this problem and my idea is to put this > solution in the page of : TORCS 1.3.0 Download & Installation. The problem is that the configure assumes a variable is set and performs an invalid change if it isn't. It should not assume it is set. Setting it solves it but fixing the script to handle the condition properly solves it in a more usable way. This has passed here at least once before and I've run into it on Slackware too. |
|
From: Paul T. <pl...@in...> - 2007-10-10 22:30:15
Attachments:
config.log
|
I am trying to compile Torcs from source to run under PCLinuxOS 2007. I have tried all the suggested variations of options and keep falling over on the following error: quote..... checking for XOpenDisplay in -lX11... no configure: error: Can't find libX11. Please check config.log and if you can't solve the problem send the file to tor...@li... with the subject "torcs compilation problem" ......endquote The config.log file is attached. I have libX11 installed. It is in /usr/lib where you would expect, so I have no idea what this is about? I really love the game but I have moved to this new distro and no-one seems to have developed an rpm for it yet. FYI, as requested. Paul. |
|
From: Bernhard W. <be...@bl...> - 2007-10-11 00:50:58
|
Hi Paul > checking for XOpenDisplay in -lX11... no > configure: error: Can't find libX11. Please check config.log and if you > can't solve the problem send the file to > tor...@li... with the subject "torcs compilation > problem" If the configure script does not find the X11 library or include files you can pass the location as parameter to the configure script, example: ./configure --x-libraries=/usr/lib/ ./configure --x-libraries=/usr/lib/ --x-includes=/usr/include/X11/ Bye, Bernhard. -- Visit my homepage http://www.berniw.org Official TORCS racing: The TORCS Racing Board, http://www.berniw.org/trb |
|
From: Paul T. <pl...@in...> - 2007-10-11 05:03:42
|
On Thu, 11 Oct 2007 02:50:51 +0200 Bernhard Wymann <be...@bl...> wrote: > Hi Paul >=20 > > checking for XOpenDisplay in -lX11... no > > configure: error: Can't find libX11. Please check config.log and if > > you can't solve the problem send the file to > > tor...@li... with the subject "torcs > > compilation problem" >=20 > If the configure script does not find the X11 library or include > files you can pass the location as parameter to the configure script, > example: ./configure --x-libraries=3D/usr/lib/ > ./configure --x-libraries=3D/usr/lib/ --x-includes=3D/usr/include/X11/ >=20 > Bye, Bernhard. >=20 Hi Bernhard, I added your suggested parameters and it got me past the original error only to fall over on the following: checking for XRenderSetSubpixelOrder in -lXrender... no configure: error: Can't find libXrandr. Please check config.log and if you can't solve the problem send the file to tor...@li... with the subject "torcs compilation problem" I had a look and (same as before) I have the required library I think: $ locate libXrandr /usr/lib/libXrandr.so.2 /usr/lib/libXrandr.so.2.0.0 =46rom the README I tried the configure again with the --disable-xrandr and it still falls over; but disabling is different to finding in the 1st place. It has to find it to disable it I guess. I get a bit lost with all this required library stuff, I can follow it when given instructions but I don't do enough to know how to track down problems too well. I only try it when I really want an app. I have a .deb file from a Ubuntu distro. I might see if I can "alien" convert it to an rpm that will work. As well, pclinuxos is based on Mandriva so I might be able to find an rpm there that will work. Finding a 1.3 version that is accessible would be nice. I have no idea why the distro makers left out such a popular game - I have asked them about that. Thanks for the guidance. Any further thoughts most welcome. Paul. |
|
From: Stephan K. <ske...@xs...> - 2007-10-11 05:38:43
|
Hi Paul, Xrender is probably is missing. I added this to the bug tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=1674545&group_id=3777&atid=103777 Stephan On Thu, 2007-10-11 at 15:03 +1000, Paul Trevethan wrote: > On Thu, 11 Oct 2007 02:50:51 +0200 > Bernhard Wymann <be...@bl...> wrote: > > > Hi Paul > > > > > checking for XOpenDisplay in -lX11... no > > > configure: error: Can't find libX11. Please check config.log and if > > > you can't solve the problem send the file to > > > tor...@li... with the subject "torcs > > > compilation problem" > > > > If the configure script does not find the X11 library or include > > files you can pass the location as parameter to the configure script, > > example: ./configure --x-libraries=/usr/lib/ > > ./configure --x-libraries=/usr/lib/ --x-includes=/usr/include/X11/ > > > > Bye, Bernhard. > > > > Hi Bernhard, > > I added your suggested parameters and it got me past the original error > only to fall over on the following: > > checking for XRenderSetSubpixelOrder in -lXrender... no > configure: error: Can't find libXrandr. Please check config.log and if > you can't solve the problem send the file to > tor...@li... with the subject "torcs compilation > problem" > > I had a look and (same as before) I have the required library I think: > > $ locate libXrandr > /usr/lib/libXrandr.so.2 > /usr/lib/libXrandr.so.2.0.0 > > >From the README I tried the configure again with the --disable-xrandr > and it still falls over; but disabling is different to finding in the > 1st place. It has to find it to disable it I guess. > > I get a bit lost with all this required library stuff, I can follow it > when given instructions but I don't do enough to know how to track down > problems too well. I only try it when I really want an app. > > I have a .deb file from a Ubuntu distro. I might see if I can "alien" > convert it to an rpm that will work. As well, pclinuxos is based on > Mandriva so I might be able to find an rpm there that will work. > Finding a 1.3 version that is accessible would be nice. > > I have no idea why the distro makers left out such a popular game - I > have asked them about that. > > Thanks for the guidance. Any further thoughts most welcome. > > Paul. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Torcs-users mailing list > Tor...@li... > https://lists.sourceforge.net/lists/listinfo/torcs-users > |
|
From: Paul T. <pl...@in...> - 2007-10-11 12:52:35
|
On Thu, 11 Oct 2007 07:38:24 +0200 Stephan Kempkes <ske...@xs...> wrote: > On Thu, 2007-10-11 at 15:03 +1000, Paul Trevethan wrote: > > On Thu, 11 Oct 2007 02:50:51 +0200 > > Bernhard Wymann <be...@bl...> wrote: > > > > > Hi Paul > > > > > > > checking for XOpenDisplay in -lX11... no > > > > configure: error: Can't find libX11. Please check config.log > > > > and if you can't solve the problem send the file to > > > > tor...@li... with the subject "torcs > > > > compilation problem" > > > > > > If the configure script does not find the X11 library or include > > > files you can pass the location as parameter to the configure > > > script, example: ./configure --x-libraries=/usr/lib/ > > > ./configure --x-libraries=/usr/lib/ --x-includes=/usr/include/X11/ > > > > > > Bye, Bernhard. > > > > > > > Hi Bernhard, > > > > I added your suggested parameters and it got me past the original > > error only to fall over on the following: > > > > checking for XRenderSetSubpixelOrder in -lXrender... no > > configure: error: Can't find libXrandr. Please check config.log and > > if you can't solve the problem send the file to > > tor...@li... with the subject "torcs > > compilation problem" > > > > I had a look and (same as before) I have the required library I > > think: > > > > $ locate libXrandr > > /usr/lib/libXrandr.so.2 > > /usr/lib/libXrandr.so.2.0.0 > > > > >From the README I tried the configure again with the > > >--disable-xrandr > > and it still falls over; but disabling is different to finding in > > the 1st place. It has to find it to disable it I guess. > > > > I get a bit lost with all this required library stuff, I can follow > > it when given instructions but I don't do enough to know how to > > track down problems too well. I only try it when I really want an > > app. > > > > I have a .deb file from a Ubuntu distro. I might see if I can > > "alien" convert it to an rpm that will work. As well, pclinuxos is > > based on Mandriva so I might be able to find an rpm there that will > > work. Finding a 1.3 version that is accessible would be nice. > > > > I have no idea why the distro makers left out such a popular game - > > I have asked them about that. > > > > Thanks for the guidance. Any further thoughts most welcome. > > > > Paul. > Hi Paul, > > Xrender is probably is missing. I added this to the bug tracker: > http://sourceforge.net/tracker/index.php?func=detail&aid=1674545&group_id=3777&atid=103777 > > Stephan Sorry Stephan, I moved your quote to the bottom ( I never top post). Anyway, thanks for that. I did just check and I have the libXrender files and they are installed in /usr/lib with all the others it seems to be falling over on. In any case, I realised that my ISP also mirrors Mandriva so I had a look in the new 2008 repo for that and found their rpms for Torcs 1.3. I downloaded and installed them and they seem to be working ok. At least I can get my daily fix of speeding :) By rights I guess I should try to get the src rpms and rebuild them to suit this system; but that can wait if these work out ok. I still have no idea why such a great popular game is not in the repos? Cheers, Paul. |