Hello all:

I installed Kubuntu Linux on a PC a few weeka ago and thought I would try 
installing
the latest PLPLOT (574). I've been using PLPLOT since the early days of the 
Amiga.

How do I get this distribution compiled and installed?

I unpacked the tarball to my home directory (for now) and made a build 
directory at the
same level.

I ran:

cmake -DCMAKE_INSTALL_PREFIX=../build_dir -DCMAKE_VERBOSE_MAKEFILE=ON 
../plplot-5.7.4 >& cmake.out

I then ran make >& make.out  and I still have nothing. I really just wanted to 
compile the examples, figuring these
would be simple, but
the Makefiles generated by cmake are useless. cmake does a lot of nothing.

What do I need to get PLPLOT compiled with cmake?

Any and all help would be greatly appreciated.

Regards,
David E. Strang
[EMAIL PROTECTED]



cmake.out looks like this:

 -- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- 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 HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_TERMIOS_H
-- Looking for include files HAVE_TERMIOS_H - found
-- Looking for include files HAVE_STDINT_H
-- Looking for include files 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 isinf
-- Looking for isinf - found
-- Looking for finite
-- Looking for finite - found
-- Looking for isnan
-- Looking for isnan - found
-- SWIG was not found. Please specify Swig executable location
-- 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 - not found
-- X11_FOUND = 1
-- X11_INCLUDE_DIR = /usr/include
-- X11_COMPILE_FLAGS = -I/usr/include
-- X11_LIBRARIES = /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- X11_LIBRARY_DIR = /usr/lib64
-- 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
-- Check for working Fortran compiler: /usr/bin/g77
-- Check for working Fortran compiler: /usr/bin/g77 -- works
-- Checking whether /usr/bin/g77 supports Fortran 90
-- Checking whether /usr/bin/g77 supports Fortran 90 -- no
-- WARNING: fortran compiler does not support f90/95. Disabling f95 bindings
-- Check for using namespace support
-- Check for f77 command line support - found
-- NOTICE: Found: /usr/bin/g77
-- WARNING: swig not found. Disabling java bindings
-- WARNING: swig not found. Disabling python bindings
-- OCTAVE = /usr/bin/octave
-- WARNING: mkoctfile 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
-- 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
-- Looking for pkg-config - found
-- checking for module 'pango'
--   package 'pango' not found
-- WARNING: pkg-config does not find pango.
-- checking for module 'pangoft2'
--   package 'pangoft2' not found
-- WARNING: pkg-config does not find pangoft2.
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Found LTDL: /usr/lib64/libltdl.so;/usr/lib64/libdl.so
-- WARNING: cd.h and/or libcd.a not found.  Setting PLD_cgm to OFF.
-- checking for module 'libgnomeprintui-2.2'
--   package 'libgnomeprintui-2.2' not found
-- WARNING: libgnomeprintui-2.2 not found.  Setting PLD_gcw to OFF.
-- WARNING: PLD_gcw is OFF so setting ENABLE_gnome2 to OFF.
-- WARNING: PLD_gcw is OFF so setting ENABLE_pygcw to OFF.
-- WARNING: ENABLE_tk OFF.  Setting PLD_tk, PLD_ntk, and PLD_tkwin OFF.
-- checking for modules 'lasi;pangoft2;pango'
--   package 'lasi' not found
--   package 'pangoft2' not found
--   package 'pango' 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.
-- Looking for gdi32 header and library
-- Looking for gdi32 header and library - not found
-- WARNING: Setting PLD_wingcc to OFF.
-- WARNING: wxWidgets not found so setting PLD_wxwidgets to OFF.
-- WARNING: PLD_wxwidgets is OFF so setting ENABLE_wxwidgets to OFF.

Summary of CMake build system results for PLplot

Install location variables which can be set by the user:
CMAKE_INSTALL_PREFIX:      /home/dave/Plplot574/test_dir
CMAKE_INSTALL_EXEC_PREFIX  /home/dave/Plplot574/test_dir
CMAKE_INSTALL_BINDIR       /home/dave/Plplot574/test_dir/bin
CMAKE_INSTALL_DATADIR      /home/dave/Plplot574/test_dir/share
CMAKE_INSTALL_LIBDIR       /home/dave/Plplot574/test_dir/lib
CMAKE_INSTALL_INCLUDEDIR   /home/dave/Plplot574/test_dir/include
CMAKE_INSTALL_INFODIR      /home/dave/Plplot574/test_dir/share/info
CMAKE_INSTALL_MANDIR       /home/dave/Plplot574/test_dir/share/man

Derived install location variables:
DATA_DIR        /home/dave/Plplot574/test_dir/share/plplot5.7.4
LIB_DIR         /home/dave/Plplot574/test_dir/lib
INCLUDE_DIR     /home/dave/Plplot574/test_dir/include/plplot
BIN_DIR         /home/dave/Plplot574/test_dir/bin
TCL_DIR         /home/dave/Plplot574/test_dir/share/plplot5.7.4/tcl
PYTHON_INSTDIR
DRV_DIR         /home/dave/Plplot574/test_dir/lib/plplot5.7.4/driversd
DOC_DIR         /home/dave/Plplot574/test_dir/share/doc/plplot
MAN_DIR         /home/dave/Plplot574/test_dir/share/man
INFO_DIR        /home/dave/Plplot574/test_dir/share/info

Other important CMake variables:

CMAKE_SYSTEM_NAME:      Linux
UNIX:                   1
WIN32:
APPLE:
MSVC:                           (MSVC_VERSION:  )
MINGW:
MSYS:
CYGWIN:
BORLAND:
WATCOM:

SWIG_FOUND:             FALSE
PERL_FOUND:             YES
X11_FOUND:              1

CMAKE_BUILD_TYPE:
CMAKE_C_COMPILER CMAKE_C_FLAGS:                 /usr/bin/gcc
CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS:             /usr/bin/g++
CMAKE_Fortran_COMPILER CMAKE_Fortran_FLAGS:     /usr/bin/g77
Target Fortran:
LIB_TAG:                d

ENABLE_DYNDRIVERS:      ON
DEVICES_LIST: hp7470;hp7580;lj_hpgl;mem;null;pbm;plmeta;ps;svg;xfig;xwin
DRIVERS_LIST: hpgl;mem;null;pbm;plmeta;ps;svg;xfig;xwin

Library options:
BUILD_SHARED_LIBS:      ON              PL_DOUBLE:      ON

Optional libraries:
HAVE_QHULL:             ON              WITH_CSA:       ON
HAVE_FREETYPE:          ON              HAVE_PTHREAD:   OFF
HAVE_AGG:

Language Bindings:
ENABLE_f77:             ON              ENABLE_f95:             OFF
ENABLE_cxx:             ON              ENABLE_java:            OFF
ENABLE_python:          OFF             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

-- Configuring done
-- Generating done
-- Build files have been written to: /home/dave/Plplot574/build_dir


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to