I am new to PLplot and this the first time I have used CMake.  For
simplicity, on my part, I have been using the GUI version (ccmake
CMakeLists.txt) to generate the makefile.  I am attaching the output from
using ccmake.  This was made on my Linux platform.

CMake Error: Error in cmake code at
pdfutils.c;plargs.c;plbox.c;plcont.c;plcore.c;plctrl.c;plcvt.c:88:
STRING sub-command REGEX, mode MATCH needs at least 6 arguments total to
command.
Current CMake stack: /home/hall000s/Linux/plplot-5.7.3/src/CMakeLists.txt

CMake Error: Error in cmake code at
pdfutils.c;plargs.c;plbox.c;plcont.c;plcore.c;plctrl.c;plcvt.c:88:
STRING sub-command REGEX, mode MATCH needs at least 6 arguments total to
command.
Current CMake stack: /home/hall000s/Linux/plplot-5.7.3/src/CMakeLists.txt


Summary of CMake build system results for PLplot

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

Derived install location variables:
DATA_DIR     /home/hall000s/Linux/plplot/share/plplot5.7.3
LIB_DIR     /home/hall000s/Linux/plplot/lib
INCLUDE_DIR  /home/hall000s/Linux/plplot/include/plplot
BIN_DIR     /home/hall000s/Linux/plplot/bin
TCL_DIR     /home/hall000s/Linux/plplot/share/plplot5.7.3/tcl
DRV_DIR     /home/hall000s/Linux/plplot/lib/plplot5.7.3/driversd
DOC_DIR     /home/hall000s/Linux/plplot/share/doc/plplot
MAN_DIR      /home/hall000s/Linux/plplot/share/man
INFO_DIR     /home/hall000s/Linux/plplot/share/info

Other important CMake variables:

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

SWIG_FOUND:OFF
PERL_FOUND:YES
X11_FOUND:1

CMAKE_BUILD_TYPE:
CMAKE_C_COMPILER CMAKE_C_FLAGS:/usw/uENABLE_DYNDRIVERS:OFF
DEVICES_LIST: ps
DRIVERS_LIST: ps

Library options:
BUILD_SHARED_LIBS:OFFPL_DOUBLE:ON

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

Language Bindings:
ENABLE_f77:ONENABLE_f95:OFF
ENABLE_cxx:ONENABLE_java:OFF
ENABLE_python:OFFENABLE_octave:OFF
ENABLE_tcl:OFFENABLE_itcl:OFF
ENABLE_tk:OFFENABLE_itk:OFF
ENABLE_pdl:OFFENABLE_wxwidgets:OFF
ENABLE_gnome2:OFFENABLE_pygcw:OFF
ENABLE_ada:OFF

BIN_DIR     /home/hall000s/Linux/plplot/bin

CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS:/usw/ude/Linux/bin/c++
CMAKE_Fortran_COMPILER CMAKE_Fortran_FLAGS:/usw/local/launch/ifort
Target Fortran:IVF
LIB_TAG:d
If this isn't what you are looking for please let me know.
Thank you all again for all of your help.

Scott


On 7/18/07, Alan W. Irwin <[EMAIL PROTECTED]> wrote:

On 2007-07-18 10:21-0400 Scott Hall wrote:

> Hello,
>
> I am trying to get PLplot installed onto three different platforms,
Windows,
> SunOS, and Linux.  My goal is to be able to compile the same random
programs
> on each of the three platforms.  I have succesfully built on all three
but
> now I am trying to optimize my builds so that I am using the same flags
and
> as few flags as possible during compilation on all three
platforms.  Because
> of the project I am working on I am hard coding the flags in order to
get
> PLplot to work in conjunction with other programs that I am running.
>
> Basically I want to only build PostScript files as my output on all
three
> platforms.  When building on Linux and Unix I disable all but the
postscript
> driver and when I configure it I get an error indicating that it is
> expecting at least 6 arguments.  My question is, what are the bare
> essentials I need to get PLplot to build only requiring PostScript
output.
> I am hoping that I don't need the GD, freetype, xwin, etc libraries.
>
> I am using cmake to build plplot and must build it with only static
> libraries.
>
> I appreciate any advice and assistance.

I would be glad to help, but I need you to post the details of the issue
to
this list (the details should preferably be for your Linux platform
because
that is the platform I have access to).

Those details include the cmake flags that you use, the complete output
from
the cmake command, and the complete output from the make command (if the
cmake output shows no errors).

I assure you that I have done absolutely minimal PLplot builds (one
postscript device driver, nothing but C language) in the recent past with
no
problems, but there may be some issue with the particular cmake flags you
are
using which is why I need such details.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and
Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting
software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to