K
kimi
blub
hallo leute,
bin gerade dabei, torcs zu kompilieren. jedoch scheitere ich shcon an ./configure, da der prozess mit einer fehlermeldung abbricht.
hier die konsolenausgabe:
hier noch die config.log:
ich habe schon mit dem gedanken gespielt, das an die torcs-users mailing list zu schicken, aber wer weiß ob ich nich einfach noch zu unerfahren bin um den fehler zu entdecken... aber vielleicht kann das hier jemand? wäre nett...
Torcs zu kompilieren und nicht vorkompilierte pakete zu nehmen hat den sinn, dass das ubuntu-paket deutlich weniger features bereitstellt als der source.
viele grüße
kimi
bin gerade dabei, torcs zu kompilieren. jedoch scheitere ich shcon an ./configure, da der prozess mit einer fehlermeldung abbricht.
hier die konsolenausgabe:
Code:
seba@Sebastian:~/Downloads/torcs-1.3.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking for ar... ar
checking for ld... ld
checking whether byte ordering is bigendian... no
checking for X... libraries , headers
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Xatom.h usability... yes
checking X11/Xatom.h presence... yes
checking for X11/Xatom.h... yes
checking X11/keysym.h usability... yes
checking X11/keysym.h presence... yes
checking for X11/keysym.h... yes
checking plib/ssg.h usability... yes
checking plib/ssg.h presence... yes
checking for plib/ssg.h... yes
checking AL/al.h usability... yes
checking AL/al.h presence... yes
checking for AL/al.h... yes
checking AL/alut.h usability... yes
checking AL/alut.h presence... yes
checking for AL/alut.h... yes
checking for sin in -lm... yes
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 torcs-users@lists.sourceforge.net with the subject "torcs compilation problem"
seba@Sebastian:~/Downloads/torcs-1.3.0$
hier noch die config.log:
Code:
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 = Sebastian
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Tue Feb 12 07:42:25 UTC 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
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) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
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: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
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: expected '=', ',', ';', 'asm' or '__attribute__' 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.3.0"
| /* 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.3.0"
| /* 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.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
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: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
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.3.0"
| /* 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: /usr/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.3.0"
| #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.3.0"
| #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.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
| /* 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:4997: checking for sys/types.h
configure:5013: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5043: result: yes
configure:4997: checking for sys/stat.h
configure:5013: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5043: result: yes
configure:4997: checking for stdlib.h
configure:5013: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5043: result: yes
configure:4997: checking for string.h
configure:5013: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5043: result: yes
configure:4997: checking for memory.h
configure:5013: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5043: result: yes
configure:4997: checking for strings.h
configure:5013: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5043: result: yes
configure:4997: checking for inttypes.h
configure:5013: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5043: result: yes
configure:4997: checking for stdint.h
configure:5013: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5043: result: yes
configure:4997: checking for unistd.h
configure:5013: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5019: $? = 0
configure:5023: test -z
|| test ! -s conftest.err
configure:5026: $? = 0
configure:5029: test -s conftest.o
configure:5032: $? = 0
configure:5043: result: yes
configure:5065: checking GL/gl.h usability
configure:5077: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5083: $? = 0
configure:5087: test -z
|| test ! -s conftest.err
configure:5090: $? = 0
configure:5093: test -s conftest.o
configure:5096: $? = 0
configure:5106: result: yes
configure:5110: checking GL/gl.h presence
configure:5120: g++ -E conftest.cc
configure:5126: $? = 0
configure:5146: result: yes
configure:5181: checking for GL/gl.h
configure:5188: result: yes
configure:5211: checking GL/glut.h usability
configure:5223: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5229: $? = 0
configure:5233: test -z
|| test ! -s conftest.err
configure:5236: $? = 0
configure:5239: test -s conftest.o
configure:5242: $? = 0
configure:5252: result: yes
configure:5256: checking GL/glut.h presence
configure:5266: g++ -E conftest.cc
configure:5272: $? = 0
configure:5292: result: yes
configure:5327: checking for GL/glut.h
configure:5334: result: yes
configure:5357: checking GL/glx.h usability
configure:5369: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5375: $? = 0
configure:5379: test -z
|| test ! -s conftest.err
configure:5382: $? = 0
configure:5385: test -s conftest.o
configure:5388: $? = 0
configure:5398: result: yes
configure:5402: checking GL/glx.h presence
configure:5412: g++ -E conftest.cc
configure:5418: $? = 0
configure:5438: result: yes
configure:5473: checking for GL/glx.h
configure:5480: result: yes
configure:5503: checking X11/Xlib.h usability
configure:5515: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5521: $? = 0
configure:5525: test -z
|| test ! -s conftest.err
configure:5528: $? = 0
configure:5531: test -s conftest.o
configure:5534: $? = 0
configure:5544: result: yes
configure:5548: checking X11/Xlib.h presence
configure:5558: g++ -E conftest.cc
configure:5564: $? = 0
configure:5584: result: yes
configure:5619: checking for X11/Xlib.h
configure:5626: result: yes
configure:5649: checking X11/Xatom.h usability
configure:5661: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5667: $? = 0
configure:5671: test -z
|| test ! -s conftest.err
configure:5674: $? = 0
configure:5677: test -s conftest.o
configure:5680: $? = 0
configure:5690: result: yes
configure:5694: checking X11/Xatom.h presence
configure:5704: g++ -E conftest.cc
configure:5710: $? = 0
configure:5730: result: yes
configure:5765: checking for X11/Xatom.h
configure:5772: result: yes
configure:5795: checking X11/keysym.h usability
configure:5807: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5813: $? = 0
configure:5817: test -z
|| test ! -s conftest.err
configure:5820: $? = 0
configure:5823: test -s conftest.o
configure:5826: $? = 0
configure:5836: result: yes
configure:5840: checking X11/keysym.h presence
configure:5850: g++ -E conftest.cc
configure:5856: $? = 0
configure:5876: result: yes
configure:5911: checking for X11/keysym.h
configure:5918: result: yes
configure:5941: checking plib/ssg.h usability
configure:5953: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:5959: $? = 0
configure:5963: test -z
|| test ! -s conftest.err
configure:5966: $? = 0
configure:5969: test -s conftest.o
configure:5972: $? = 0
configure:5982: result: yes
configure:5986: checking plib/ssg.h presence
configure:5996: g++ -E conftest.cc
configure:6002: $? = 0
configure:6022: result: yes
configure:6057: checking for plib/ssg.h
configure:6064: result: yes
configure:6087: checking AL/al.h usability
configure:6099: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:6105: $? = 0
configure:6109: test -z
|| test ! -s conftest.err
configure:6112: $? = 0
configure:6115: test -s conftest.o
configure:6118: $? = 0
configure:6128: result: yes
configure:6132: checking AL/al.h presence
configure:6142: g++ -E conftest.cc
configure:6148: $? = 0
configure:6168: result: yes
configure:6203: checking for AL/al.h
configure:6210: result: yes
configure:6233: checking AL/alut.h usability
configure:6245: g++ -c -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc >&5
configure:6251: $? = 0
configure:6255: test -z
|| test ! -s conftest.err
configure:6258: $? = 0
configure:6261: test -s conftest.o
configure:6264: $? = 0
configure:6274: result: yes
configure:6278: checking AL/alut.h presence
configure:6288: g++ -E conftest.cc
configure:6294: $? = 0
configure:6314: result: yes
configure:6349: checking for AL/alut.h
configure:6356: result: yes
configure:6376: checking for sin in -lm
configure:6406: g++ -o conftest -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES conftest.cc -lm >&5
configure:6412: $? = 0
configure:6416: test -z
|| test ! -s conftest.err
configure:6419: $? = 0
configure:6422: test -s conftest
configure:6425: $? = 0
configure:6438: result: yes
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.3/../../../../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 torcs-users@lists.sourceforge.net 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_AL_alut_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_X11_XOpenDisplay=no
ac_cv_lib_m_sin=yes
ac_cv_objext=o
ac_cv_path_install='/usr/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/seba/Downloads/torcs-1.3.0/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/seba/Downloads/torcs-1.3.0/missing --run tar'
AR='ar'
AUTOCONF='${SHELL} /home/seba/Downloads/torcs-1.3.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/seba/Downloads/torcs-1.3.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/seba/Downloads/torcs-1.3.0/missing --run automake-1.9'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS='-g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=none'
CXXFLAGS='-g -O2 -Wall -fPIC -fno-strict-aliasing -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='-lm '
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/seba/Downloads/torcs-1.3.0/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/bash'
STRIP=''
TORCS_BASE=''
VERSION='1.3.0'
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/seba/Downloads/torcs-1.3.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
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_LIBM 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.3.0"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;
configure: exit 1
ich habe schon mit dem gedanken gespielt, das an die torcs-users mailing list zu schicken, aber wer weiß ob ich nich einfach noch zu unerfahren bin um den fehler zu entdecken... aber vielleicht kann das hier jemand? wäre nett...
Torcs zu kompilieren und nicht vorkompilierte pakete zu nehmen hat den sinn, dass das ubuntu-paket deutlich weniger features bereitstellt als der source.
viele grüße
kimi