> Make php failed:
Make sure you don't have gd-1.x header files in /usr/local/include
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTE
> > > > It's obviously a simple error but I have no idea about C.
> > >
> > > You left out your PHP configure line
> >
> > I was trying to make gd-2.0.1, are you saying don't make GD at all,
> > just go straight to configuring php?
>
> Ah, no, type: make libgd.a
> in your gd dir.
Ok, making libg
> > > [root@b gd-2.0.1] ~ make test
> > > gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/include/X11
>-I/usr/local/include gdtest.o -o gdtest -L/usr/local/lib -L/usr/lib/X11
>-L/usr/X11R6/lib libgd.a -lpng -lz -ljpeg -lfreetype -lm
> > > gcc: libgd.a: No such file or directo
> > > Build gd-2.0.1 with these two lines in your GD2 Makefile:
> > >
> > > CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
> >
> > CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
> >
> > Same as mine.
> >
> > > LIBS=libgd.a -lpng -lz -ljpeg -lfreetype -lm
> >
> > LIBS=libgd.a
> > > Has anyone got PHP successfully compiled and using GD 2.0.1?
> > >
> > > If so what was your configure line please and any other changes you had to
> > > make in order to get PHP to compile. Thanks.
> >
> > Build gd-2.0.1 with these two lines in your GD2 Makefile:
> >
> > CFLAGS=-g -DHAVE_LI
> > Has anyone got PHP successfully compiled and using GD 2.0.1?
> >
> > If so what was your configure line please and any other changes you had to
> > make in order to get PHP to compile. Thanks.
>
> Build gd-2.0.1 with these two lines in your GD2 Makefile:
>
> CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LI
> Has anyone got PHP successfully compiled and using GD 2.0.1?
>
> If so what was your configure line please and any other changes you had to
> make in order to get PHP to compile. Thanks.
Build gd-2.0.1 with these two lines in your GD2 Makefile:
CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIB
7 matches
Mail list logo