<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <meta http-equiv="content-type" content="text/html;
      charset=windows-1252">
    <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">I've found the Answer!</div>
    <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);"><br>
    </div>
    <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">My harfbuzz was compiled
      with "<span style="color: rgb(51, 51, 51); font-family: Consolas,
        'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;
        line-height: 16.7999992370605px; white-space: pre-wrap;">--without-glib".</span></div>
    <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);"><span style="color: rgb(51,
        51, 51); font-family: Consolas, 'Liberation Mono', Menlo,
        Courier, monospace; font-size: 12px; line-height:
        16.7999992370605px; white-space: pre-wrap;"><br>
      </span></div>
    <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);"><span style="color: rgb(51,
        51, 51); font-family: Consolas, 'Liberation Mono', Menlo,
        Courier, monospace; font-size: 12px; line-height:
        16.7999992370605px; white-space: pre-wrap;">It was easy once
        I've realized that hb_glib was a part of harfbuzz.</span></div>
    <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);"><span style="color: rgb(51,
        51, 51); font-family: Consolas, 'Liberation Mono', Menlo,
        Courier, monospace; font-size: 12px; line-height:
        16.7999992370605px; white-space: pre-wrap;"><br>
      </span></div>
    <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);"><font color="#333333"
        face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span
          style="font-size: 12px; line-height: 16.7999992370605px;
          white-space: pre-wrap;">Thanks!<br>
          <br>
        </span></font></div>
    <div class="moz-cite-prefix">On 14-10-09 06:44 AM, Belug wrote:<br>
    </div>
    <blockquote cite="mid:1412851475767-5166654.post@n6.nabble.com"
      type="cite">
      <pre wrap="">Hi, I have the same problem, but I need the SVG enable.

I'm using Ubuntu 14.04 on vagrant with those packages :

librsvg2-2:amd64  2.40.2-1
librsvg2-common:amd64  2.40.2-1
librsvg2-dev  2.40.2-1
libpango-1.0-0:amd64  1.36.3-1ubuntu1
libpangocairo-1.0-0:amd64  1.36.3-1ubuntu1
libpangoft2-1.0-0:amd64  1.36.3-1ubuntu1

Here's the two cmake I've tried :

The first :

cmake -DWITH_CLIENT_WMS=yes -DWITH_CLIENT_WFS=1 -DWITH_KML=1 -DWITH_SOS=1
-DWITH_PHP=1 -DWITH_PYTHON=1 -DWITH_THREAD_SAFETY=1 -DWITH_HARFBUZZ=1
-DWITH_FRIBIDI=1 -DWITH_FCGI=1 -DWITH_EXEMPI=1 -DCMAKE_BUILD_TYPE=Release
-DWITH_RSVG=1 -DWITH_CURL=1 -DWITH_CAIRO=1 -DWITH_PHP=1 -DWITH_PYTHON=1


and the same used in ubuntu-gis build minus java :

cmake -DCMAKE_EXE_LINKER_FLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro
-Wl,-z,now" -DCMAKE_MODULE_LINKER_FLAGS="-Wl,-Bsymbolic-functions
-Wl,-z,relro -Wl,-z,now"
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro
-Wl,-z,now" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=1
-DWITH_PROJ=1 -DWITH_KML=1 -DWITH_SOS=1 -DWITH_WMS=1 -DWITH_GD=1
-DWITH_FRIBIDI=1 -DWITH_ICONV=1 -DWITH_CAIRO=1 -DWITH_SVGCAIRO=0
-DWITH_RSVG=1 -DWITH_MYSQL=0 -DWITH_FCGI=1 -DWITH_GEOS=1 -DWITH_POSTGIS=1
-DWITH_GDAL=1 -DWITH_OGR=1 -DWITH_CURL=1 -DWITH_CLIENT_WMS=1
-DWITH_CLIENT_WFS=1 -DWITH_WFS=1 -DWITH_WCS=1 -DWITH_LIBXML2=1
-DWITH_THREAD_SAFETY=1 -DWITH_GIF=1 -DWITH_ORACLESPATIAL=0
-DWITH_ORACLE_PLUGIN=0 -DWITH_MSSQL2008=0 -DWITH_SDE_PLUGIN=0 -DWITH_SDE=0
-DWITH_EXEMPI=0 -DWITH_XMLMAPFILE=0 -DWITH_PYTHON=1 -DWITH_PHP=1
-DWITH_PERL=1 -DWITH_RUBY=0 -DWITH_JAVA=0 -DWITH_CSHARP=0


and I get this error message :

Linking C executable legend
/usr/bin/cmake -E cmake_link_script CMakeFiles/legend.dir/link.txt
--verbose=1
/usr/bin/cc   -Wall -Wdeclaration-after-statement  -Wl,-Bsymbolic-functions
-Wl,-z,relro -Wl,-z,now CMakeFiles/legend.dir/legend.c.o  -o legend
-rdynamic libmapserver.so.6.5-dev -lpng -lz -ljpeg -lfreetype -lproj
-lfribidi /usr/local/lib/libharfbuzz.so -lcairo -lgeos_c -lpq -lgdal
-lrsvg-2 -lgobject-2.0 -lcurl -lxml2 -lpthread -lgif -ldl -lm
-Wl,-rpath,/vagrant/mapserver/build:/usr/local/lib: 
//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


Same error on master or in branch-6-4

I to use vagrant ubuntu/trusty64

Thanks.



Peter Freimuth-4 wrote
</pre>
      <blockquote type="cite">
        <pre wrap="">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 &lt;
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">thomas.bonfort@
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">&lt;mailto:
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">thomas.bonfort@
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">&gt;> 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 &lt;
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">peter.freimuth@
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">&lt;mailto:
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">peter.freimuth@
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">&gt;> 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
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:mapserver-dev@.osgeo">mapserver-dev@.osgeo</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">&lt;mailto:
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:mapserver-dev@.osgeo">mapserver-dev@.osgeo</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">&gt;
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a>



Peter Freimuth

BlackBridge AG | Sitz Berlin | Amtsgericht Charlottenburg -
Registergericht | HRB 152785 | Aufsichtsratsvorsitzender: David Westwood |
Vorstand: Ryan Johnson

_______________________________________________
mapserver-dev mailing list
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:mapserver-dev@.osgeo">mapserver-dev@.osgeo</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap=""><a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a>
</pre>
      </blockquote>
      <pre wrap="">




--
View this message in context: <a class="moz-txt-link-freetext" href="http://osgeo-org.1560.x6.nabble.com/build-problem-tp5164605p5166654.html">http://osgeo-org.1560.x6.nabble.com/build-problem-tp5164605p5166654.html</a>
Sent from the Mapserver - Dev mailing list archive at Nabble.com.
_______________________________________________
mapserver-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>