Compilieren auf Suse 9.0

Compilieren auf Suse 9.0

am 09.12.2004 17:45:22 von tom.roediger

Hallo,

Ich moechte auf Suse 9.0 PHP 4.3.9 compilieren. configure steigt aber
leider mit folgender Meldung aus:

checking for c++... c++
checking whether the C++ compiler (c++ -Wl,-rpath,/usr/ssl/lib
-L/usr/ssl/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib
-Wl,-rpath,/usr/local/typo3sh/lib -L/usr/local/typo3sh/lib
-Wl,-rpath,/usr/lib/qt3/lib -L/usr/lib/qt3/lib) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.


Der direkte Aufruf des zum Fehler fühlenden g++ Aufrufes brint folgendes:

# c++ -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/X11R6/lib
-L/usr/X11R6/lib -Wl,-rpath,/usr/local/typo3sh/lib
-L/usr/local/typo3sh/lib -Wl,-rpath,/usr/lib/qt3/lib -L/usr/lib/qt3/lib

/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../crt1.o(.text +0x18): In
function `_start':
.../sysdeps/i386/elf/start.S:98: undefined reference to `main'
collect2: ld returned 1 exit status

Ich tippe mal auf fehlende Bibliotheken oder Header-Dateien, nur welche?
Hab schon einiges probiert, komme aber nicht über diesen Punkt hinaus.

Irgendwelche Tipps und Hinweise?


Danke Tom!