Re: gmt-5 Solaris acomp failed

wolfgang Cohrs <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <LISTSERV%[email protected]>
Hallo Florian

cmake ..
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /opt/csw/bin/gcc
-- Check for working C compiler: /opt/csw/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /opt/csw/bin/c++
-- Check for working CXX compiler: /opt/csw/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Searching dependent libraries. This may take a few minutes...
-- Looking for nc_def_var_deflate
-- Looking for nc_def_var_deflate - found
-- Found NETCDF: /opt/csw/lib/libnetcdf.so
-- Found GDAL: /opt/csw/gxx/lib/libgdal.so
-- Found PCRE: /opt/csw/lib/libpcre.so
-- Could NOT find FFTW3 (missing:  FFTW3F_LIBRARY FFTW3F_VERSION_RECENT)


/opt/csw/lib>la *fftw*
lrwxrwxrwx   1 root     root          25 Mrz  6  2013 libfftw3_threads.so.3
-> libfftw3_threads.so.3.3.2
-rwxr-xr-x   1 root     bin          44K Jan  2  2013 libfftw3_threads.so.3.3.2
lrwxrwxrwx   1 root     root          17 Mrz  6  2013 libfftw3.so.3 ->
libfftw3.so.3.3.2
-rwxr-xr-x   1 root     bin         1,8M Jan  2  2013 libfftw3.so.3.3.2
lrwxrwxrwx   1 root     root          26 Mrz  6  2013 libfftw3l_threads.so.3
-> libfftw3l_threads.so.3.3.2
-rwxr-xr-x   1 root     bin          44K Jan  2  2013 libfftw3l_threads.so.3.3.2
lrwxrwxrwx   1 root     root          18 Mrz  6  2013 libfftw3l.so.3 ->
libfftw3l.so.3.3.2
-rwxr-xr-x   1 root     bin         1,7M Jan  2  2013 libfftw3l.so.3.3.2


-- Looking for dladdr - found
CMake Error at cmake/modules/ConfigureChecks.cmake:221 (check_symbol_exists):
  CHECK_SYMBOL_EXISTS Macro invoked with incorrect arguments for macro named:
  CHECK_SYMBOL_EXISTS
Call Stack (most recent call first):
  src/CMakeLists.txt:110 (include)


CMake Error at cmake/modules/ConfigureChecks.cmake:222 (check_symbol_exists):
  CHECK_SYMBOL_EXISTS Macro invoked with incorrect arguments for macro named:
  CHECK_SYMBOL_EXISTS
Call Stack (most recent call first):
  src/CMakeLists.txt:110 (include)


-- Performing Test memchrExists - Failed
-- ANSI C header files - not found

-- Found GSHHG: /opt/GMT-5.1.1/src/gshhg-gmt-2.3.0
-- Found DCW: /opt/GMT-5.1.1/src/dcw-gmt-1.1.1
-- Using CFLAGS = '-std=gnu99 -O3 -DNDEBUG'
-- Found Sphinx: /opt/csw/bin/sphinx-build
*  Options:
*  Found GSHHG database       : /opt/GMT-5.1.1/src/gshhg-gmt-2.3.0 (2.3.0)
*  Found DCW-GMT database     : /opt/GMT-5.1.1/src/dcw-gmt-1.1.1
*  NetCDF library             : /opt/csw/lib/libnetcdf.so
*  NetCDF include dir         : /opt/csw/include
*  GDAL library               : /opt/csw/gxx/lib/libgdal.so
*  GDAL include dir           : /opt/csw/gxx/include
*  FFTW library               : FFTW3F_LIBRARY-NOTFOUND
*  FFTW include dir           : /opt/csw/include
*  Accelerate Framework       :
*  Regex support              : PCRE (/opt/csw/lib/libpcre.so)
*  ZLIB library               : /usr/lib/libz.so
*  ZLIB include dir           : /usr/include
*  License restriction        : no
*  Triangulation method       : Shewchuk
*  Build mode                 : shared
*  Build GMT core             : always [libgmt.so]
*  Build PSL library          : always [libpsl.so]
*  Build GMT supplements      : yes [supplements.so]
*  Build proto supplements    : none
*
*  Locations:
*  Installing GMT in          : /opt/GMT-5.1.1
*  GMT_DATADIR                : /opt/GMT-5.1.1/share
*  GMT_DOCDIR                 : /opt/GMT-5.1.1/share/doc
*  GMT_MANDIR                 : /opt/GMT-5.1.1/share/man
-- Configuring incomplete, errors occurred!
See also "/opt/GMT-5.1.1/src/gmt-5.1.1/build/CMakeFiles/CMakeOutput.log".
See also "/opt/GMT-5.1.1/src/gmt-5.1.1/build/CMakeFiles/CMakeError.log".

Wolfgang

On Fri, 7 Mar 2014 01:35:07 +0100, Florian Wobbe <[email protected]> wrote:

>SunOS guys, there is no guarantee that the SunPro compiler will work. Gcc
should be fine though with -DNO_SIGHANDLER. Please change the following
lines in cmake/modules/ConfigureChecks.cmake and remove build/CMakeCache.txt:
>
>-	check_symbol_exists (memalign       malloc.h HAVE_MEMALIGN)
>-	check_symbol_exists (posix_memalign stdlib.h HAVE_POSIX_MEMALIGN)
>+	check_function_exists (memalign       HAVE_MEMALIGN)
>+	check_function_exists (posix_memalign HAVE_POSIX_MEMALIGN)
>
>Also make sure that all dependent libs are available as 64 bit version and
configure with
>
>set (CMAKE_C_FLAGS -m64)
>
>otherwise your users will have no fun at all. Use the -m64 compiler flag
with GMT 4, too.
>
>Cheers
>Florian
>
>To unsubscribe, send the message "signoff gmt-help" to
[email protected]

To unsubscribe, send the message "signoff gmt-help" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.