recompiling mapserver - can not find proj4 libs

Mike Jackson mj at SCI.FI
Tue Nov 16 13:51:42 PST 2004


Joseph Norris wrote:
> Everyone,
>
>
> 353
> ./configure  --with-ogr=/usr/local/bin/gdal-config --with-gdl=/usr/local/bin
> /gdal-config --with-proj=/usr/local/lib/
>
>
> I keep getting this on the results even though these libs are in these
> directories:
>
> configure: checking whether we should include PROJ.4 support......
> configure: error: "Could not find projects.h or libproj.a/libproj.so in
> /usr/local/lib/."
>
> I am not sure what is going on - thanks
>
> #Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr
> $_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
> 68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);
>


There is no rhyme or reason to the combination of expected arguments. I fought with this for 2
days, trial and error.


Look at my mapserver-configure.sh script, which works very well now:


#!/bin/sh

./configure \
         --prefix=/u/local/MAPPING \
         --with-proj=/u/local/MAPPING \
         --with-postgis=/u/local/MAPPING/bin/pg_config \
         --with-httpd=/usr/sbin/apache2 \
         --with-php=/u/local/MAPPING/src/php-4.3.9 \
         --with-gdal=/u/local/MAPPING/bin/gdal-config \
         --with-ogr=/u/local/MAPPING/bin/gdal-config \
         --with-wfs \
         --with-wfs-client \
         --with-wmsclient \
         --with-pdf=/usr



--
mike



More information about the MapServer-users mailing list