SCIENTIFIC-LINUX-USERS Archives

July 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Eve V. E. Kovacs" <[log in to unmask]>
Reply To:
Eve V. E. Kovacs
Date:
Thu, 29 Jul 2010 14:32:49 -0500
Content-Type:
multipart/mixed
Parts/Attachments:
TEXT/PLAIN (1251 bytes) , cmake.out (13 kB)
I am trying to build plplot on a Scientific-Linux 5.3 x86_64 system.
I am able to build the basic package, but would like to include other graphics 
devices via qt4. Unfortunately, cmake cannot find the qt4 packages that I 
have installed.

I have installed the rpms
qt4-4.2.1-1.x86_64
qt4-devel-4.2.1-1.x86_64

The command I use to run cmake is:
cmake -DCMAKE_INSTALL_PREFIX=/usr/local /opt/plplot-5.9.5 >& cmake.out

I get the error
- WARNING: Qt4 development environment not found so disabling all qt devices.

I found instructions on how to point cmake to non-standard locations by using:
export CMAKE_INCLUDE_PATH=/usr/lib64/qt4/include/
export CMAKE_LIBRARY_PATH=/usr/lib64/qt4/lib64/
I tried setting these but it didn't help.

I have attached the cmake.out file, in case it helps (I know I have a few other 
things missing in the build..I am not worried about those...I just want the Qt4 
part to work)

Has anyone tried to do this, or experienced a similar problem?

Thanks
Eve


***************************************************************
Eve Kovacs
Argonne National Laboratory,
Room E-217, Bldg. 362, HEP
9700 S. Cass Ave.
Argonne, IL 60439 USA
Phone: (630)-252-6208
Fax:   (630)-252-5047
email: [log in to unmask]
***************************************************************



-- The C compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- CMake version = 2.6.4 -- Checking whether system has ANSI C header files -- Looking for include files StandardHeadersExist -- Looking for include files StandardHeadersExist - 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 files PL_HAVE_UNISTD_H -- Looking for include files PL_HAVE_UNISTD_H - found -- Looking for include files HAVE_TERMIOS_H -- Looking for include files HAVE_TERMIOS_H - found -- Looking for include files PL_HAVE_STDINT_H -- Looking for include files PL_HAVE_STDINT_H - found -- Performing Test HAVE_SYS_WAIT_H -- Performing Test HAVE_SYS_WAIT_H - Success -- Looking for DIR in sys/types.h;dirent.h -- Looking for DIR 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 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 = 1.3.29 -- Found Perl: /usr/bin/perl -- Looking for pkg-config - found -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/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/lib64/libX11.so -- X11_FOUND = 1 -- X11_INCLUDE_DIR = /usr/include -- X11_COMPILE_FLAGS = -I/usr/include -- X11_LIBRARIES = /usr/lib64/libSM.so;/usr/lib64/libICE.so;/usr/lib64/libX11.so;/usr/lib64/libXext.so -- CMAKE_GENERATOR = Unix Makefiles -- The CXX compiler identification is GNU -- 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 -- Configuring done -- Generating done -- Build files have been written to: /opt/test/plplot-5.9.5/build_dir/language_tests/CXX -- The CXX compiler identification is GNU -- 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 -- 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 -- CMAKE_GENERATOR = Unix Makefiles -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/f95 -- Check for working Fortran compiler: /usr/bin/f95 -- works -- Checking whether /usr/bin/f95 supports Fortran 90 -- Checking whether /usr/bin/f95 supports Fortran 90 -- yes -- Configuring done -- Generating done -- Build files have been written to: /opt/test/plplot-5.9.5/build_dir/language_tests/Fortran -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/f95 -- Check for working Fortran compiler: /usr/bin/f95 -- works -- Checking whether /usr/bin/f95 supports Fortran 90 -- Checking whether /usr/bin/f95 supports Fortran 90 -- yes -- Check for f77 command line support -- Check for f77 command line support - found -- Check if isnan function is available in fortran -- Check for isnan in fortran - not found -- NOTICE: Found: /usr/bin/f95 -- CMAKE_GENERATOR = Unix Makefiles -- Configuring done -- Generating done -- Build files have been written to: /opt/test/plplot-5.9.5/build_dir/language_tests/Java -- Found PythonInterp: /usr/bin/python2.4 -- Found PythonLibs: /usr/lib64/python2.4/config/libpython2.4.a Traceback (most recent call last): File "<string>", line 1, in ? ImportError: No module named numpy -- WARNING: octave not found. Disabling octave bindings -- Looking for include paths and libraries for Tcl/Tk -- Looking for include paths and libraries for Tcl/Tk - not found -- WARNING: Disabling everything that is Tcl/Tk related -- WARNING: perl PDL module not found. Disabling Perl/PDL examples -- CMAKE_GENERATOR = Unix Makefiles -- Check for working Ada builder: GNAT_EXECUTABLE_BUILDER-NOTFOUND -- Check for working Ada builder: GNAT_EXECUTABLE_BUILDER-NOTFOUND -- broken CMake Error at /opt/test/plplot-5.9.5/cmake/modules/CMakeTestAdaCompiler.cmake:48 (MESSAGE): The Ada builder "GNAT_EXECUTABLE_BUILDER-NOTFOUND" is not able to compile, bind, and link a simple test program. It fails with the following output: Change Dir: /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake /usr/bin/cmake -H/opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp -B/opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp/CMakeFiles /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp/CMakeFiles/progress.make /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory `/opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/testadacompiler.dir/build.make CMakeFiles/testadacompiler.dir/depend gmake[2]: Entering directory `/opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp' cd /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp/CMakeFiles/testadacompiler.dir/DependInfo.cmake --color= Scanning dependencies of target testadacompiler gmake[2]: Leaving directory `/opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/testadacompiler.dir/build.make CMakeFiles/testadacompiler.dir/build gmake[2]: Entering directory `/opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp/CMakeFiles 1 [100%] Building Ada object CMakeFiles/testadacompiler.dir/testadacompiler.o /usr/bin/gcc -c /opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp/testadacompiler.adb -o CMakeFiles/testadacompiler.dir/testadacompiler.o gcc: error trying to exec 'gnat1': execvp: No such file or directory gmake[2]: *** [CMakeFiles/testadacompiler.dir/testadacompiler.o] Error 1 gmake[2]: Leaving directory `/opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp' gmake[1]: *** [CMakeFiles/testadacompiler.dir/all] Error 2 gmake[1]: Leaving directory `/opt/test/plplot-5.9.5/build_dir/language_tests/Ada/CMakeFiles/CMakeTmp' gmake: *** [all] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:7 (enable_language) -- Configuring incomplete, errors occurred! -- WARNING: no working Ada compiler so disabling Ada bindings and examples. -- WARNING: ocamlbuild not found. Disabling ocaml bindings -- WARNING: swig version too old for Lua bindings. Disabling Lua bindings. -- CMAKE_GENERATOR = Unix Makefiles -- D Compiler Install Prefix (use D_PATH env var to override): CMAKE_D_COMPILER- CMake Error: your D compiler: "CMAKE_D_COMPILER-NOTFOUND" was not found. Please set CMAKE_D_COMPILER to a valid compiler path or name. -- Configuring incomplete, errors occurred! -- WARNING: no working D compiler so disabling D bindings and examples. -- FREETYPE_INCLUDE_DIR = /usr/include/freetype2 -- FREETYPE_LIBRARIES = /usr/lib64/libfreetype.so Fonts not found - disabling freetype -- Check for NaN awareness in C compiler -- Check for NaN awareness in C compiler - found -- FindQHull: Found both qhull_a.h and libqhull.a -- Looking for qh_new_qhull -- Looking for qh_new_qhull - found -- QHULL_INCLUDE_DIRS = /usr/include -- QHULL_LIBRARIES = /usr/lib64/libqhull.so -- checking for module 'pango' -- found pango, version 1.14.9 -- checking for module 'pangoft2' -- found pangoft2, version 1.14.9 -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Found LTDL: /usr/lib64/libltdl.so;/usr/lib64/libdl.so -- LTDL_INCLUDE_DIR = /usr/include -- LTDL_LIBRARY_DIR = /usr/lib64 -- LTDL_LIBRARIES = /usr/lib64/libltdl.so;/usr/lib64/libdl.so -- checking for module 'pangocairo' -- found pangocairo, version 1.14.9 Pango Cairo version (1.14.9) < 1.20.5, if text rendering is slow recommend turning off text clipping -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - 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. Setting PLD_tk, PLD_ntk, and PLD_tkwin OFF. -- checking for modules 'lasi;pango;pangoft2' -- package 'lasi' not found includedir = libdir = linkflags = cflags = -- WARNING: pango, pangoft2, or lasi not found with pkg-config. Setting PLD_psttf to OFF. Please install all of these packages and/or set the environment variable PKG_CONFIG_PATH appropriately. -- WARNING: Qt4 development environment not found so disabling all qt devices. -- WARNING: PLD_extqt is OFF so setting ENABLE_qt to OFF. -- WARNING: ENABLE_qt is OFF so setting ENABLE_pyqt4 to OFF. -- WARNING: wxWidgets not found so setting all wxwidgets devices to OFF. -- WARNING: PLD_wxwidgets is OFF so setting ENABLE_wxwidgets to OFF. -- validate target will be available to check for syntax errors in the PLplot DocBook documentation using /usr/bin/onsgmls. Summary of CMake build system results for PLplot Install location variables which can be set by the user: CMAKE_INSTALL_PREFIX: /usr/local CMAKE_INSTALL_EXEC_PREFIX /usr/local CMAKE_INSTALL_BINDIR /usr/local/bin CMAKE_INSTALL_DATADIR /usr/local/share CMAKE_INSTALL_LIBDIR /usr/local/lib CMAKE_INSTALL_INCLUDEDIR /usr/local/include CMAKE_INSTALL_INFODIR /usr/local/share/info CMAKE_INSTALL_MANDIR /usr/local/share/man Derived install location variables: DATA_DIR /usr/local/share/plplot5.9.5 LIB_DIR /usr/local/lib INCLUDE_DIR /usr/local/include/plplot BIN_DIR /usr/local/bin TCL_DIR /usr/local/share/plplot5.9.5/tcl ADA_INCLUDE_DIR /usr/local/share/ada/adainclude/plplotadad ADA_LIB_DIR /usr/local/lib/ada/adalib/plplotadad PYTHON_INSTDIR /usr/local/lib64/python2.4/site-packages DRV_DIR /usr/local/lib/plplot5.9.5/driversd DOC_DIR /usr/local/share/doc/plplot MAN_DIR /usr/local/share/man INFO_DIR /usr/local/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/gcc CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS: /usr/bin/c++ CMAKE_Fortran_COMPILER CMAKE_Fortran_FLAGS: /usr/bin/f95 Target Fortran: PYTHON_EXECUTABLE: /usr/bin/python2.4 PYTHON_INCLUDE_PATH: /usr/include/python2.4;/usr/include/python2.4/Numeric PYTHON_LIBRARIES: /usr/lib64/python2.4/config/libpython2.4.a LIB_TAG: d ENABLE_DYNDRIVERS: ON DRIVERS_LIST: cairo;mem;null;ps;svg;xfig;xwin DEVICES_LIST: extcairo;pdfcairo;pngcairo;pscairo;svgcairo;xcairo;mem;null;ps;svg;xfig;xwin Library options: BUILD_SHARED_LIBS: ON PL_DOUBLE: ON Optional libraries: HAVE_QHULL: ON WITH_CSA: ON HAVE_FREETYPE: HAVE_PTHREAD: ON HAVE_AGG: Language Bindings: ENABLE_f77: ON ENABLE_f95: ON ENABLE_cxx: ON ENABLE_java: ON ENABLE_python: ON ENABLE_octave: OFF ENABLE_tcl: OFF ENABLE_itcl: OFF ENABLE_tk: OFF ENABLE_itk: OFF ENABLE_pdl: OFF ENABLE_wxwidgets: OFF ENABLE_gnome2: OFF ENABLE_pygcw: OFF ENABLE_ada: OFF ENABLE_d: OFF ENABLE_ocaml: OFF ENABLE_lua: OFF ENABLE_qt: OFF ENABLE_pyqt4: OFF -- Configuring done -- Generating done -- Build files have been written to: /opt/test/plplot-5.9.5/build_dir

ATOM RSS1 RSS2