Alan W. Irwin <irwin <at> beluga.phys.uvic.ca> writes:
>
> On 2011-10-02 14:08-0000 FrankTheFox wrote:
>
> > Hi,
> >
> > i try building plplot on a Windows XP system. I have installed the
following:
> >
> > 1)
> > plplot-5.9.8.tar.gz
> > I got: "D:\Programme\plplot-5.9.8"
> >
> > 2)
> > cmake-2.8.1-win32-x86.exe
> > I got: "D:\Programme\CMake 2.8"
> ^
> I doubt this is the whole story, but blanks in
> directory names can cause trouble for our build system
> so avoid them for everything associated with your build.
> Also, cmake-2.8.1 is a quite buggy old version of cmake.
> Try cmake-2.8.5 instead.
>
> >
> > 3)
> > codeblocks-10.05mingw-setup.exe
> > I got: "D:\Programme\CodeBlocks"
> >
> > 4)
> > wxPack_v2.8.12.01.exe
> > I got: "D:\SourceCode\Libraries\wxWidgets2.8"
> >
> > 5)
> > wxWidgets Source but not yet compiled...
> > D:\Programme\wxWidgets-2.9.1
> >
> >
> > I use "D:\SourceCode..." with Code::Blocks as a DLL.
> >
> >
> >
> > First i executed:
> > D:\Programme\plplot-5.9.8\buildmingw>cmake -G "MinGW Makefile
> > PREFIX=install ..
>
> This may just be cut-and-paste errors for your e-mail, and not what
> you really used, but the
> generator name is "MinGW Makefiles". Also, the install prefix
> is specified with the -DCMAKE_INSTALL_PREFIX=/whatever option.
>
> >
> > seems to working fine...
> >
> > -- Configuring done
> > -- Generating done
> > -- Build files have been written to: D:/Programme/plplot-5.9.8/buildmingw
> >
> > then i tried:
> > D:\Programme\plplot-5.9.8\buildmingw>mingw32-make
> > i think this step runs into an error:
> >
> > [ 56%] Built target mem
> > drivers\CMakeFiles\null.dir\build.make:46:
drivers/CMakeFiles/null.dir/progress.
> > make: No such file or directory
> > mingw32-make[2]: *** No rule to make target
`drivers/CMakeFiles/null.dir/progres
> > s.make'. Stop.
> > mingw32-make[1]: *** [drivers/CMakeFiles/null.dir/all] Error 2
> > mingw32-make: *** [all] Error 2
> >
> > what is ther problem?
>
> If getting rid of all blanks in directory names and using a modern
> version of cmake doesn't completely solve the issue, we will likely
> need more information to help you.
>
> To capture that information, start the build again in an initially
> empty directory, and capture the full output of both the cmake command and
> the mingw32-make command with VERBOSE=1 option, e.g.,
>
> mingw-make VERBOSE=1
>
> and send those two files as attachments to this list. Also, please
> tell us the version of MinGW that you have installed.
>
> Others here have had good experience with the "MinGW Makefiles"
> generator so they may be able to help you out if you want to stick
> with that generator. However, if you are willing to try a different
> generator my own Windows (wine) experience is with the "MSYS
> Makefiles" generator which requires a modern install of both MinGW and
> MSYS. The new (2011-08-03) MinGW/MSYS automatic installer at
>
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-
get-inst/
> provides that in roughly 5 minutes of download time. That install
> gives you the option of using either the "MinGW Makefiles" or "MSYS
> Makefiles" generator depending on how you set your PATH.
>
> 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); the Time
> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
> software package (plplot.sf.net); 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
> __________________________
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
>
Hi,
removing blanks from directory. Directory is now D:\Programme\CMake-2.8
CMake is now: cmake-2.8.5-win32-x86.exe
Ok. mem target works! CMake completes. Output:
-- The C compiler identification is GNU
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMake version = 2.8.5
-- SH_EXECUTABLE = SH_EXECUTABLE-NOTFOUND
-- WARNING: bash shell not found, ctest will not work properly
-- 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 - not found.
-- Looking for include files PL_HAVE_STDINT_H
-- Looking for include files PL_HAVE_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 - Failed
-- 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 mkstemp
-- Looking for mkstemp - not found
-- Looking for mkstemp
-- Looking for mkstemp - not found
-- Looking for _NSGetArgc
-- Looking for _NSGetArgc - not 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 was not found. Please specify Swig executable location
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- Looking for pkg-config - not found
-- WARNING: Makefile+pkg-config version of examples build in the install tree
will be disabled.
-- X11_FOUND =
-- X11_INCLUDE_DIR =
-- X11_COMPILE_FLAGS =
-- X11_LIBRARIES =
-- The C compiler identification is GNU
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_GENERATOR = MinGW Makefiles
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Programme/plplot-
5.9.8/buildmingw/language_tests/CXX
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- 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
-- The C compiler identification is GNU
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_GENERATOR = MinGW Makefiles
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: C:/MinGW/bin/gfortran.exe
-- Check for working Fortran compiler: C:/MinGW/bin/gfortran.exe -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether C:/MinGW/bin/gfortran.exe supports Fortran 90
-- Checking whether C:/MinGW/bin/gfortran.exe supports Fortran 90 -- yes
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Programme/plplot-
5.9.8/buildmingw/language_tests/Fortran
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: C:/MinGW/bin/gfortran.exe
-- Check for working Fortran compiler: C:/MinGW/bin/gfortran.exe -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether C:/MinGW/bin/gfortran.exe supports Fortran 90
-- Checking whether C:/MinGW/bin/gfortran.exe 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: C:/MinGW/bin/gfortran.exe
-- WARNING: swig not found. Disabling java bindings
-- WARNING: swig not found. Disabling Python bindings
-- WARNING: swig not found. Disabling Octave bindings
-- Looking for include paths and libraries for Tcl/Tk
-- Could NOT find Tclsh (missing: TCL_TCLSH)
-- Could NOT find TCL (missing: TCL_INCLUDE_PATH)
-- Could NOT find TCLTK (missing: TCL_INCLUDE_PATH TK_LIBRARY TK_INCLUDE_PATH)
-- Could NOT find TK (missing: TK_LIBRARY TK_INCLUDE_PATH)
-- Looking for include paths and libraries for Tcl/Tk - not found
-- WARNING: Disabling everything that is Tcl/Tk related
-- WARNING: perl not found. Disabling Perl/PDL examples
-- The C compiler identification is GNU
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_GENERATOR = MinGW Makefiles
-- Check for working Ada builder: C:/MinGW/bin/gnatmake.exe
-- Check for working Ada builder: C:/MinGW/bin/gnatmake.exe -- works
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Programme/plplot-
5.9.8/buildmingw/language_tests/Ada
-- Check for working Ada builder: C:/MinGW/bin/gnatmake.exe
-- Check for working Ada builder: C:/MinGW/bin/gnatmake.exe -- works
-- FOUND gnat library C:/MinGW/bin/libgnat-4.5.dll
-- WARNING: swig not found. Disabling Lua bindings
-- The C compiler identification is GNU
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_GENERATOR = MinGW Makefiles
-- D Compiler Install Prefix (use D_PATH env var to override): CMAKE_D_COMPI
-- Configuring incomplete, errors occurred!
-- WARNING: no working D compiler so disabling D bindings and examples.
-- Check for NaN awareness in C compiler
-- Check for NaN awareness in C compiler - found
-- WARNING: qhull library not found. Setting PL_HAVE_QHULL to OFF.
-- WARNING: pango not found because pkg-config not available.
-- WARNING: pkg-config not found. Setting cairo drivers to OFF.
-- WARNING: ENABLE_tk OFF. Setting PLD_tk, PLD_ntk, and PLD_tkwin OFF.
-- WARNING: pkg-config not found. Setting PLD_psttf to OFF.
-- Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
QT_QTCORE_LIBRARY)
-- WARNING: Qt4 development environment not found so disabling all qt devices.
-- WARNING: PLD_extqt is OFF so setting ENABLE_qt to OFF.
-- WARNING: ENABLE_python is OFF so setting ENABLE_pyqt4 to OFF.
-- Looking for gdi32 header and library
-- Looking for gdi32 header and library - found
-- wxWidgets found
-- wxwidgets_COMPILE_FLAGS = -ID:/SourceCode/Libraries/wxWidgets2.8/include -
ID:/SourceCode/Libraries/wxWidgets2.8/lib/gcc_dll/msw -DWXUSINGDLL -D_DEBUG -
D__WXDEBUG__
-- wxwidgets_LINK_FLAGS =
debug;D:/SourceCode/Libraries/wxWidgets2.8/lib/gcc_dll/libwxbase28d.a;optimized;
D:/SourceCode/Libraries/wxWidgets2.8/lib/gcc_dll/libwxbase28.a;debug;D:/SourceCo
de/Libraries/wxWidgets2.8/lib/gcc_dll/libwxmsw28d_core.a;optimized;D:/SourceCode
/Libraries/wxWidgets2.8/lib/gcc_dll/libwxmsw28_core.a;debug;D:/SourceCode/Librar
ies/wxWidgets2.8/lib/gcc_dll/libwxpngd.a;optimized;D:/SourceCode/Libraries/wxWid
gets2.8/lib/gcc_dll/libwxpng.a;debug;D:/SourceCode/Libraries/wxWidgets2.8/lib/gc
c_dll/libwxtiffd.a;optimized;D:/SourceCode/Libraries/wxWidgets2.8/lib/gcc_dll/li
bwxtiff.a;debug;D:/SourceCode/Libraries/wxWidgets2.8/lib/gcc_dll/libwxjpegd.a;op
timized;D:/SourceCode/Libraries/wxWidgets2.8/lib/gcc_dll/libwxjpeg.a;debug;D:/So
urceCode/Libraries/wxWidgets2.8/lib/gcc_dll/libwxzlibd.a;optimized;D:/SourceCode
/Libraries/wxWidgets2.8/lib/gcc_dll/libwxzlib.a;debug;D:/SourceCode/Libraries/wx
Widgets2.8/lib/gcc_dll/libwxregexd.a;optimized;D:/SourceCode/Libraries/wxWidgets
2.8/lib/gcc_dll/libwxregex.a;debug;D:/SourceCode/Libraries/wxWidgets2.8/lib/gcc_
dll/libwxexpatd.a;optimized;D:/SourceCode/Libraries/wxWidgets2.8/lib/gcc_dll/lib
wxexpat.a;winmm;comctl32;rpcrt4;wsock32
-- WARNING:ocamlc not found. Disabling ocaml bindings
-- WARNING: validate target will not be available to check for syntax issues in
the PLplot DocBook documentation because onsgmls was not found.
-- WARNING: Perl modules XML::Parser and/or XML::DOM not available
so cannot check that swig_documentation.i is up to date.
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Programme/plplot-5.9.8/buildmingw
CMake Error: your D compiler: "CMAKE_D_COMPILER-NOTFOUND" was not found. Pleas
e set CMAKE_D_COMPILER to a valid compiler path or name.
Summary of CMake build system results for PLplot
Install location variables which can be set by the user:
CMAKE_INSTALL_PREFIX: D:/Programme/plplot-5.9.8/buildmingw/install
CMAKE_INSTALL_EXEC_PREFIX D:/Programme/plplot-5.9.8/buildmingw/install
CMAKE_INSTALL_BINDIR D:/Programme/plplot-5.9.8/buildmingw/install/bin
CMAKE_INSTALL_DATADIR D:/Programme/plplot-5.9.8/buildmingw/install/share
CMAKE_INSTALL_LIBDIR D:/Programme/plplot-5.9.8/buildmingw/install/lib
CMAKE_INSTALL_INCLUDEDIR D:/Programme/plplot-5.9.8/buildmingw/install/include
CMAKE_INSTALL_INFODIR D:/Programme/plplot-5.9.8/buildmingw/install/share/in
fo
CMAKE_INSTALL_MANDIR D:/Programme/plplot-5.9.8/buildmingw/install/share/ma
n
Derived install location variables:
DATA_DIR D:/Programme/plplot-5.9.8/buildmingw/install/share/plplot5.9.8
LIB_DIR D:/Programme/plplot-5.9.8/buildmingw/install/lib
INCLUDE_DIR D:/Programme/plplot-5.9.8/buildmingw/install/include/plplot
BIN_DIR D:/Programme/plplot-5.9.8/buildmingw/install/bin
TCL_DIR D:/Programme/plplot-5.9.8/buildmingw/install/share/plplot5.9.8/t
cl
ADA_INCLUDE_DIR D:/Programme/plplot-5.9.8/buildmingw/install/share/ada/adainclud
e/plplotadad
ADA_LIB_DIR D:/Programme/plplot-5.9.8/buildmingw/install/lib/ada/adalib/plpl
otadad
PYTHON_INSTDIR
DRV_DIR D:/Programme/plplot-5.9.8/buildmingw/install/lib/plplot5.9.8/dri
versd
DOC_DIR D:/Programme/plplot-5.9.8/buildmingw/install/share/doc/plplot
MAN_DIR D:/Programme/plplot-5.9.8/buildmingw/install/share/man
INFO_DIR D:/Programme/plplot-5.9.8/buildmingw/install/share/info
Other important CMake variables:
CMAKE_SYSTEM_NAME: Windows
UNIX:
WIN32: 1
APPLE:
MSVC: (MSVC_VERSION: )
MINGW: 1
MSYS:
CYGWIN:
BORLAND:
WATCOM:
SWIG_FOUND: FALSE
PERL_FOUND: FALSE
X11_FOUND:
CMAKE_BUILD_TYPE:
CMAKE_C_COMPILER CMAKE_C_FLAGS: C:/MinGW/bin/gcc.exe
CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS: C:/MinGW/bin/g++.exe
CMAKE_Fortran_COMPILER CMAKE_Fortran_FLAGS: C:/MinGW/bin/gfortran.exe
Target Fortran:
LIB_TAG: d
ENABLE_DYNDRIVERS: ON
DRIVERS_LIST: mem;null;ps;svg;wingcc;wxwidgets;xfig
DEVICES_LIST: mem;null;ps;svg;wingcc;wxwidgets;xfig
Library options:
BUILD_SHARED_LIBS: ON PL_DOUBLE: ON
Optional libraries:
PL_HAVE_QHULL: OFF WITH_CSA: ON
HAVE_FREETYPE: PL_HAVE_PTHREAD:
HAVE_AGG:
Language Bindings:
ENABLE_f77: ON ENABLE_f95: ON
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: ON
ENABLE_ada: ON ENABLE_d: OFF
ENABLE_ocaml: OFF ENABLE_lua: OFF
ENABLE_qt: OFF ENABLE_pyqt4: OFF
D:\Programme\plplot-5.9.8\buildmingw>
And CMakeError.log file reports:
Determining if files termios.h exist failed with the following output:
Change Dir: D:/Programme/plplot-5.9.8/buildmingw/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_progress_report
D:\Programme\plplot-5.9.8\buildmingw\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.obj
C:\MinGW\bin\gcc.exe -o
CMakeFiles\cmTryCompileExec.dir\CheckIncludeFiles.c.obj -c
D:\Programme\plplot-5.9.8\buildmingw\CMakeFiles\CMakeTmp\CheckIncludeFiles.c
D:\Programme\plplot-
5.9.8\buildmingw\CMakeFiles\CMakeTmp\CheckIncludeFiles.c:2:21: fatal error:
termios.h: No such file or directory
compilation terminated.
mingw32-make.exe[1]: ***
[CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
Source:
/* */
#include <termios.h>
int main(){return 0;}
Determining if the include file crt_externs.h exists failed with the following
output:
Change Dir: D:/Programme/plplot-5.9.8/buildmingw/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_progress_report
D:\Programme\plplot-5.9.8\buildmingw\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.obj
C:\MinGW\bin\gcc.exe -o
CMakeFiles\cmTryCompileExec.dir\CheckIncludeFile.c.obj -c D:\Programme\plplot-
5.9.8\buildmingw\CMakeFiles\CMakeTmp\CheckIncludeFile.c
D:\Programme\plplot-
5.9.8\buildmingw\CMakeFiles\CMakeTmp\CheckIncludeFile.c:1:25: fatal error:
crt_externs.h: No such file or directory
compilation terminated.
mingw32-make.exe[1]: ***
[CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
Performing C SOURCE FILE Test HAVE_SYS_WAIT_H failed with the following output:
Change Dir: D:/Programme/plplot-5.9.8/buildmingw/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_progress_report
D:\Programme\plplot-5.9.8\buildmingw\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/src.c.obj
C:\MinGW\bin\gcc.exe -DHAVE_SYS_WAIT_H -o
CMakeFiles\cmTryCompileExec.dir\src.c.obj -c D:\Programme\plplot-
5.9.8\buildmingw\CMakeFiles\CMakeTmp\src.c
D:\Programme\plplot-5.9.8\buildmingw\CMakeFiles\CMakeTmp\src.c:3:22: fatal
error: sys/wait.h: No such file or directory
compilation terminated.
mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
Source file was:
#include <sys/types.h>
#include <sys/wait.h>
#ifndef WEXITSTATUS
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif
#ifndef WIFEXITED
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif
int
main ()
{
int s;
wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
;
return 0;
}
Determining if the function mkstemp exists failed with the following output:
Change Dir: D:/Programme/plplot-5.9.8/buildmingw/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_progress_report
D:\Programme\plplot-5.9.8\buildmingw\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.obj
C:\MinGW\bin\gcc.exe -DCHECK_FUNCTION_EXISTS=mkstemp -o
CMakeFiles\cmTryCompileExec.dir\CheckFunctionExists.c.obj -c
D:\Programme\CMake-2.8\share\cmake-2.8\Modules\CheckFunctionExists.c
Linking C executable cmTryCompileExec.exe
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_link_script
CMakeFiles\cmTryCompileExec.dir\link.txt --verbose=1
D:\Programme\CMake-2.8\bin\cmake.exe -E remove -f
CMakeFiles\cmTryCompileExec.dir/objects.a
C:\MinGW\bin\ar.exe cr CMakeFiles\cmTryCompileExec.dir/objects.a
@CMakeFiles\cmTryCompileExec.dir\objects1.rsp
C:\MinGW\bin\gcc.exe -DCHECK_FUNCTION_EXISTS=mkstemp -Wl,--whole-archive
CMakeFiles\cmTryCompileExec.dir/objects.a -Wl,--no-whole-archive -o
cmTryCompileExec.exe -Wl,--out-implib,libcmTryCompileExec.dll.a -Wl,--major-
image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool
-lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
CMakeFiles\cmTryCompileExec.dir/objects.a(CheckFunctionExists.c.obj):CheckFuncti
onExists.c:(.text+0xc): undefined reference to `mkstemp'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [cmTryCompileExec.exe] Error 1
mingw32-make.exe[1]: Leaving directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
Determining if the function mkstemp exists failed with the following output:
Change Dir: D:/Programme/plplot-5.9.8/buildmingw/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_progress_report
D:\Programme\plplot-5.9.8\buildmingw\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.obj
C:\MinGW\bin\gcc.exe -DCHECK_FUNCTION_EXISTS=mkstemp -o
CMakeFiles\cmTryCompileExec.dir\CheckFunctionExists.c.obj -c
D:\Programme\CMake-2.8\share\cmake-2.8\Modules\CheckFunctionExists.c
Linking C executable cmTryCompileExec.exe
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_link_script
CMakeFiles\cmTryCompileExec.dir\link.txt --verbose=1
D:\Programme\CMake-2.8\bin\cmake.exe -E remove -f
CMakeFiles\cmTryCompileExec.dir/objects.a
C:\MinGW\bin\ar.exe cr CMakeFiles\cmTryCompileExec.dir/objects.a
@CMakeFiles\cmTryCompileExec.dir\objects1.rsp
C:\MinGW\bin\gcc.exe -DCHECK_FUNCTION_EXISTS=mkstemp -Wl,--whole-archive
CMakeFiles\cmTryCompileExec.dir/objects.a -Wl,--no-whole-archive -o
cmTryCompileExec.exe -Wl,--out-implib,libcmTryCompileExec.dll.a -Wl,--major-
image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool
-lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
CMakeFiles\cmTryCompileExec.dir/objects.a(CheckFunctionExists.c.obj):CheckFuncti
onExists.c:(.text+0xc): undefined reference to `mkstemp'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [cmTryCompileExec.exe] Error 1
mingw32-make.exe[1]: Leaving directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
Determining if the function _NSGetArgc exists failed with the following output:
Change Dir: D:/Programme/plplot-5.9.8/buildmingw/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_progress_report
D:\Programme\plplot-5.9.8\buildmingw\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.obj
C:\MinGW\bin\gcc.exe -DCHECK_FUNCTION_EXISTS=_NSGetArgc -o
CMakeFiles\cmTryCompileExec.dir\CheckFunctionExists.c.obj -c
D:\Programme\CMake-2.8\share\cmake-2.8\Modules\CheckFunctionExists.c
Linking C executable cmTryCompileExec.exe
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_link_script
CMakeFiles\cmTryCompileExec.dir\link.txt --verbose=1
D:\Programme\CMake-2.8\bin\cmake.exe -E remove -f
CMakeFiles\cmTryCompileExec.dir/objects.a
C:\MinGW\bin\ar.exe cr CMakeFiles\cmTryCompileExec.dir/objects.a
@CMakeFiles\cmTryCompileExec.dir\objects1.rsp
C:\MinGW\bin\gcc.exe -DCHECK_FUNCTION_EXISTS=_NSGetArgc -Wl,--whole-
archive CMakeFiles\cmTryCompileExec.dir/objects.a -Wl,--no-whole-archive -o
cmTryCompileExec.exe -Wl,--out-implib,libcmTryCompileExec.dll.a -Wl,--major-
image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool
-lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
CMakeFiles\cmTryCompileExec.dir/objects.a(CheckFunctionExists.c.obj):CheckFuncti
onExists.c:(.text+0xc): undefined reference to `_NSGetArgc'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [cmTryCompileExec.exe] Error 1
mingw32-make.exe[1]: Leaving directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
Determining if fortran has isnan function failed with the following output:
Change Dir: D:/Programme/plplot-5.9.8/buildmingw/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
D:\Programme\CMake-2.8\bin\cmake.exe -E cmake_progress_report
D:\Programme\plplot-5.9.8\buildmingw\CMakeFiles\CMakeTmp\CMakeFiles 1
Building Fortran object CMakeFiles/cmTryCompileExec.dir/TestFortranIsnan.f.obj
C:\MinGW\bin\gfortran.exe -c D:\Programme\plplot-
5.9.8\cmake\modules\TestFortranIsnan.f -o
CMakeFiles\cmTryCompileExec.dir\TestFortranIsnan.f.obj
D:\Programme\plplot-5.9.8\cmake\modules\TestFortranIsnan.f:5.19:
if (isnan(0.0/0.0)) then
1
Error: Division by zero at (1)
D:\Programme\plplot-5.9.8\cmake\modules\TestFortranIsnan.f:7.9:
endif
1
Error: Expecting END PROGRAM statement at (1)
mingw32-make.exe[1]: ***
[CMakeFiles/cmTryCompileExec.dir/TestFortranIsnan.f.obj] Error 1
mingw32-make.exe[1]: Leaving directory `D:/Programme/plplot-
5.9.8/buildmingw/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
In my console window i see:
Linking CXX shared module ..\dll\wxwidgets.dll
cd /d D:\Programme\plplot-5.9.8\buildmingw\drivers && D:\Programme\CMake-2.8\bin
\cmake.exe -E cmake_link_script CMakeFiles\wxwidgets.dir\link.txt --verbose=1
D:\Programme\CMake-2.8\bin\cmake.exe -E remove -f CMakeFiles\wxwidgets.dir/objec
ts.a
C:\MinGW\bin\ar.exe cr CMakeFiles\wxwidgets.dir/objects.a @CMakeFiles\wxwidgets.
dir\objects1.rsp
C:\MinGW\bin\g++.exe -shared -o ..\dll\wxwidgets.dll -Wl,--major-image-versi
on,0,--minor-image-version,0 -Wl,--whole-archive CMakeFiles\wxwidgets.dir/object
s.a -Wl,--no-whole-archive ..\dll\libplplotd.dll.a D:\SourceCode\Libraries\wxWid
gets2.8\lib\gcc_dll\libwxbase28.a D:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_d
ll\libwxmsw28_core.a D:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_dll\libwxpng.a
D:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_dll\libwxtiff.a D:\SourceCode\Libr
aries\wxWidgets2.8\lib\gcc_dll\libwxjpeg.a D:\SourceCode\Libraries\wxWidgets2.8\
lib\gcc_dll\libwxzlib.a D:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_dll\libwxre
gex.a D:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_dll\libwxexpat.a -lwinmm -lco
mctl32 -lrpcrt4 -lwsock32 ..\dll\libcsirocsa.dll.a ..\dll\libqsastime.dll.a -lke
rnel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg3
2 -ladvapi32
CMakeFiles\wxwidgets.dir/objects.a(wxwidgets.cpp.obj):wxwidgets.cpp:(.text$_ZN22
wxArrayOfwxPLplotFrame6RemoveEP13wxPLplotFrame[wxArrayOfwxPLplotFrame::Remove(wx
PLplotFrame*)]+0x51): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
CMakeFiles\wxwidgets.dir/objects.a(wxwidgets_app.cpp.obj):wxwidgets_app.cpp:(.te
xt$_ZN12wxStringBaseC2ERKS_[wxStringBase::wxStringBase(wxStringBase const&)]+0x4
5): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
CMakeFiles\wxwidgets.dir/objects.a(wxwidgets_app.cpp.obj):wxwidgets_app.cpp:(.te
xt$_ZNK18wxBaseArrayPtrVoid4ItemEj[wxBaseArrayPtrVoid::Item(unsigned int) const]
+0x39): undefined reference to `_imp___Z10wxOnAssertPKciS0_S0_S0_'
CMakeFiles\wxwidgets.dir/objects.a(wxwidgets_app.cpp.obj):wxwidgets_app.cpp:(.rd
ata$_ZTV11wxPLplotApp[vtable for wxPLplotApp]+0x90): undefined reference to `wxA
ppConsole::OnAssertFailure(char const*, int, char const*, char const*, char cons
t*)'
CMakeFiles\wxwidgets.dir/objects.a(wxwidgets_app.cpp.obj):wxwidgets_app.cpp:(.rd
ata$_ZTV11wxPLplotApp[vtable for wxPLplotApp]+0x94): undefined reference to `wxA
ppConsole::OnAssert(char const*, int, char const*, char const*)'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [dll/wxwidgets.dll] Error 1
mingw32-make[2]: Leaving directory `D:/Programme/plplot-5.9.8/buildmingw'
mingw32-make[1]: *** [drivers/CMakeFiles/wxwidgets.dir/all] Error 2
mingw32-make[1]: Leaving directory `D:/Programme/plplot-5.9.8/buildmingw'
mingw32-make: *** [all] Error 2
D:\Programme\plplot-5.9.8\buildmingw>
Greetz
Franky
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general