[mapserver-dev] build problem

thomas bonfort thomas.bonfort at gmail.com
Mon Sep 29 01:32:13 PDT 2014


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>
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.
>
>
>   __________________________________
>
>  *Peter Freimuth*
>  Manager - Software Development
>
>
> Kurfürstendamm 22
>  10719 Berlin
>  Germany
>
> Phone: +49 30 609 8300 - 100 (main) - 327 (direct)
>
>  www.blackbridge.com
>
>
>
>
>
>  The information contained herein is proprietary to BlackBridge and may
> not be used, reproduced or disclosed to others except as specifically
> permitted in writing by the originator of the information. The recipient of
> this information, by its retention and use, agrees to protect the same and
> the information contained therein from loss, theft and compromise. Any
> copies of this document, which are no longer required in company approved
> retention systems must be disposed of by means in which the trustee of the
> copy guarantee its complete destruction.
>
> BlackBridge AG | Sitz Berlin | Amtsgericht Charlottenburg -
> Registergericht | HRB 152785 | Aufsichtsratsvorsitzender: David Westwood |
> Vorstand: Ryan Johnson
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20140929/b737c529/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7310 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20140929/b737c529/attachment.png>


More information about the mapserver-dev mailing list