On Tue, 18 Sep 2001 10:16:27 +0200, "Johan" <tcr480@ofir.dk> wrote:
>Jeg har en pakke liggende her:
>
http://www.iconsult.dk/gd/gd-1.8.3gif.tar.gz
>
>Installer Freetype
>Pak gd pakken ud.
>Ændre CFLAGS til CFLAGS=-O2 -DHAVE_JPEG i makefile
>Ændre LIBS til LIBS=-Im -Igd -Ipng -Iz -Ijpeg i makefile
>Kør make
>Kør make install
>Konfigurer php med følghende
>flags --with-gd=[gd-mappen] --with-ttf --with-jpeg
>
>Så skulle det virke med både JPEG, PNG og GIF
>
Hvad går der galt her ?
gcc -I. -I/usr/local/include -I/usr/include/X11
-I/usr/X11R6/include/X11 -O2 -DHAVE_JPEG -c gd_jpeg.c -o gd_jpeg.o
gd_jpeg.c: In function `fatal_jpeg_error':
gd_jpeg.c:48: structure has no member named `client_data'
gd_jpeg.c: In function `gdImageJpegCtx':
gd_jpeg.c:120: structure has no member named `client_data'
gd_jpeg.c: In function `gdImageCreateFromJpegCtx':
gd_jpeg.c:247: structure has no member named `client_data'
make: *** [gd_jpeg.o] Error 1
Richard