[mapserver-users] Building mapserver on Sparc Solaris 10
Daniel Morissette
dmorissette at mapgears.com
Wed Apr 16 04:37:31 PDT 2008
Бухаркин Юрий wrote:
>
> 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_frmts
> -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 :-)))
>
Which version of Curl do you have in /usr/sfw? The Curl docs suggest
that CURLINFO_RESPONSE_CODE may have appeared only in version 7.10.7,
see here:
http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
If your Curl is older than 7.10.7 then that could possibly explain the
error. You could try to compile locally a more recent version, or build
GDAL without curl.
I haven't tried building GDAL without Curl recently, but that should
work since Curl is only needed for a few drivers that are not essential
for MapServer.
Daniel
--
Daniel Morissette
http://www.mapgears.com/
More information about the MapServer-users
mailing list