[Mapserver-users] FAQ Question

Frank Warmerdam warmerdam at pobox.com
Mon Jan 27 15:32:26 PST 2003


Sam Gooding wrote:
> I recompiled the PROJ4 libraries using the following commands and 
> received no errors:
> 
> ./configure --prefix=/home/sgoody/install
> 
> make install

Sam,

I trust you did a make clean before the make install, right?  When
compiling PROJ.4 (specifically src/pj_open_lib.c) was there a
"-DPROJ_LIB=..." on the compile command line?  Did it point to the
directory where the epsg translation file got installed?

> Then I proceeded to recompile mapserv using the following commands and 
> also received no errors:
> 
> ./configure --with-jpeg --with-gd --with-freetype 
> --enable-force-freetype1 --with-zlib --with-png --with-tiff 
> --with-proj=/home/sgoody/install 
> --with-wmsclient=/home/sgoody/install/bin --enable-runpath

Note you don't have to recompile MapServer when fiddling with the
PROJ.4 installation.

I would suggest verifying the finding of the EPSG translation file with
the PROJ.4 commandline program.

eg.
warmerda at gdal2200[137]% cs2cs +init=epsg:4121 +to +init=epsg:4326
0 0
0d0'2.419"E     0d0'8.03"N -199.865

I would add that errno=13 is apparently EACCESS indicating a permissions
problem, not that the file doesn't exist.  Perhaps whatever user your
mapserver/apache runs as (nobody?) does not have read/execute permissions
down to the directory and files in question?

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the MapServer-users mailing list