[Mapserver-users] rojection library error. no system list, er rno: 2

Swaminathan, Gayathri gayathri at ou.edu
Mon May 5 13:33:38 EDT 2003


Benjamin,
See if this is useful
http://lists.gis.umn.edu/pipermail/mapserver-users/2003-January/000540.html
 
~Gayathri

-----Original Message-----
From: Benjamin Thelen [mailto:benjamin.thelen at ccgis.de]
Sent: Monday, May 05, 2003 10:21 AM
To: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] rojection library error. no system list,
errno: 2


Hi everybody,

I found something what Daniel Morrissette wrote some time ago:

----------------------------------------------------------------------
This happens if the file "epsg" is missing in the proj directory
(/usr/local/share/proj/epsg on Unix), or if you try to use an epsg:XXXX
code that doesn't exist in that file.
----------------------------------------------------------------------

But, both is not true in my case. The epsg-file IS there and the epsg:XXXX I
specified are in the epsg-file.


And here something that Frank Warmerdam wrote:


------------------------------------------------------------------------
errno = 2 is ENOENT which means file not found.  Sorry for the awful error
message, but basically I think the epsg file isn't found.  Please ensure
that
the PROJ_LIB environment variable points to the directory with the EPSG file
in it.  On unix this is normally installed into /usr/local/share/proj,
and it is in the nad directory within the proj distribution.
------------------------------------------------------------------------



I set the environment variable PROJ_LIB directly in a shell:
"set PROJ_LIB=/usr/local/share/proj".
But that didn't help as well.



I thought it could be something with file permissions, but I don't think,
proj4 is not allowed to access its own files. I have no more ideas at the
moment. Anybody another idea?
Sorry for my three mails. I was a bit to fast writing to the list.

Thanks,
Benjamin








> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu
> [mailto:mapserver-users-admin at lists.gis.umn.edu]On Behalf Of Benjamin
> Thelen
> Sent: Monday, May 05, 2003 5:57 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] rojection library error. no system list,
> errno: 2
>
>
> Hi everybody,
>
> after days of work, umn-mapserver is nearly running on my FreeBSD 4.7
> System. I think I'll post what was neccessary to have
> umn-mapserver running
> on FreeBSD. Maybe that is something for a FAQ or even the manual.
>
>
> But there are finally two problems. One is still the pdf-lib and the other
> one is here:
>
>
>
>
> http://servername/cgi-bin/mapserv?wmtver=1.0.0&map=/home/umn/test1
> .map&reque
> st=capabilities
>
> responds the following:
>
>
> ------------------------------------------------------------------
> ---------
> - <HTML>
> - <HEAD>
>   <TITLE>MapServer Message</TITLE>
>   </HEAD>
> - <!--  MapServer version 3.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER
> SUPPORTS=WMS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>   -->
>   <BODY BGCOLOR="#FFFFFF">msProcessProjection(): Projection library error.
> no system list, errno: 2</BODY>
>   </HTML>
> ------------------------------------------------------------------
> ---------
>
>
> ./configure was successful, even with proj4. If needed I'll provide the
> options and output as well as the output of make of course.
>
>
> Anybody an idea? Where can this system list be found? What's its
> name? Can I
> somehow check the installation of proj4?
>
>
> I have installed
>
> FreeBSD 4.7
>
> out of the ports-collection
> apache 1.3.27
> php 4.3.1
> proj 4.4.5
> gd-2.0.11
> gdal-1.1.8
> libWWW-5.4.0
>
> directly from source code of course
> mapserver 3.6.5
>
>
> Thanks,
> Benjamin
>
>
>
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list