[mapserver-dev] Mapserver 6.2.2 build issues with GCC 5.0

Devrim Gündüz devrim at gunduz.org
Thu Mar 19 10:11:14 PDT 2015


Hi,

On Thu, 2015-03-19 at 17:35 +0100, thomas bonfort wrote:

> Try removing the "inline" keyword from
> populateRendererVTableCairoVector() in mapcairo.c near line 1273.

Awesome! That fixed the problem, and we have another one now:

mkdir -p edu/umn/gis/mapscript 
swig -java -package edu.umn.gis.mapscript -DUSE_FASTCGI  -DUSE_CAIRO -DUSE_FRIBIDI -DUSE_FRIBIDI2    -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR -DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH   -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR   -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS  -DHAVE_SYNC_FETCH_AND_ADD -DUSE_THREAD -DUSE_PROJ   -DUSE_GD  -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_GIF -DUSE_ICONV -DUSE_JPEG -DUSE_GIF -DUSE_PNG -DUSE_FREETYPE -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT -DNEED_STRRSTR   -DDISABLE_CVSID -outdir edu/umn/gis/mapscript -o javamapscript_wrap.c ../mapscript.i
javamodule.i:4: Error: Unknown SWIG preprocessor directive: Uncomment (if this is a block of target language code, delimit it with %{ and %})
javamodule.i:5: Error: Unknown SWIG preprocessor directive: with (if this is a block of target language code, delimit it with %{ and %})
Makefile:60: recipe for target 'javamapscript_wrap.c' failed
make: *** [javamapscript_wrap.c] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.zkJivD (%build)

This is swig 3.0.5 on rawhide. Removing those two lines do the trick,
but is there a way to do it w/o removing? I tried removing whitespace
after #, but it did not work (Again, I don't know about swig)

Regards,
-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20150319/1d44ccba/attachment.pgp>


More information about the mapserver-dev mailing list