Liebe Community!
Aus irgendeinem Grund kann ich nichts mehr kompilieren. Es ist egal welche Software ich uebersetzen will, deswegen als Beispiel der aktuelle Stable PHP Stand 5.3.8, kompiliert mit
configure --disable-all
Die Kompilerumgebung ist die Standard OpenSuse 11.3:
user@linuxhost:~/software/php-5.3.8> rpm -q -a|grep gcc
gcc45-4.5.0_20100604-1.12.i586
libgcc45-4.5.0_20100604-1.12.i586
libstlport_gcc4-4.6.2-6.1.i586
gcc45-locale-4.5.0_20100604-1.12.i586
make-3.81-135.1.i586
Den kompletten Output von configure kann ich ja nicht posten, zu lang. Es gibt dort mit --disable-all aber keine Fehler, hier mal der Rest um libttool:
Configuring libtool
checking build system type… i686-pc-linux-gnu
checking for ld used by gcc… (cached) /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld… (cached) yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files… (cached) -r
checking for BSD-compatible nm… (cached) /usr/bin/nm -B
checking how to recognize dependent libraries… (cached) pass_all
checking for object suffix… (cached) o
checking for executable suffix… (cached) no
checking the maximum length of command line arguments… (cached) 1572864
checking command to parse /usr/bin/nm -B output from gcc object… (cached) ok
checking for objdir… (cached) .libs
checking for ar… (cached) ar
checking for ranlib… (cached) ranlib
checking for strip… (cached) strip
checking if gcc supports -fno-rtti -fno-exceptions… (cached) no
checking for gcc option to produce PIC… -fPIC
checking if gcc PIC flag -fPIC works… (cached) yes
checking if gcc static flag -static works… (cached) yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries… yes
checking dynamic linker characteristics… GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… no
checking whether to build static libraries… yescreating libtool
appending configuration tag “CXX” to libtoolGenerating files
creating ./config.status
creating php5.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating main/php_config.h
creating main/internal_functions.c
creating main/internal_functions_cli.c
±-------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
±-------------------------------------------------------------------+Thank you for using PHP.
Und hier der Fehler beim make:
~/software/php-5.3.8> make
/bin/sh /home/user/software/php-5.3.8/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/home/user/software/php-5.3.8/ext/date/ -DPHP_ATOM_INC -I/home/user/software/php-5.3.8/include -I/home/user/software/php-5.3.8/main -I/home/user/software/php-5.3.8 -I/home/user/software/php-5.3.8/ext/date/lib -I/home/user/software/php-5.3.8/ext/ereg/regex -I/home/user/software/php-5.3.8/TSRM -I/home/user/software/php-5.3.8/Zend -g -O2 -fvisibility=hidden -c /home/user/software/php-5.3.8/ext/date/php_date.c -o ext/date/php_date.lo
In file included from /home/user/software/php-5.3.8/main/php.h:405:0,
from /home/user/software/php-5.3.8/ext/date/php_date.c:21:
/home/user/software/php-5.3.8/main/php_streams.h:112:14: Fehler: »PATH_MAX« undeclared here (not in a function)
In file included from /home/user/software/php-5.3.8/main/php.h:411:0,
from /home/user/software/php-5.3.8/ext/date/php_date.c:21:
/home/user/software/php-5.3.8/TSRM/tsrm_virtual_cwd.h:170:13: Fehler: expected »=«, »,«, »;«, »asm« or »attribute« before »« token
In file included from /home/user/software/php-5.3.8/main/php.h:420:0,
from /home/user/software/php-5.3.8/ext/date/php_date.c:21:
/home/user/software/php-5.3.8/main/php_reentrancy.h:57:30: Fehler: expected »)« before »« token
make: *** [ext/date/php_date.lo] Fehler 1
Wie gesagt, es ist egal was ich uebersetze, oder ob per root oder nicht.
Ich habe mir per
rpm -q -a -last
alle Aenderungen angeschaut und alles deinstalliert bis zum Zeitpunkt wo ich noch problemlos uebersetzen konnte. Hat aber nichts geholfen.
Weiss jemand Rat? die gcc* Sachen habe ich bereits neu reinstalliert, hat auch nichts geholfen.