[mapserver-users] compilation error with option rsvg
Stefan Schantz
SSchantz at BfS.de
Wed Jan 15 06:14:29 PST 2014
Hi,
I am trying to install mapserver 6.4.1 with the option -DWITH_RSVG=1.
Without this option cmake, make, make install works fine.
My system: Oracle Enterprise Linux, a distribution based on Red Hat
Enterprise Linux
my steps are:
cmake28 .. -DWITH_KML=1 -DWITH_RSVG=1 -DWITH_CURL=1 -DWITH_CLIENT_WMS=1
-DWITH_ORACLESPATIAL=1 -DWITH_EXEMPI=1
-DCMAKE_PREFIX_PATH="/usr/include/librsvg-2;/usr/include/glib-2.0;/usr/pgsql-9.2/bin;/usr/OCI/instantclient_11_2"
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
(...)
-- checking for module 'cairo'
-- found cairo, version 1.8.8
-- Found CAIRO: /usr/lib64/libcairo.so
(...)
-- Found RSVG: /usr/lib64/librsvg-2.so
-- Found GOBJECT: /usr/lib64/libgobject-2.0.so
(...)
-- * Summary of configured options for this build
-- * Mandatory components
(...)
-- * CAIRO: /usr/lib64/libcairo.so
-- * SVGCAIRO: disabled
-- * RSVG: /usr/lib64/librsvg-2.so
(,,,)
--
-- Will install files to /usr/local
-- Will install libraries to /usr/local/lib64
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/mapserver-6.4.1/build
So far so good.
With make, I get the following message:
make
Scanning dependencies of target mapserver
[ 1%] Building C object CMakeFiles/mapserver.dir/cgiutil.c.o
[ 2%] Building C object CMakeFiles/mapserver.dir/mapgeos.c.o
[ 3%] Building C object CMakeFiles/mapserver.dir/maporaclespatial.c.o
[ 4%] Building C object CMakeFiles/mapserver.dir/mapsearch.c.o
[ 5%] Building C object CMakeFiles/mapserver.dir/mapwms.c.o
[ 5%] Building C object CMakeFiles/mapserver.dir/classobject.c.o
[ 6%] Building C object CMakeFiles/mapserver.dir/mapgml.c.o
[ 7%] Building C object CMakeFiles/mapserver.dir/mapoutput.c.o
[ 8%] Building C object CMakeFiles/mapserver.dir/mapwmslayer.c.o
[ 9%] Building C object CMakeFiles/mapserver.dir/layerobject.c.o
[ 10%] Building C object CMakeFiles/mapserver.dir/mapgraticule.c.o
[ 11%] Building C object CMakeFiles/mapserver.dir/mapows.c.o
[ 12%] Building C object CMakeFiles/mapserver.dir/mapservutil.c.o
[ 12%] Building C object CMakeFiles/mapserver.dir/mapxbase.c.o
[ 13%] Building C object CMakeFiles/mapserver.dir/maphash.c.o
[ 14%] Building C object CMakeFiles/mapserver.dir/mapowscommon.c.o
[ 15%] Building C object CMakeFiles/mapserver.dir/mapshape.c.o
[ 16%] Building C object CMakeFiles/mapserver.dir/mapxml.c.o
[ 17%] Building C object CMakeFiles/mapserver.dir/mapbits.c.o
[ 18%] Building C object CMakeFiles/mapserver.dir/maphttp.c.o
[ 19%] Building C object CMakeFiles/mapserver.dir/mapparser.c.o
[ 19%] Building C object CMakeFiles/mapserver.dir/mapstring.c.o
[ 20%] Building C object CMakeFiles/mapserver.dir/mapxmp.c.o
[ 21%] Building C object CMakeFiles/mapserver.dir/mapcairo.c.o
/opt/mapserver-6.4.1/mapcairo.c:46:28: Fehler: librsvg/rsvg.h: Datei
oder Verzeichnis nicht gefunden
/opt/mapserver-6.4.1/mapcairo.c:48:42: Fehler:
librsvg/librsvg-features.h: Datei oder Verzeichnis nicht gefunden
/opt/mapserver-6.4.1/mapcairo.c:51:36: Fehler: librsvg/rsvg-cairo.h:
Datei oder Verzeichnis nicht gefunden
/opt/mapserver-6.4.1/mapcairo.c:53:27: Fehler: glib-object.h: Datei oder
Verzeichnis nicht gefunden
But the missing files are at
ls /usr/include/librsvg-2/librsvg
librsvg-enum-types.h librsvg-features.h rsvg-cairo.h rsvg.h
Can anybody help me? Thanks!
Best regards,
Stefan
More information about the MapServer-users
mailing list