Hallo zusammen,
ich versuche PHP auf opensuse 10.2 zu installieren.
Wenn ich die Option --width-gd=/PFAD verwende bricht das configure script ab mit einer Fehlermeldung.
Hier mein Aufruf:
und hier die letzten Ausgaben in der Konsole:
die letzten Zeilen in der Datei config.log:
Kann mir jemand sagen was hier schief läuft?
Soweit ich verstanden habe, wird wohl in einer Header-Datei nach einer Methode gesucht, welche mittlerweile wohl anderst aussieht.
Doch wie bekomme ich nun PHP mit der Option --with-gd installiert, ohne die PHP-eigene GDlib zu verwenden?
Kann mir jemand weierhelfen?
Danke schon im Voraus.
ich versuche PHP auf opensuse 10.2 zu installieren.
Wenn ich die Option --width-gd=/PFAD verwende bricht das configure script ab mit einer Fehlermeldung.
Hier mein Aufruf:
Code:
./configure --prefix=/usr/local/typo3 --enable-memory-limit --with-mysql --with-freetype-dir=/usr/local/typo3 --with-soap --enable-soap --with-zlib-dir=/usr/local/typo3 --with-zlib=/usr/local/typo3 --with-xpm-dir=/usr/X11R6 --with-jpeg-dir=/usr/local/typo3 --with-tiff-dir=/usr/local/typo3 --with-gd=/usr/local/typo3 --with-png-dir=/usr/local/typo3 --with-ttf=/usr/local/typo3 --enable-gd-native-ttf --with-gettext=/usr/local/typo3 --with-pdflib=/usr/local/typo3 --with-apxs2=/usr/local/typo3/bin/apxs
und hier die letzten Ausgaben in der Konsole:
Code:
...
...
checking for gdFreeFontCache in -lgd... no
checking for gdNewDynamicCtxEx in -lgd... no
checking for gdImageCreate in -lgd... no
configure: error: GD build test failed. Please check the config.log for details.
die letzten Zeilen in der Datei config.log:
Code:
...
...
configure: In function 'main':
configure:41460: warning: assignment makes pointer from integer without a cast
configure:41904: checking for gdImageCreate in -lgd
configure:41923: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/typo3/lib -L/usr/local/typo3/lib -Wl,-rpath,/usr/local/typo3/lib -L/usr/local/typo3/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lgd -lgd -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
/usr/X11R6/lib/libXpm.a(parse.o): In function `xpmParseExtensions':
parse.c: (.text+0x118f): undefined reference to `__ctype_b'
/usr/X11R6/lib/libXpm.a(data.o): In function `xpmNextWord':
data.c: (.text+0x456): undefined reference to `__ctype_b'
data.c: (.text+0x48f): undefined reference to `__ctype_b'
data.c: (.text+0x4d4): undefined reference to `__ctype_b'
data.c: (.text+0x4eb): undefined reference to `__ctype_b'
/usr/X11R6/lib/libXpm.a(data.o):data.c: (.text+0x503): more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
configure: failed program was:
#line 41912 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gdImageCreate();
int main() {
gdImageCreate()
; return 0; }
Kann mir jemand sagen was hier schief läuft?
Soweit ich verstanden habe, wird wohl in einer Header-Datei nach einer Methode gesucht, welche mittlerweile wohl anderst aussieht.
Doch wie bekomme ich nun PHP mit der Option --with-gd installiert, ohne die PHP-eigene GDlib zu verwenden?
Kann mir jemand weierhelfen?
Danke schon im Voraus.