gdlib + php 4.2.3

Apache, Lighttpd, nginx, Cherokee
Post Reply
pickel
Posts: 48
Joined: 2002-05-30 17:47
 

gdlib + php 4.2.3

Post by pickel »

Hi,

ich wollte die neuste php version mit der neusten gdlib compilen bekomme jedoch immer irgendwelche fehler.
Habt ihr vielleicht ein tutorial wie ich das ohne probleme compilen kann?
In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/vksk/soft/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vksk/soft/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vksk/soft/php-4.2.3/ext'
make: *** [all-recursive] Error 1
den fehler erhalte ich beim compilen :)


danke im vorraus


mfg,
Nils
Anonymous
 

Re: gdlib + php 4.2.3

Post by Anonymous »

hi,

ich weiß nicht, ob es Dir hilft, ich murkse auch gerade an einem ähnlichen Problem herum, dabei bin ich auf folgende Info gestoßen:

http://www.boutell.com/gd/phppatch.html

Das ist wohl 'n patch zur Nutzung der gdlib v.2 und höher mit php 4.2.3

Gruß
André
pickel
Posts: 48
Joined: 2002-05-30 17:47
 

Re: gdlib + php 4.2.3

Post by pickel »

hm.. hab ich auch schon entdeckt gehabt, damit ist der fehler weg, jedoch übernimmt er immer noch nicht die neuste gd version in php. ich hab sogar die alten libs gelöscht und nur die neuen von dem kompilierungstag dagelassen.
werd mich wohl mal mit php 4.3 auseinandersetzen müssen :)


mfg,
Nils
barto
Posts: 88
Joined: 2003-01-09 19:13
 

Re: gdlib + php 4.2.3

Post by barto »

versuch mal beim php configure aufruf anstatt von
"--with-gd" "--with-gd=/usr" zu machen..
hat bei mir geholfen...
Post Reply