Ah hah, thanks Rasmus.

that would probably also mean that building this at 4:10 am is probably not
a good idea, also.

> -----Original Message-----
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 4:04 AM
> To: James Cox
> Cc: Php-Dev
> Subject: Re: [PHP-DEV] gd
>
>
> This is expected behaviour when you have a gd.h file under /usr/include
> that doesn't match the libgd.a you are linking against.
>
> And no, like with every other configure flag, you have to point PHP at the
> highest level directory under which it can find both the header file and
> the library file.  There is no header file anywhere under /usr/lib so it
> makes no sense to use --with-gd=/usr/lib
>
> You should probably read through the INSTALL file top to bottom at least
> once.  Here is a quote directly from it (I think I added this over 2 years
> ago to it):
>
>    There are a few things that can go wrong during this configure step.
>    The most common is that you have asked for an option and that the
>    configure script can not find the files required to enable this
>    option in PHP.  Chances are you can provide the full path to the
>    base directory under which the related files were installed.  For
>    example, if you have installed the GD library in /opt/gd which means
>    that /opt/gd/include has your GD header files and /opt/gd/lib contains
>    your GD library files, you would use --with-gd=/opt/gd
>
> -Rasmus
>
> > Can anyone let me know if this is expected behaviour?
> >
> > i've built gd with everything but gif, due to it's fun patent
> issues. i get
> > these make errors:
> >
> > d.c: In function `zif_imagecreatefromstring':
> > gd.c:1061: `gdImageCreateFromGifCtx' undeclared (first use in
> this function)
> > gd.c:1061: (Each undeclared identifier is reported only once
> > gd.c:1061: for each function it appears in.)
> > gd.c: In function `zif_imagecreatefromgif':
> > gd.c:1203: `gdImageCreateFromGif' undeclared (first use in this
> function)
> > gd.c:1203: `gdImageCreateFromGifCtx' undeclared (first use in
> this function)
> > gd.c: In function `_php_image_convert':
> > gd.c:3491: `gdImageCreateFromGif' used prior to declaration
> > gd.c:3491: warning: assignment makes pointer from integer without a cast
> >
> > is this my bad config, or bad makefile, or ... ?
> >
> > on a related note, if i have in my configure options --with-gd
> it'll locate
> > /usr/lib/libgd.a however, if i specify --with-gd=/usr/lib it fails
> > configure. Time to file a bug?
> >
> > thanks,
> >
> > james
> >
> > --
> > James Cox :: [EMAIL PROTECTED]
> > Please CC me when replying to my messages on lists.
> > Was I helpful?
http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/
>
>
> --
> PHP Development 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 PROTECTED]
>


--
PHP Development 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 PROTECTED]



-- 
PHP Development 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 PROTECTED]

Reply via email to