[mapserver-users] Building mapserver on Sparc Solaris 10

Бухаркин Юрий urry at swemel.ru
Wed Apr 16 04:25:22 PDT 2008


   Hello, All!
I'm trying to make a working instance of UMN-MapServer on Solaris sparc 10
u4.
Tha main problem is with GDAL's making.
Because of using solaris companion DVD products, I have most of essential
libraries
in /usr/sfw/.... , not in /usr/ local/.... 
I'm using configure with such set of params:
 
--with-geotiff=internal --with-tiff=internal --with-png=internal
--withjpg=internal --without-python --with-curl=/usr/sfw/bin/curl-config
 
In gmake all is going fine, untill.....
 
libtool: compile:  g++ -g -O2 -Wall
-I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/port
-I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/gcore
-I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/alg
-I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/ogr
-I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/ogr/ogrsf_frm
ts -DOGR_ENABLED
-I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/port -c
gdalhttp.cpp  -fPIC -DPIC -o ../o/.libs/gdalhttp.o
gdalhttp.cpp: In function `CPLErr CPLHTTPFetchMulti(CPLHTTPRequest*, int,
const char* const*)':
gdalhttp.cpp:209: error: `CURLINFO_RESPONSE_CODE' was not declared in this
scope
gdalhttp.cpp:209: warning: unused variable 'CURLINFO_RESPONSE_CODE'
gmake[2]: *** [../o/gdalhttp.o] Error 1
gmake[2]: Leaving directory
`/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/frmts/wms'
gmake[1]: *** [wms-install-obj] Error 2
gmake[1]: Leaving directory
`/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/frmts'
gmake: *** [frmts-target] Error 2
gmake
 
 
Who can consult me, what to do, to obtain a working copy of mapserver on
Sparc WITH GDAL?
Can I build GDAL with "--without-curl" option?
Without GDAL all is working fine, until sample 1.5 in tutorials :-)))
 
Two days ago i had builded Mapserver with GDAL 1.4.0, maked without curl.
It's really using libgdal.so.... because if this file is renamed the error "
lib... is not found." is reporting in web server's logs.
But 1.5 sample returns:
msDrawMap(): Image handling error. Failed to draw layer named 'modis'.
msDrawRasterLayerLow(): General error message. Attempt to render raster
layer to IMAGEMODE RGB or RGBA but without GDAL available. 24bit output
requires GDAL.
1.6 returns:
loadProjection(): Projection library error. Projection support is not
available.
What I have to do to obtain working instance of mapserver with projections &
basic raster formats (png,gif,tiff,jpeg)support?
Sincerely Yours
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080416/56ee66e7/attachment.htm>


More information about the MapServer-users mailing list