Hallo nochmal,
Läuft immer noch nicht! GDLib lässt sich nicht kompilieren und bricht ständig mit irgendwelchen kryptischen Fehlermeldungen ab. Diese muss ich dann ergooglen und versuchen zu fixen. Im Moment findet sich dazu aber nix... Nach ./configure, das scheinbar ohne Probleme durchrattert, kommt folgende Auflistung:
** Configuration summary for gd 2.0.33:
Support for PNG library: yes
Support for JPEG library: no
Support for Freetype 2.x library: yes
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes
Kein Support für JPGLib, obwohl ich es auch installiert habe und wie in der Install-Anleitung auch die *.h-Dateien nach usr/local/include und die *.a in die /usr/local/libs kopiert habe...
Bei make steigt er dann irgendwann aus:
gcc -g -O2 -o .libs/gdparttopng gdparttopng.o -L/usr/local/lib -L/usr/local/lib/lib -L./.libs -lgd -lfreetype -lpng12 -lz
ld: warning -L: directory name (/usr/local/lib/lib) does not exist
ld: Undefined symbols:
_gdImagePng
make[1]: *** [gdparttopng] Error 1
make: *** [check-recursive] Error 1
Wenn man ein ranlib auf libjpeg.a anwendet ist nach der configure
Support for JPEG library: yes
gesetzt. D.h. es sollte nun verfügbar sein.
Leider steigt die Kiste bei make nach wie vor mit einer Fehlermeldung aus:
[...]
source='annotate.c' object='annotate.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ./config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -g -O2 -c annotate.c
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -o annotate annotate.o ./libgd.la -ljpeg -lfreetype -lpng12 -lz
gcc -g -O2 -o .libs/annotate annotate.o -L/usr/local/lib -L./.libs -lgd -ljpeg -lfreetype -lpng12 -lz
ld: Undefined symbols:
_gdImageCreateFromJpeg
_gdImageJpeg
make[2]: *** [annotate] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Ich weiss das libjpeg standardmässig als "static" installiert wird wenn man nur configure ohne weitere Parameter nimmt. Ich dachte mir das dies der Fehler sein könnte und libjpeg auch als "shared" installiert werden sollte.
Also habe ich bei Sourcen nochmal frisch überbügelt und in libjpeg ein ./configure --enable-shared gestartet... blieb dann aber wie folgt hängen:
[...]
checking for ranlib... ranlib
checking host system type... ltconfig: cannot guess host type; you must specify one
Try `ltconfig --help' for more information.
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
Tja, und nu is wieder Ende Gelände und ich hab mal wieder keinen Plan was das Problem sein könnte. Google hat zu dem Thema leider auch nix gescheites gewusst...
Ich stecks jetzt mal fürs erste und hoffe das mir hier jemand im Forum oder sonstwo eine wenig auf die Sprünge helfen kann.... *frustschieb*
Gruß AndreD