Error compiling mapserver

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error compiling mapserver

Andrea Peri
Hi,
I have update to last debian my pc and when try to recompile the mapserver from the last trunk code,

I have this error:

[ 79%] Building CXX object CMakeFiles/mapserver.dir/mapscript/v8/v8_mapscript.cpp.o
[ 79%] Linking CXX shared library libmapserver.so
[ 79%] Built target mapserver
Scanning dependencies of target shptreetst
[ 80%] Building C object CMakeFiles/shptreetst.dir/shptreetst.c.o
[ 81%] Linking C executable shptreetst
/usr/bin/ld: warning: libjpeg.so.8, needed by /usr/local/lib/libgdal.so, may conflict with libjpeg.so.62
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_font_funcs_set_nominal_glyph_func'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_font_set_variations'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_variation_from_string'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_buffer_set_cluster_level'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_font_funcs_set_variation_glyph_func'
collect2: error: ld returned 1 exit status
CMakeFiles/shptreetst.dir/build.make:112: recipe for target 'shptreetst' failed
make[2]: *** [shptreetst] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/shptreetst.dir/all' failed
make[1]: *** [CMakeFiles/shptreetst.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

I don't understand if the issue is in the libjpeg.so.8 version
or instead an issue due to a deprecation in the libpangoft2-1.0 of some references.

Any help is welcome.
Thx.

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------

_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling mapserver

Andrea Peri
Ho,
I resolved.
They was two distict issues.

One was a too old version of harfbuzz .

The other error.was resolved removing the option with-jpeg from installation of
Libgeotiff.

A.


Il mer 21 ago 2019, 10:01 Andrea Peri <[hidden email]> ha scritto:
Hi,
I have update to last debian my pc and when try to recompile the mapserver from the last trunk code,

I have this error:

[ 79%] Building CXX object CMakeFiles/mapserver.dir/mapscript/v8/v8_mapscript.cpp.o
[ 79%] Linking CXX shared library libmapserver.so
[ 79%] Built target mapserver
Scanning dependencies of target shptreetst
[ 80%] Building C object CMakeFiles/shptreetst.dir/shptreetst.c.o
[ 81%] Linking C executable shptreetst
/usr/bin/ld: warning: libjpeg.so.8, needed by /usr/local/lib/libgdal.so, may conflict with libjpeg.so.62
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_font_funcs_set_nominal_glyph_func'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_font_set_variations'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_variation_from_string'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_buffer_set_cluster_level'
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_font_funcs_set_variation_glyph_func'
collect2: error: ld returned 1 exit status
CMakeFiles/shptreetst.dir/build.make:112: recipe for target 'shptreetst' failed
make[2]: *** [shptreetst] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/shptreetst.dir/all' failed
make[1]: *** [CMakeFiles/shptreetst.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

I don't understand if the issue is in the libjpeg.so.8 version
or instead an issue due to a deprecation in the libpangoft2-1.0 of some references.

Any help is welcome.
Thx.

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------

_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users