<div dir="ltr"><div><div>Hi Thomas, <br><br>nope, unfortunately not. Deleted everything, rerun cmake, still got the same errors (strsstr, strlcat, strlcpy not found). This is one part of CMakeError.log:<br><br>Determining if the function strrstr exists failed with the following output:<br>Change Dir: /usr/local/src/mapserver-7.0.1/build/CMakeFiles/CMakeTmp<br><br>Run Build Command:"/usr/bin/gmake" "cmTryCompileExec1997038117/fast"<br>/usr/bin/gmake -f CMakeFiles/cmTryCompileExec1997038117.dir/build.make CMakeFiles/cmTryCompileExec1997038117.dir/build<br>gmake[1]: Entering directory `/usr/local/src/mapserver-7.0.1/build/CMakeFiles/CMakeTmp'<br>/usr/bin/cmake -E cmake_progress_report /usr/local/src/mapserver-7.0.1/build/CMakeFiles/CMakeTmp/CMakeFiles 1<br>Building C object CMakeFiles/cmTryCompileExec1997038117.dir/CheckFunctionExists.c.o<br>/usr/bin/cc -DCHECK_FUNCTION_EXISTS=strrstr -I/usr/local/src/mapserver-7.0.1/build/CMakeFiles/CMakeTmp/math.h -o CMakeFiles/cmTryCompileExec1997038117.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c<br>Linking C executable cmTryCompileExec1997038117<br>/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1997038117.dir/link.txt --verbose=1<br>/usr/bin/cc -DCHECK_FUNCTION_EXISTS=strrstr CMakeFiles/cmTryCompileExec1997038117.dir/CheckFunctionExists.c.o -o cmTryCompileExec1997038117 -rdynamic -lm<br>CMakeFiles/cmTryCompileExec1997038117.dir/CheckFunctionExists.c.o: In function `main':<br>CheckFunctionExists.c:(.text+0x15): undefined reference to `strrstr'<br>collect2: ld gab 1 als Ende-Status zurück<br>gmake[1]: Leaving directory `/usr/local/src/mapserver-7.0.1/build/CMakeFiles/CMakeTmp'<br>gmake[1]: *** [cmTryCompileExec1997038117] Fehler 1<br>gmake: *** [cmTryCompileExec1997038117/fast] Fehler 2<br><br></div>... (this is similarly repeated for the other functions)<br><br></div>Thanks, Michael<br><div><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-24 10:09 GMT+02:00 thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try deleting everything in the build directory and starting again,<br>
might be a cmake cache problem...<br>
<div class="HOEnZb"><div class="h5"><br>
On 24 June 2016 at 10:07, Michael Schulz <<a href="mailto:mandschulz@googlemail.com">mandschulz@googlemail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I have exactly the same issue here. Trying to build mapserver on SLES 11<br>
> SP4, I have disabled harfbuzz and fribidi:<br>
><br>
> cmake .. \<br>
> -DCMAKE_PREFIX_PATH=/opt/gdal-trunk \<br>
> -DWITH_CLIENT_WFS=ON \<br>
> -DWITH_CLIENT_WMS=ON \<br>
> -DWITH_CURL=ON \<br>
> -DWITH_SOS=ON \<br>
> -DWITH_PHP=ON \<br>
> -DWITH_PYTHON=ON \<br>
> -DWITH_SVGCAIRO=ON \<br>
> -DWITH_ORACLESPATIAL=ON \<br>
> -DWITH_HARFBUZZ=0 \<br>
> -DWITH_FRIBIDI=0 \<br>
> -DWITH_FCGI=0 \<br>
> >../configure.out.txt<br>
><br>
> configure.out:<br>
> -- The C compiler identification is GNU 4.3.4<br>
> -- The CXX compiler identification is GNU 4.3.4<br>
> -- Check for working C compiler: /usr/bin/cc<br>
> -- Check for working C compiler: /usr/bin/cc -- works<br>
> -- Detecting C compiler ABI info<br>
> -- Detecting C compiler ABI info - done<br>
> -- Check for working CXX compiler: /usr/bin/c++<br>
> -- Check for working CXX compiler: /usr/bin/c++ -- works<br>
> -- Detecting CXX compiler ABI info<br>
> -- Detecting CXX compiler ABI info - done<br>
> -- Looking for strrstr<br>
> -- Looking for strrstr - not found<br>
> -- Looking for strcasecmp<br>
> -- Looking for strcasecmp - found<br>
> -- Looking for strcasestr<br>
> -- Looking for strcasestr - found<br>
> -- Looking for strdup<br>
> -- Looking for strdup - found<br>
> -- Looking for strlcat<br>
> -- Looking for strlcat - not found<br>
> -- Looking for strlcpy<br>
> -- Looking for strlcpy - not found<br>
> -- Looking for strlen<br>
> -- Looking for strlen - found<br>
> -- Looking for strncasecmp<br>
> -- Looking for strncasecmp - found<br>
> -- Looking for vsnprintf<br>
> -- Looking for vsnprintf - found<br>
> -- Looking for lrintf<br>
> -- Looking for lrintf - found<br>
> -- Looking for lrint<br>
> -- Looking for lrint - found<br>
> -- Looking for dlfcn.h<br>
> -- Looking for dlfcn.h - found<br>
> -- Performing Test HAVE_SYNC_FETCH_AND_ADD<br>
> -- Performing Test HAVE_SYNC_FETCH_AND_ADD - Success<br>
> -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")<br>
> -- Found PNG: /usr/lib64/libpng.so (found version "1.2.31")<br>
> -- Found JPEG: /usr/lib64/libjpeg.so<br>
> -- Found Freetype: /usr/lib64/libfreetype.so<br>
> -- Found PROJ: /usr/lib64/libproj.so<br>
> -- Looking for iconv<br>
> -- Looking for iconv - found<br>
> -- Found iconv library:<br>
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.23")<br>
> -- checking for module 'cairo'<br>
> -- found cairo, version 1.8.8<br>
> -- Found CAIRO: /usr/lib64/libcairo.so<br>
> -- Found ORACLE:<br>
> /home/oracle/app/oracle/product/12.1.0/client_1/lib/libclntsh.so;/home/oracle/app/oracle/product/12.1.0/client_1/lib/libocci.so;/home/oracle/app/oracle/product/12.1.0/client_1/lib/libnnz12.so<br>
> -- Found GEOS: /usr/lib64/libgeos_c.so<br>
> -- Found POSTGRESQL: /usr/lib64/libpq.so<br>
> -- Looking for PQserverVersion in pq<br>
> -- Looking for PQserverVersion in pq - found<br>
> -- Found GDAL: /opt/gdal-trunk/lib/libgdal.so<br>
> -- Found SVG: /usr/local/lib/libsvg.so<br>
> -- Found SVGCAIRO: /usr/local/lib/libsvg-cairo.so<br>
> -- Found CURL: /usr/lib64/libcurl.so (found version "7.19.7")<br>
> -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.7.6")<br>
> -- Performing Test GIF_GifFileType_UserData<br>
> -- Performing Test GIF_GifFileType_UserData - Success<br>
> -- Found GIF: /usr/lib64/libgif.so (found version "4")<br>
> -- Found SWIG: /usr/bin/swig (found version "1.3.36")<br>
> -- Found PythonInterp: /usr/bin/python (found version "2.6.9")<br>
> -- * Summary of configured options for this build<br>
> -- * Mandatory components<br>
> -- * png: /usr/lib64/libpng.so<br>
> -- * jpeg: /usr/lib64/libjpeg.so<br>
> -- * freetype: /usr/lib64/libfreetype.so<br>
> -- * Optional components<br>
> -- * GDAL: /opt/gdal-trunk/lib/libgdal.so<br>
> -- * OGR: /opt/gdal-trunk/lib/libgdal.so<br>
> -- * GIF: /usr/lib64/libgif.so<br>
> -- * MYSQL: disabled<br>
> -- * FRIBIDI: disabled<br>
> -- * HARFBUZZ: disabled<br>
> -- * GIF: /usr/lib64/libgif.so<br>
> -- * CAIRO: /usr/lib64/libcairo.so<br>
> -- * SVGCAIRO: /usr/local/lib/libsvg-cairo.so<br>
> -- * RSVG: disabled<br>
> -- * CURL: /usr/lib64/libcurl.so<br>
> -- * PROJ: /usr/lib64/libproj.so<br>
> -- * PIXMAN: disabled<br>
> -- * LIBXML2: /usr/lib64/libxml2.so<br>
> -- * POSTGIS: /usr/lib64/libpq.so<br>
> -- * GEOS: /usr/lib64/libgeos_c.so<br>
> -- * FastCGI: disabled<br>
> -- * Oracle Spatial:<br>
> /home/oracle/app/oracle/product/12.1.0/client_1/lib/libclntsh.so;/home/oracle/app/oracle/product/12.1.0/client_1/lib/libocci.so;/home/oracle/app/oracle/product/12.1.0/client_1/lib/libnnz12.so<br>
> -- * Exempi XMP: disabled<br>
> -- * Optional features<br>
> -- * WMS SERVER: ENABLED<br>
> -- * WFS SERVER: ENABLED<br>
> -- * WCS SERVER: ENABLED<br>
> -- * SOS SERVER: ENABLED<br>
> -- * WMS CLIENT: ENABLED<br>
> -- * WFS CLIENT: ENABLED<br>
> -- * ICONV: ENABLED<br>
> -- * Thread-safety support: disabled<br>
> -- * KML output: disabled<br>
> -- * Z+M point coordinate support: disabled<br>
> -- * XML Mapfile support: disabled<br>
> -- * Mapscripts<br>
> -- * Python: ENABLED<br>
> -- * PHP: ENABLED<br>
> -- * PERL: disabled<br>
> -- * RUBY: disabled<br>
> -- * JAVA: disabled<br>
> -- * C#: disabled<br>
> -- * V8 Javascript: disabled<br>
> -- * Apache Module (Experimental): disabled<br>
> --<br>
> -- Will install files to /usr/local<br>
> -- Will install libraries to /usr/local/lib<br>
> -- Configuring incomplete, errors occurred!<br>
><br>
> Is this related to disabling Harfbuzz or Fribidi? I understood that Harfbuzz<br>
> is not needed unless for special languages character rendering?<br>
><br>
> Thanks, Michael<br>
><br>
><br>
> 2016-06-24 8:36 GMT+02:00 thomas bonfort <<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>>:<br>
>><br>
>> Matthew,<br>
>> What configure flags did you use to build harfbuzz? What harfbuzz<br>
>> version are you using?<br>
>><br>
>> --<br>
>> thomas<br>
>><br>
>><br>
>> On 21 June 2016 at 20:41, Cechini, Matthew F. (GSFC-423.0)[Science<br>
>> Systems & Applications, Inc.] <<a href="mailto:matthew.f.cechini@nasa.gov">matthew.f.cechini@nasa.gov</a>> wrote:<br>
>> > As it turns out, the issue is Harfbuzz:<br>
>> ><br>
>> > In the pre-compile checks, I see this:<br>
>> ><br>
>> > -- checking for module 'harfbuzz>=0.9.18'<br>
>> ><br>
>> > -- package 'harfbuzz>=0.9.18' not found<br>
>> ><br>
>> > -- Found HarfBuzz: /usr/local/include/harfbuzz<br>
>> ><br>
>> ><br>
>> > Seems ok, it didn’t find an installed RPM/package, but it finds the<br>
>> > directory where I build and installed manually.<br>
>> ><br>
>> > But the problem then is that there is a missing header file from<br>
>> > Harfbuzz:<br>
>> ><br>
>> > In file included from<br>
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.c:32:<br>
>> ><br>
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.h:15:20: error:<br>
>> > hb-ft.h: No such file or directory<br>
>> ><br>
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.c: In function<br>
>> > 'msFreeFontCache':<br>
>> ><br>
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.c:82: warning:<br>
>> > implicit declaration of function 'hb_font_destroy'<br>
>> ><br>
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.c:84: warning:<br>
>> > implicit declaration of function 'hb_font_funcs_destroy'<br>
>> ><br>
>> ><br>
>> > I see that particular header file in the src directory, from which `make<br>
>> > install` is run for harfbuzz… but it’s not “installed”. I can’t seem to<br>
>> > find an RPM for Centos 6, so building from source seems to be the path I<br>
>> > have to follow.<br>
>> ><br>
>> > Matt<br>
>> > .................................................................<br>
>> > Matthew Cechini<br>
>> > Contractor, Science Systems and Applications, Inc.<br>
>> > NASA GIBS Systems/Software Engineer<br>
>> > 410.205.6272<br>
>> ><br>
>> > From: Thomas Gratier <<a href="mailto:osgeo.mailinglist@gmail.com">osgeo.mailinglist@gmail.com</a>><br>
>> > Date: Tuesday, June 21, 2016 at 12:30 PM<br>
>> > To: Matthew Cechini <<a href="mailto:matthew.f.cechini@nasa.gov">matthew.f.cechini@nasa.gov</a>><br>
>> > Cc: "<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>" <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>><br>
>> > Subject: Re: [mapserver-users] Building Mapserver - missing strlcat...<br>
>> > methods<br>
>> ><br>
>> > Hi,<br>
>> ><br>
>> > "build map server 7.0.1 on linux": distro, architecture?<br>
>> ><br>
>> > You should look at<br>
>> > <a href="https://github.com/mapserver/mapserver/blob/branch-7-0/.travis.yml" rel="noreferrer" target="_blank">https://github.com/mapserver/mapserver/blob/branch-7-0/.travis.yml</a> to<br>
>> > find<br>
>> > out more about MapServer deps.<br>
>> ><br>
>> > Cheers<br>
>> ><br>
>> ><br>
>> > Thomas Gratier<br>
>> ><br>
>> > 2016-06-20 22:35 GMT+02:00 Cechini, Matthew F. (GSFC-423.0)[Science<br>
>> > Systems<br>
>> > & Applications, Inc.] <<a href="mailto:matthew.f.cechini@nasa.gov">matthew.f.cechini@nasa.gov</a>>:<br>
>> >><br>
>> >> I’m attempting to build map server 7.0.1 on linux and am getting the<br>
>> >> following errors. I’m sure I’m missing some dependency… but google has<br>
>> >> failed me to figure it out. Help?<br>
>> >><br>
>> >> -- Looking for strrstr - not found<br>
>> >> -- Looking for strlcat - not found<br>
>> >> -- Looking for strlcpy - not found<br>
>> >> -- Looking for PQserverVersion in pq - not found<br>
>> >> -- Looking for pthread_create - not found<br>
>> >> -- Looking for pthread_create in pthreads - not found<br>
>> >><br>
>> >> Matt<br>
>> >> .................................................................<br>
>> >> Matthew Cechini<br>
>> >> Contractor, Science Systems and Applications, Inc.<br>
>> >> NASA GIBS Systems/Software Engineer<br>
>> >> <a href="tel:410.205.6272" value="+14102056272">410.205.6272</a><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> mapserver-users mailing list<br>
>> >> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
>> >> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > mapserver-users mailing list<br>
>> > <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
>> > <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
>> _______________________________________________<br>
>> mapserver-users mailing list<br>
>> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
><br>
><br>
><br>
> --<br>
> -----------------------------------------------------------<br>
> Michael Schulz<br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div></div></div>
</div></div>