[mapserver-users] Building Mapserver - missing strlcat... methods
thomas bonfort
thomas.bonfort at gmail.com
Fri Jun 24 01:09:40 PDT 2016
Try deleting everything in the build directory and starting again,
might be a cmake cache problem...
On 24 June 2016 at 10:07, Michael Schulz <mandschulz at googlemail.com> wrote:
> Hi,
>
> I have exactly the same issue here. Trying to build mapserver on SLES 11
> SP4, I have disabled harfbuzz and fribidi:
>
> cmake .. \
> -DCMAKE_PREFIX_PATH=/opt/gdal-trunk \
> -DWITH_CLIENT_WFS=ON \
> -DWITH_CLIENT_WMS=ON \
> -DWITH_CURL=ON \
> -DWITH_SOS=ON \
> -DWITH_PHP=ON \
> -DWITH_PYTHON=ON \
> -DWITH_SVGCAIRO=ON \
> -DWITH_ORACLESPATIAL=ON \
> -DWITH_HARFBUZZ=0 \
> -DWITH_FRIBIDI=0 \
> -DWITH_FCGI=0 \
> >../configure.out.txt
>
> configure.out:
> -- The C compiler identification is GNU 4.3.4
> -- The CXX compiler identification is GNU 4.3.4
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Looking for strrstr
> -- Looking for strrstr - not found
> -- Looking for strcasecmp
> -- Looking for strcasecmp - found
> -- Looking for strcasestr
> -- Looking for strcasestr - found
> -- Looking for strdup
> -- Looking for strdup - found
> -- Looking for strlcat
> -- Looking for strlcat - not found
> -- Looking for strlcpy
> -- Looking for strlcpy - not found
> -- Looking for strlen
> -- Looking for strlen - found
> -- Looking for strncasecmp
> -- Looking for strncasecmp - found
> -- Looking for vsnprintf
> -- Looking for vsnprintf - found
> -- Looking for lrintf
> -- Looking for lrintf - found
> -- Looking for lrint
> -- Looking for lrint - found
> -- Looking for dlfcn.h
> -- Looking for dlfcn.h - found
> -- Performing Test HAVE_SYNC_FETCH_AND_ADD
> -- Performing Test HAVE_SYNC_FETCH_AND_ADD - Success
> -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
> -- Found PNG: /usr/lib64/libpng.so (found version "1.2.31")
> -- Found JPEG: /usr/lib64/libjpeg.so
> -- Found Freetype: /usr/lib64/libfreetype.so
> -- Found PROJ: /usr/lib64/libproj.so
> -- Looking for iconv
> -- Looking for iconv - found
> -- Found iconv library:
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.23")
> -- checking for module 'cairo'
> -- found cairo, version 1.8.8
> -- Found CAIRO: /usr/lib64/libcairo.so
> -- Found ORACLE:
> /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
> -- Found GEOS: /usr/lib64/libgeos_c.so
> -- Found POSTGRESQL: /usr/lib64/libpq.so
> -- Looking for PQserverVersion in pq
> -- Looking for PQserverVersion in pq - found
> -- Found GDAL: /opt/gdal-trunk/lib/libgdal.so
> -- Found SVG: /usr/local/lib/libsvg.so
> -- Found SVGCAIRO: /usr/local/lib/libsvg-cairo.so
> -- Found CURL: /usr/lib64/libcurl.so (found version "7.19.7")
> -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.7.6")
> -- Performing Test GIF_GifFileType_UserData
> -- Performing Test GIF_GifFileType_UserData - Success
> -- Found GIF: /usr/lib64/libgif.so (found version "4")
> -- Found SWIG: /usr/bin/swig (found version "1.3.36")
> -- Found PythonInterp: /usr/bin/python (found version "2.6.9")
> -- * Summary of configured options for this build
> -- * Mandatory components
> -- * png: /usr/lib64/libpng.so
> -- * jpeg: /usr/lib64/libjpeg.so
> -- * freetype: /usr/lib64/libfreetype.so
> -- * Optional components
> -- * GDAL: /opt/gdal-trunk/lib/libgdal.so
> -- * OGR: /opt/gdal-trunk/lib/libgdal.so
> -- * GIF: /usr/lib64/libgif.so
> -- * MYSQL: disabled
> -- * FRIBIDI: disabled
> -- * HARFBUZZ: disabled
> -- * GIF: /usr/lib64/libgif.so
> -- * CAIRO: /usr/lib64/libcairo.so
> -- * SVGCAIRO: /usr/local/lib/libsvg-cairo.so
> -- * RSVG: disabled
> -- * CURL: /usr/lib64/libcurl.so
> -- * PROJ: /usr/lib64/libproj.so
> -- * PIXMAN: disabled
> -- * LIBXML2: /usr/lib64/libxml2.so
> -- * POSTGIS: /usr/lib64/libpq.so
> -- * GEOS: /usr/lib64/libgeos_c.so
> -- * FastCGI: disabled
> -- * Oracle Spatial:
> /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
> -- * Exempi XMP: disabled
> -- * Optional features
> -- * WMS SERVER: ENABLED
> -- * WFS SERVER: ENABLED
> -- * WCS SERVER: ENABLED
> -- * SOS SERVER: ENABLED
> -- * WMS CLIENT: ENABLED
> -- * WFS CLIENT: ENABLED
> -- * ICONV: ENABLED
> -- * Thread-safety support: disabled
> -- * KML output: disabled
> -- * Z+M point coordinate support: disabled
> -- * XML Mapfile support: disabled
> -- * Mapscripts
> -- * Python: ENABLED
> -- * PHP: ENABLED
> -- * PERL: disabled
> -- * RUBY: disabled
> -- * JAVA: disabled
> -- * C#: disabled
> -- * V8 Javascript: disabled
> -- * Apache Module (Experimental): disabled
> --
> -- Will install files to /usr/local
> -- Will install libraries to /usr/local/lib
> -- Configuring incomplete, errors occurred!
>
> Is this related to disabling Harfbuzz or Fribidi? I understood that Harfbuzz
> is not needed unless for special languages character rendering?
>
> Thanks, Michael
>
>
> 2016-06-24 8:36 GMT+02:00 thomas bonfort <thomas.bonfort at gmail.com>:
>>
>> Matthew,
>> What configure flags did you use to build harfbuzz? What harfbuzz
>> version are you using?
>>
>> --
>> thomas
>>
>>
>> On 21 June 2016 at 20:41, Cechini, Matthew F. (GSFC-423.0)[Science
>> Systems & Applications, Inc.] <matthew.f.cechini at nasa.gov> wrote:
>> > As it turns out, the issue is Harfbuzz:
>> >
>> > In the pre-compile checks, I see this:
>> >
>> > -- checking for module 'harfbuzz>=0.9.18'
>> >
>> > -- package 'harfbuzz>=0.9.18' not found
>> >
>> > -- Found HarfBuzz: /usr/local/include/harfbuzz
>> >
>> >
>> > Seems ok, it didn’t find an installed RPM/package, but it finds the
>> > directory where I build and installed manually.
>> >
>> > But the problem then is that there is a missing header file from
>> > Harfbuzz:
>> >
>> > In file included from
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.c:32:
>> >
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.h:15:20: error:
>> > hb-ft.h: No such file or directory
>> >
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.c: In function
>> > 'msFreeFontCache':
>> >
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.c:82: warning:
>> > implicit declaration of function 'hb_font_destroy'
>> >
>> > /home/vagrant/rpmbuild/BUILD/mapserver-7.0.1/fontcache.c:84: warning:
>> > implicit declaration of function 'hb_font_funcs_destroy'
>> >
>> >
>> > I see that particular header file in the src directory, from which `make
>> > install` is run for harfbuzz… but it’s not “installed”. I can’t seem to
>> > find an RPM for Centos 6, so building from source seems to be the path I
>> > have to follow.
>> >
>> > Matt
>> > .................................................................
>> > Matthew Cechini
>> > Contractor, Science Systems and Applications, Inc.
>> > NASA GIBS Systems/Software Engineer
>> > 410.205.6272
>> >
>> > From: Thomas Gratier <osgeo.mailinglist at gmail.com>
>> > Date: Tuesday, June 21, 2016 at 12:30 PM
>> > To: Matthew Cechini <matthew.f.cechini at nasa.gov>
>> > Cc: "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org>
>> > Subject: Re: [mapserver-users] Building Mapserver - missing strlcat...
>> > methods
>> >
>> > Hi,
>> >
>> > "build map server 7.0.1 on linux": distro, architecture?
>> >
>> > You should look at
>> > https://github.com/mapserver/mapserver/blob/branch-7-0/.travis.yml to
>> > find
>> > out more about MapServer deps.
>> >
>> > Cheers
>> >
>> >
>> > Thomas Gratier
>> >
>> > 2016-06-20 22:35 GMT+02:00 Cechini, Matthew F. (GSFC-423.0)[Science
>> > Systems
>> > & Applications, Inc.] <matthew.f.cechini at nasa.gov>:
>> >>
>> >> I’m attempting to build map server 7.0.1 on linux and am getting the
>> >> following errors. I’m sure I’m missing some dependency… but google has
>> >> failed me to figure it out. Help?
>> >>
>> >> -- Looking for strrstr - not found
>> >> -- Looking for strlcat - not found
>> >> -- Looking for strlcpy - not found
>> >> -- Looking for PQserverVersion in pq - not found
>> >> -- Looking for pthread_create - not found
>> >> -- Looking for pthread_create in pthreads - not found
>> >>
>> >> Matt
>> >> .................................................................
>> >> Matthew Cechini
>> >> Contractor, Science Systems and Applications, Inc.
>> >> NASA GIBS Systems/Software Engineer
>> >> 410.205.6272
>> >>
>> >> _______________________________________________
>> >> mapserver-users mailing list
>> >> mapserver-users at lists.osgeo.org
>> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> >
>> >
>> >
>> > _______________________________________________
>> > mapserver-users mailing list
>> > mapserver-users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
>
> --
> -----------------------------------------------------------
> Michael Schulz
>
>
More information about the MapServer-users
mailing list