From: Oleh M. <ast...@gm...> - 2017-08-18 08:51:30
|
Hi all, I can't compile GD driver on Ubuntu 16.04. My cmake.out is: -- The C compiler identification is GNU 5.4.0 -- 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 -- Detecting C compile features -- Detecting C compile features - done -- CMake version = 3.9.1 -- CMAKE_SYSTEM_NAME = Linux -- SH_EXECUTABLE = /bin/bash -- Checking whether system has ANSI C header files -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Performing Test memchrExists -- Performing Test memchrExists - Success -- Performing Test freeExists -- Performing Test freeExists - Success -- Check for whether ctype.h macros work on characters with the high bit set. -- High-bit characters - work -- ANSI C header files - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file termios.h -- Looking for include file termios.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for crt_externs.h -- Looking for crt_externs.h - not found -- Performing Test HAVE_SYS_WAIT_H -- Performing Test HAVE_SYS_WAIT_H - Success -- Looking for DIR symbol in sys/types.h;dirent.h -- Looking for DIR symbol in sys/types.h;dirent.h - found -- Check for signal return type in <signal.h> -- Check for signal handler return type type void - found -- Looking for popen -- Looking for popen - found -- Looking for usleep -- Looking for usleep - found -- Looking for nanosleep -- Looking for nanosleep - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for mkdtemp -- Looking for mkdtemp - found -- Looking for mkfifo -- Looking for mkfifo - found -- Looking for unlink -- Looking for unlink - found -- Looking for _NSGetArgc -- Looking for _NSGetArgc - not found -- Looking for isfinite -- Looking for isfinite - found -- Looking for finite -- Looking for finite - found -- Looking for isnan -- Looking for isnan - found -- Looking for isinf -- Looking for isinf - found -- Looking for snprintf -- Looking for snprintf - found -- SWIG_VERSION = 3.0.8 -- Found Perl: /usr/bin/perl (found version "5.22.1") -- The CXX compiler identification is GNU 5.4.0 -- 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 -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for using namespace support -- Check for using namespace - found -- Looking for C++ include cmath -- Looking for C++ include cmath - found -- Check for broken isnan support in <cmath> -- Check for isnan in <cmath> - found -- Check for using stdint.h with CXX compiler -- Check for using stdint.h with CXX compiler - ok -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Looking for pkg-config - found -- cxx_compiler_library_pathname_list = /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so;/usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a;/usr/lib/x86_64-linux-gnu/libc.so;/usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so;/usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- X11_FOUND = 1 -- X11_INCLUDE_DIR = /usr/include -- X11_COMPILE_FLAGS = -I/usr/include -- X11_LIBRARIES = /usr/lib/x86_64-linux-gnu/libSM.so;/usr/lib/x86_64-linux-gnu/libICE.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- The Fortran compiler identification is GNU 5.4.0 -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes -- Check if isnan function is available in fortran -- Check for isnan in fortran - not found -- NOTICE: Found: /usr/bin/gfortran -- Found JNI: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjawt.so -- Found PythonInterp: /usr/bin/python (found version "2.7.12") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.12") -- PYTHON_VERSION = 2.7.12 -- Building Python binding with plsmem() support -- OCTAVE = /usr/bin/octave -- MKOCTFILE = /usr/bin/mkoctfile -- OCTAVE_CONFIG = /usr/bin/octave-config -- OCTAVE_VERSION = 4.0.0 -- WARNING: Octave-4 has been found which is likely to lead to build errors for PLplot. -- WARNING: Disabling Octave binding. If you want to use that component of PLplot you should try installing Octave-3 (which works well with PLplot) or else try the experimental cmake option -DTRY_OCTAVE4=ON -- Start determining consistent system data for Tcl and friends -- Found Tclsh: /usr/bin/tclsh (found version "8.6") -- Found TCL: /usr/lib/x86_64-linux-gnu/libtcl.so -- Could NOT find TCLTK (missing: TK_INCLUDE_PATH) -- Could NOT find TK (missing: TK_INCLUDE_PATH) -- Looking for Tcl - found -- TCL_INCLUDE_PATH = /usr/include/tcl -- TCL_LIBRARY = /usr/lib/x86_64-linux-gnu/libtcl.so -- TCL_STUB_LIBRARY = /usr/lib/x86_64-linux-gnu/libtclstub.a -- TCL_LIBRARY_PATH = /usr/lib/x86_64-linux-gnu -- Looking for tclsh - found -- TCL_TCLSH = /usr/bin/tclsh -- Looking for Tcl version with tclsh - found -- PLPLOT_TCL_VERSION = 8.6.5 -- Looking for itcl.h -- PLPLOT_ITCL_VERSION = 3.4 -- Looking for itcl.h - found -- ITCL_INCLUDE_PATH = /usr/include/itcl3 -- Checking for Itcl header version consistency -- ITCL_MAJOR_VERSION = 3 -- ITCL_MINOR_VERSION = 4 -- Checking for Itcl header version consistency - true -- Looking for itcl library -- Looking for itcl library - found -- ITCL_LIBRARY = /usr/lib/x86_64-linux-gnu/libitcl3.4.so -- Looking for Tk - not found -- WARNING: setting ENABLE_tk to OFF -- WARNING: Because Tk is disabled must disable Itk as well -- Finished determining consistent system data for Tcl and friends -- A test cmake run with language = Ada enabled failed. -- Specify -DENABLE_compiler_diagnostics=ON to see full CMake diagnostics concerning this failure. -- WARNING: no working Ada compiler so disabling Ada binding and examples. -- Could NOT find Lua (missing: LUA_EXECUTABLE LUA_VERSION LUA_LIBRARIES LUA_INCLUDE_DIR) -- WARNING: Lua library and/or header not found. Disabling Lua binding -- A test cmake run with language = D enabled failed. -- Specify -DENABLE_compiler_diagnostics=ON to see full CMake diagnostics concerning this failure. -- WARNING: no working D compiler so disabling D binding and examples. -- WARNING: SHAPELIB not found. Setting HAVE_SHAPELIB to OFF. -- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so -- FREETYPE_CFLAGS = -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu/freetype2 -- FREETYPE_LIBRARIES = /usr/lib/x86_64-linux-gnu/libfreetype.so -- Check for NaN awareness in C compiler -- Check for NaN awareness in C compiler - found -- Neither qhull/qhull_a.h header nor libqhull/qhull_a.h could be found -- qhull library could not be found -- Could NOT find QHULL (missing: QHULL_INCLUDE_DIRS QHULL_LIBRARIES QHULL_LIBRARY_DIRS) -- QHULL_INCLUDE_DIRS = -- QHULL_LIBRARIES = -- WARNING: at least one of QHULL_INCLUDE_DIRS or QHULL_LIBRARIES is false so setting PL_HAVE_QHULL to OFF. -- Checking for module 'pango' -- Found pango, version 1.38.1 -- Checking for module 'pangoft2' -- Found pangoft2, version 1.38.1 -- Found LTDL: /usr/lib/x86_64-linux-gnu/libltdl.so -- LTDL_INCLUDE_DIR = /usr/include -- LTDL_LIBRARY_DIR = /usr/lib/x86_64-linux-gnu -- LTDL_LIBRARIES = /usr/lib/x86_64-linux-gnu/libltdl.so -- Checking for module 'pangocairo' -- Found pangocairo, version 1.38.1 -- Not a Windows platform so setting wincairo driver to OFF. -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- WARNING: ENABLE_tk OFF. Therefore turning off tk, tkwin, and ntk devices -- Checking for modules 'lasi;pango;pangoft2' -- Found lasi, version 1.1.0 -- Found pango, version 1.38.1 -- Found pangoft2, version 1.38.1 -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found -- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.7", minimum required is "4.8.6") -- NP_QT_COMPILE_DEFINITIONS = QT_SVG_LIB;QT_GUI_LIB;QT_CORE_LIB -- QT_COMPILE_DEFINITIONS = -DQT_SVG_LIB;-DQT_GUI_LIB;-DQT_CORE_LIB -- NP_QT_INCLUDE_DIRECTORIES = /usr/include/qt4;/usr/include/qt4/QtSvg;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore -- QT_INCLUDE_DIRECTORIES = -isystem /usr/include/qt4;-isystem /usr/include/qt4/QtSvg;-isystem /usr/include/qt4/QtGui;-isystem /usr/include/qt4/QtCore -- Qt4 pc_qt_COMPILE_FLAGS = -I/usr/include/qt4 -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -- Qt4 pc_qt_LIBRARIES_LIST = /usr/lib/x86_64-linux-gnu/libQtSvg.so;/usr/lib/x86_64-linux-gnu/libQtGui.so;/usr/lib/x86_64-linux-gnu/libQtCore.so -- WARNING: PLPLOT_USE_QT5 is OFF so setting ENABLE_pyqt5 to OFF. -- pyqt: SIP_EXECUTABLE = /usr/bin/sip -- pyqt4: PYQT_SIP_DIR = /usr/share/sip/PyQt4 -- pyqt4: PYQT_SIP_FLAGS = -x;VendorID;-t;WS_X11;-x;PyQt_NoPrintRangeBug;-t;Qt_4_8_6;-x;Py_v3;-g -- wxWidgets_FOUND : TRUE -- wxWidgets_INCLUDE_DIRS : /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0;/usr/include/wx-3.0 -- wxWidgets_LIBRARY_DIRS : /usr/lib/x86_64-linux-gnu -- wxWidgets_LIBRARIES : -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_baseu-3.0;-lwx_gtk2u_core-3.0 -- wxWidgets_CXX_FLAGS : -pthread -- wxWidgets_USE_FILE : UsewxWidgets -- Checking whether wxwidgets version >= 3.0.0 -- Performing Test WX_VERSION_LARGE_ENOUGH -- Performing Test WX_VERSION_LARGE_ENOUGH - Success -- wxwidgets_COMPILE_FLAGS = -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -- wxwidgets_LINK_FLAGS = -pthread;/usr/lib/x86_64-linux-gnu/ libwx_baseu-3.0.so;/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so -- RT_LIB = /usr/lib/x86_64-linux-gnu/librt.so -- Looking for haru pdf header and library -- Looking for haru pdf header and library - not found -- WARNING: Setting PLD_pdf to OFF. -- OCAMLC = /usr/bin/ocamlc -- WARNING: The camlidl application not found. Disabling OCaml binding -- WARNING: ENABLE_ocaml is OFF so disabling Plcairo module and lablgtk2 support -- WARNING: validate target will not be available to check for syntax issues in the PLplot DocBook documentation because onsgmls (or env) was not found. pc_libplplot_LINK_FLAGS = /usr/lib/x86_64-linux-gnu/libltdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libfreetype.so;-lcsirocsa;-lqsastime -- WARNING concerning spurious warning messages generated by the gfortran compiler. The new Fortran binding is known to generate some ~50 "marked PRIVATE" warning messages when building the plplotf95 target with the gfortran Fortran compiler. A typical example of such a warning message is Warning: Symbol 'interface_plcont' at (1) is marked PRIVATE but has been given the binding label 'c_plcont' It appears these warnings (which do not occur if using the ifort or nagfor Fortran compilers) are due to a gfortran bug (see <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49111> and <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64861>), i.e., they are spurious warnings concerning completely valid use of the private attribute for interface blocks describing C routines. There appear to be no known negative consequences of this gfortran bug other than the spurious warnings themselves. Until this gfortran bug is fixed, these ~50 "marked PRIVATE" warnings should just be ignored for those using gfortran. -- ENABLE_itcl: ON -- Itcl libraries: plplot;/usr/lib/x86_64-linux-gnu/libtcl.so;/usr/lib/x86_64-linux-gnu/ libitcl3.4.so -- TEST_ENVIRONMENT = EXAMPLES_DIR=/home/astronom/build_dir/examples SRC_EXAMPLES_DIR=/home/astronom/plplot-5.12.0/examples OUTPUT_DIR=/home/astronom/build_dir/ctest_examples_output_dir VC_CTEST_DIRECTORY= -- Determine compile and link flags for extXdrawable_demo -- Checking for module 'gtk+-x11-2.0' -- Found gtk+-x11-2.0, version 2.24.30 -- Determine compile and link flags for ext-cairo-test -- Checking for module 'cairo' -- Found cairo, version 1.14.6 -- pc_qt_link_flags = -L"/usr/lib/x86_64-linux-gnu" -lQtSvg -L"/usr/lib/x86_64-linux-gnu" -lQtGui -L"/usr/lib/x86_64-linux-gnu" -lQtCore Summary of CMake build system results for PLplot Install location variables which can be set by the user: CMAKE_INSTALL_PREFIX: /usr/lib/plplot5.12.0 CMAKE_INSTALL_EXEC_PREFIX /usr/lib/plplot5.12.0 CMAKE_INSTALL_BINDIR /usr/lib/plplot5.12.0/bin CMAKE_INSTALL_DATADIR /usr/lib/plplot5.12.0/share CMAKE_INSTALL_LIBDIR /usr/lib/plplot5.12.0/lib CMAKE_INSTALL_INCLUDEDIR /usr/lib/plplot5.12.0/include CMAKE_INSTALL_INFODIR /usr/lib/plplot5.12.0/share/info CMAKE_INSTALL_MANDIR /usr/lib/plplot5.12.0/share/man Derived install location variables: DATA_DIR /usr/lib/plplot5.12.0/share/plplot5.12.0 LIB_DIR /usr/lib/plplot5.12.0/lib INCLUDE_DIR /usr/lib/plplot5.12.0/include/plplot BIN_DIR /usr/lib/plplot5.12.0/bin TCL_DIR /usr/lib/plplot5.12.0/share/plplot5.12.0/tcl ADA_INCLUDE_DIR /usr/lib/plplot5.12.0/share/ada/adainclude/plplotada ADA_LIB_DIR /usr/lib/plplot5.12.0/lib/ada/adalib/plplotada PYTHON_INSTDIR /usr/lib/plplot5.12.0/lib/python2.7/site-packages DRV_DIR /usr/lib/plplot5.12.0/lib/plplot5.12.0/drivers DOC_DIR /usr/lib/plplot5.12.0/share/doc/plplot MAN_DIR /usr/lib/plplot5.12.0/share/man INFO_DIR /usr/lib/plplot5.12.0/share/info Other important CMake variables: CMAKE_SYSTEM_NAME: Linux UNIX: 1 WIN32: APPLE: MSVC: (MSVC_VERSION: ) MINGW: MSYS: CYGWIN: BORLAND: WATCOM: SWIG_FOUND: 1 PERL_FOUND: TRUE X11_FOUND: 1 CMAKE_BUILD_TYPE: CMAKE_C_COMPILER CMAKE_C_FLAGS: /usr/bin/cc CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS: /usr/bin/c++ CMAKE_Fortran_COMPILER CMAKE_Fortran_FLAGS: /usr/bin/gfortran Target Fortran: PYTHON_EXECUTABLE: /usr/bin/python PYTHON_INCLUDE_PATH: /usr/include/python2.7 PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libpython2.7.so NUMPY_INCLUDE_PATH: /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy ENABLE_DYNDRIVERS: ON DRIVERS_LIST: cairo;qt;mem;null;ps;psttf;svg;wxwidgets;xfig;xwin DEVICES_LIST: memcairo;extcairo;pdfcairo;pngcairo;pscairo;epscairo;svgcairo;xcairo;epsqt;pdfqt;qtwidget;bmpqt;jpgqt;pngqt;ppmqt;tiffqt;extqt;memqt;svgqt;mem;null;ps;psttf;svg;wxwidgets;xfig;xwin Library options: BUILD_SHARED_LIBS: ON PL_DOUBLE: ON Optional libraries: PL_HAVE_QHULL: OFF WITH_CSA: ON PL_HAVE_FREETYPE: ON PL_HAVE_PTHREAD: ON HAVE_AGG: HAVE_SHAPELIB: OFF Language Bindings: ENABLE_ada: OFF ENABLE_cxx: ON ENABLE_d: OFF ENABLE_f95: ON ENABLE_java: ON ENABLE_lua: OFF ENABLE_ocaml: OFF ENABLE_octave: OFF ENABLE_pdl: OFF ENABLE_python: ON ENABLE_qt: ON ENABLE_pyqt4: ON ENABLE_pyqt5: OFF ENABLE_tcl: ON ENABLE_itcl: ON ENABLE_tk: OFF ENABLE_itk: OFF ENABLE_wxwidgets: ON -- Configuring done -- Generating done -- Build files have been written to: /home/astronom/build_dir -- With best regards, Oleh Malyi Albufeira PORTUGAL |