Can't install MapServer

Gavin Simpson gavin.simpson at UCL.AC.UK
Fri Nov 11 10:26:13 EST 2005


On Fri, 2005-11-11 at 09:03 -0600, Alejandro Mejia Evertsz wrote:
> I'm a newbie on this unix stuff, but I know a little bit about ports,
> so I tried installing MapServer using ports, but it failed, so I
> decided to install it manually.
> When I do the ./configure I get this error:
>  
> configure: error: Could not find gd.h or libgd.a/libgd.so
> in /usr/local.  Make sure GD 2.0.16 or higher is compiled before
> calling configure. You may also get this error if you didn't specify
> the appropriate location for one of GD's dependencies (freetype,
> libpng, libjpeg or libiconv).
>  
> But I know I have GD installed, and it's higher than the one
> requiered:
>  
> # pkg_info | grep gd
> gd-2.0.33_3,1       A graphics library for fast creation of images
> gdal-1.2.1_2        A translator library for raster geospatial data
> formats
> php5-gd-5.0.5_1     The gd shared extension for php
> 
> I don't know what to do next...
> Can somebody help me?
>  
> Thanks in advance.
>  
> Alejandro Mejia Evertsz

If configure can't find gd itself then you need to help it out. try:

whereis gd

at in bash/shell for example, or search for gd.h, then specify the
location in the configure line, --with-gd= etc. I don't know your
system, but on linux you'd also have a gd-devel package that contains
the headers (gd.h) that you need to compile against. So even though you
have gd, you don't seem to have the devel headers installed, you can
just use gd.

HTH

G
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson                     [T] +44 (0)20 7679 5522
ENSIS Research Fellow             [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC                 [E] gavin.simpsonATNOSPAMucl.ac.uk
UCL Department of Geography       [W] http://www.ucl.ac.uk/~ucfagls/cv/
26 Bedford Way                    [W] http://www.ucl.ac.uk/~ucfagls/
London.  WC1H 0AP.
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the mapserver-users mailing list