Installing GD

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • D. Alvarado

    Installing GD

    Hello,
    I am trying to install the GD package. I am runinng PHP 4 for
    Apache 1.3.31 on Linux Fedora Core 2. This is the command I run ...

    [root@localhost php-4.3.8]# ./configure --with-mysql --enable-calendar
    --with-apxs=/usr/local//apache/bin/apxs --with-mcrypt=/usr/local/lib
    --enable-track-vars --with-gd --with-jpeg-dir=/usr/lib
    --with-zlib-dir=/usr/lib --with-png --with-png-dir=/usr/lib

    and this is how it all comes crashing down ...

    checking for DOM EXSLT support... no
    checking whether to enable EXIF (metadata from images) support... no
    checking for FrontBase SQL92 (fbsql) support... no
    checking for FDF support... no
    checking whether to enable the bundled filePro support... no
    checking for FriBidi support... no
    checking whether to enable FTP support... no
    checking for GD support... yes
    checking for the location of libjpeg... /usr/lib
    checking for the location of libpng... /usr/lib
    checking for the location of libXpm... no
    checking for FreeType 1.x support... no
    checking for FreeType 2... no
    checking for T1lib support... no
    checking whether to enable truetype string function in GD... no
    checking whether to enable JIS-mapped Japanese font support in GD...
    no
    checking for fabsf... yes
    checking for floorf... yes
    checking for jpeg_read_heade r in -ljpeg... yes
    configure: error: png.h not found.

    I cannot find "png.h" anywhere on my system. What do I need to
    install to get it?

    Thanks for any help, - Dave
  • Aidan

    #2
    Re: Installing GD

    You need the PNG library (or libpng)...

    Get it here: http://libpng.org/pub/png/libpng.html

    Regards,

    Aidan


    "D. Alvarado" <laredotornado@ gmail.com> wrote in message
    news:ec027e73.0 408151608.621eb 318@posting.goo gle.com...[color=blue]
    > Hello,
    > I am trying to install the GD package. I am runinng PHP 4 for
    > Apache 1.3.31 on Linux Fedora Core 2. This is the command I run ...
    >
    > [root@localhost php-4.3.8]# ./configure --with-mysql --enable-calendar
    > --with-apxs=/usr/local//apache/bin/apxs --with-mcrypt=/usr/local/lib
    > --enable-track-vars --with-gd --with-jpeg-dir=/usr/lib
    > --with-zlib-dir=/usr/lib --with-png --with-png-dir=/usr/lib
    >
    > and this is how it all comes crashing down ...
    >
    > checking for DOM EXSLT support... no
    > checking whether to enable EXIF (metadata from images) support... no
    > checking for FrontBase SQL92 (fbsql) support... no
    > checking for FDF support... no
    > checking whether to enable the bundled filePro support... no
    > checking for FriBidi support... no
    > checking whether to enable FTP support... no
    > checking for GD support... yes
    > checking for the location of libjpeg... /usr/lib
    > checking for the location of libpng... /usr/lib
    > checking for the location of libXpm... no
    > checking for FreeType 1.x support... no
    > checking for FreeType 2... no
    > checking for T1lib support... no
    > checking whether to enable truetype string function in GD... no
    > checking whether to enable JIS-mapped Japanese font support in GD...
    > no
    > checking for fabsf... yes
    > checking for floorf... yes
    > checking for jpeg_read_heade r in -ljpeg... yes
    > configure: error: png.h not found.
    >
    > I cannot find "png.h" anywhere on my system. What do I need to
    > install to get it?
    >
    > Thanks for any help, - Dave[/color]


    Comment

    Working...