[mapserver-dev] msProcessProjection() Error

Jeshua Lacock jeshua at openosx.com
Thu May 29 16:12:48 EDT 2008


Greetings,

I am having difficulty testing our new build of MapServer 5.0.2,  
Apache 2.2.8 and PHP 5.2.6 with the gmap46 demo. The CGI version works  
fine with the Itasca demo.

We have two separate builds based on the identical software versions  
and configurations for both Intel and PowerPC Macs. The Intel version  
works flawlessly with the php gmap demo. With the PowerPC version I am  
getting:


> Warning: [MapServer Error]: msProcessProjection(): in /Library/ 
> OpenOSX/apache2/htdocs/gmap/htdocs/gmap75.phtml on line 66
>
> Warning: Failed to open map file gmap75.map in /Library/OpenOSX/ 
> apache2/htdocs/gmap/htdocs/gmap75.phtml on line 66
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corner_TL_LB.jpg
Type: image/jpeg
Size: 375 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20080529/b3c35859/corner_TL_LB.jpg
-------------- next part --------------

>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixel.gif
Type: image/gif
Size: 49 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20080529/b3c35859/pixel.gif
-------------- next part --------------

>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corner_TR_LB.jpg
Type: image/jpeg
Size: 375 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20080529/b3c35859/corner_TR_LB.jpg
-------------- next part --------------

>
> Legend
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icon_eye.gif
Type: image/gif
Size: 342 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20080529/b3c35859/icon_eye.gif
-------------- next part --------------

>
>
> Layer
>
> Fatal error: Call to a member function getlayerbyname() on a non- 
> object in /Library/OpenOSX/apache2/htdocs/gmap/htdocs/gmap75.inc.php  
> on line 525


The gmap and httpd.conf are indentical on both our Intel and PPC builds.

I did some searching and apparently it has something to do with proj.  
I am using proj 4.6.0 and proj-datumgrid 1.3.

"epsg:42304" is defined in /Library/OpenOSX/grass/share/proj/ 
other.extra.

In the .map file, I tried setting:

	CONFIG "PROJ_LIB" "/Library/OpenOSX/grass/share/proj/"

Which does not help. I am not sure if am using the directive correctly.

I have also tried rebuilding MapServer with the minimum of options  
enabled with no luck.  Proj and php both test out fine. I also tried  
creating a minimum .map file, and I also get the same results with  
any .map file I specify.

My phpinfo() shows:

> MapScript
> MapServer Version
> MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG  
> OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ  
> SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER  
> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT  
> SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI  
> SUPPORTS=THREADS SUPPORTS=GEOS INPUT=TIFF INPUT=EPPL7 INPUT=POSTGIS  
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> PHP MapScript Version
> ($Revision: 7251 $ $Date: 2008-01-08 09:04:53 -0800 (Tue, 08 Jan  
> 2008) $)


Is there any way to get any more error logs? I looked in the Apache  
error logs and I don't see anything helpful. I would be very grateful  
for any tips/advice.

Any information to help point me in the right direction would be very  
much appreciated, I am at a loss what to try next.


Thanks,

Jeshua Lacock, Owner
<http://OpenOSX.com>
phone: 877.240.1364



More information about the mapserver-dev mailing list