[mapserver-dev] build problem

Peter Freimuth peter.freimuth at blackbridge.com
Mon Sep 29 13:00:37 PDT 2014


Hi Thomas,
thanks for that hint. Disabling both SVG options and cleaning the folder actually resolved the build problem. I used the harfbuzz build settings from the Vagrantfile.
Again, thanks for your support.
Peter
On Sep 29, 2014, at 10:32 AM, thomas bonfort <thomas.bonfort at gmail.com<mailto:thomas.bonfort at gmail.com>> wrote:

Peter,
- Completely unrelated, but the coverage flags are useless for an end user, they are going to slow your execution substantially. Start fresh from an empty build directory as cmake is going to have kept those flags in its cache. (cd build && rm -rf *)
- How did you compile harfbuzz? try with ./configure --without-cairo --without-glib --without-icu
- What happens if you disable RSVG support (I suspect that is the dependency that is pulling down pango)

--
thomas

On 28 September 2014 15:21, Peter Freimuth <peter.freimuth at blackbridge.com<mailto:peter.freimuth at blackbridge.com>> wrote:
Hi mapserver devs,
to verify that some of the bugfixes resolve two of the problems i currently have with map server i try to compile map server from scratch but whatever i tried i cannot resolve this problem:

[ 90%] Building CXX object CMakeFiles/mapserver.dir/mapscript/v8/v8_mapscript.cpp.o
Linking CXX shared library libmapserver.so
[ 90%] Built target mapserver
[ 91%] Building C object CMakeFiles/legend.dir/legend.c.o
Linking C executable legend
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_glib_script_from_script'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_glib_script_to_script'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_glib_get_unicode_funcs'
collect2: error: ld returned 1 exit status
make[2]: *** [legend] Error 1
make[1]: *** [CMakeFiles/legend.dir/all] Error 2
make: *** [all] Error 2

Seems that the headers or the lib of the  but  /usr/local/lib/libharfbuzz.so is available and i set -DCMAKE_PREFIX_PATH=/usr/local:/opt .
i used
cmake .. -DCMAKE_C_FLAGS="--coverage" -DCMAKE_CXX_FLAGS="--coverage" -DCMAKE_SHARED_LINKER_FLAGS="-lgcov" -DWITH_WCS=1 -DWITH_WFS=1 -DWITH_CLIENT_WMS=1 -DWITH_CLIENT_WFS=1 -DWITH_KML=1 -DWITH_SOS=1 -DWITH_PHP=0 -DWITH_PYTHON=1 -DWITH_JAVA=0 -DWITH_THREAD_SAFETY=1 -DWITH_FRIBIDI=1 -DWITH_FCGI=1 -DWITH_EXEMPI=1 -DCMAKE_BUILD_TYPE=Release -DWITH_RSVG=1 -DWITH_CURL=1 -DWITH_HARFBUZZ=1 -DWITH_POINT_Z_M=1 -DWITH_XMLMAPFILE=1 -DWITH_GEOS=1 -DWITH_POSTGIS=1 -DWITH_LIBXML2=1 -DWITH_OGR=1 -DWITH_GDAL=1 -DWITH_PROJ=1 -DWITH_GIF=1 -DWITH_GD=0 -DCMAKE_PREFIX_PATH=/usr/local:/opt -DFCGI_INCLUDE_DIR=/usr/include/fastcgi -DWITH_SVGCAIRO=0

on a vagrant ubuntu/trusty64

Mapserver was cloned from git master today.

__________________________________
_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org<mailto:mapserver-dev at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-dev



Peter Freimuth

BlackBridge AG | Sitz Berlin | Amtsgericht Charlottenburg - Registergericht | HRB 152785 | Aufsichtsratsvorsitzender: David Westwood | Vorstand: Ryan Johnson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20140929/54bee74b/attachment.html>


More information about the mapserver-dev mailing list