[mapserver-users] Building mapserver on Sparc Solaris 10
Christopher Schmidt
crschmidt at metacarta.com
Wed Apr 16 04:36:38 PDT 2008
On Wed, Apr 16, 2008 at 03:25:22PM +0400, ???????? ???? wrote:
> 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
I believe this is because your version of curl is too old.
-- Chris
> 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
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Christopher Schmidt
MetaCarta
More information about the MapServer-users
mailing list