I believe you should use:

--with-gd=/usr/local/gd/

Do not add the /lib at the end.  Try that.

configure (ie automake and friends) will want to run your /usr/local/gd/bin/gd-config binary to determine where gd's libraries are; therefore, when you specify --with-gd=/usr/local/gd/lib, it's not going to find that binary.


You could also try adding the path of gdlib-config into your path
(in bash)
export PATH=$PATH:/usr/local/gd/bin
./configure <args>


Let me know if that works,
-Clint


Eduardo Arévalo wrote:
Jorge:
in /usr/local/gd/lib/libgd.a libgd.la <http://libgd.la> libgd.so.2 libgd.so.2.0.0

2006/4/21, J. Parapar <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

    Eduardo,

    Have you checked that libgd is in /usr/local/gd/lib?


    Best regards,
    Jorge

    2006/4/21, Eduardo Arévalo <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>:
    > hello:
    >  At the moment to execute following
    >  $. /configure
    >
    >  $ ./configure --prefix=/usr/local/mapserver
    > --with-ogr=/usr/local/gdal/bin/gdal-config
    > --with-gdal=/usr/local/gdal/bin/gdal-config
    > --with-apache=/usr/local/apache2
    > --with-httpd=/usr/local/apache2/bin --with-wfsclient
    > --with-wmsclient --enable-debug
    > --with-curl-config=/usr/bin/curl-config
    > --with-proj=/usr/local/proj4 --with-tiff=/usr/local/tiff
    > --with-gd=/usr/local/gd/lib --with-jpeg=/usr/lib
    > --with-freetype=/usr/local/freetype2/bin/freetype-config
    > --with-postgis=/var/lib/pgsql/bin/pg_config
    >
    >  it finishes executing and it reports the following error ......
    >
    >  .....
    >  ........
    >  configure: error: Could not find gd.h or libgd.a/libgd.so in
    > /usr/local/gd/lib.
    >   Make sure GD 2.0.16 or higher is compiled before calling
    configure. You
    > may als
    >  o get this error if you didn't specify the appropriate location
    for one of
    > GD's
    >  dependencies (freetype, libpng, libjpeg or libiconv).
    >
    >  reports the same error when executing simple
    >  $. /configure
    >
    >  the version of gd installed is gd 2.0.33
    >
    >  aid please
    >
    >  excuse the english
    >




--
Clint Johnson
Refractions Research Inc.
[EMAIL PROTECTED]

Reply via email to