[vtkusers] Solaris 10 x86_64 - vtk build fails
Karl Behler
karl.behler at ipp.mpg.de
Mon Jan 28 11:00:34 EST 2013
Dear All,
after a successful git clone, a successful cmake with all standard
options, using gcc/g++ version 4.6.2 (GCC), my build fails after roughly
2% in make with following messages:
> ...) make
> Scanning dependencies of target vtksys
> [ 1%] Building C object Utilities/kwsys/CMakeFiles/vtksys.dir/ProcessUNIX.c.o
> [ 1%] Building C object Utilities/kwsys/CMakeFiles/vtksys.dir/Base64.c.o
> [ 1%] Building C object Utilities/kwsys/CMakeFiles/vtksys.dir/MD5.c.o
> [ 1%] Building C object Utilities/kwsys/CMakeFiles/vtksys.dir/System.c.o
> [ 1%] Building CXX object Utilities/kwsys/CMakeFiles/vtksys.dir/Directory.cxx.o
> [ 1%] Building CXX object Utilities/kwsys/CMakeFiles/vtksys.dir/DynamicLoader.cxx.o
> [ 1%] Building CXX object Utilities/kwsys/CMakeFiles/vtksys.dir/Glob.cxx.o
> [ 1%] Building CXX object Utilities/kwsys/CMakeFiles/vtksys.dir/RegularExpression.cxx.o
> [ 1%] Building CXX object Utilities/kwsys/CMakeFiles/vtksys.dir/SystemTools.cxx.o
> [ 1%] Building CXX object Utilities/kwsys/CMakeFiles/vtksys.dir/CommandLineArguments.cxx.o
> [ 1%] Building CXX object Utilities/kwsys/CMakeFiles/vtksys.dir/SystemInformation.cxx.o
> Linking CXX static library ../../bin/libvtksys.a
> [ 1%] Built target vtksys
> Scanning dependencies of target vtkzlib
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/adler32.c.o
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/compress.c.o
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/crc32.c.o
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/deflate.c.o
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/gzio.c.o
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/inffast.c.o
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/inflate.c.o
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/inftrees.c.o
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/trees.c.o
> [ 1%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/uncompr.c.o
> [ 2%] Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/zutil.c.o
> Linking C static library ../../bin/libvtkzlib.a
> [ 2%] Built target vtkzlib
> Scanning dependencies of target H5detect
> [ 2%] Building C object Utilities/vtkhdf5/src/CMakeFiles/H5detect.dir/H5detect.c.o
> Linking C executable ../../../bin/H5detect
> [ 2%] Built target H5detect
> Scanning dependencies of target H5make_libsettings
> [ 2%] Building C object Utilities/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.o
> In file included from /afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkhdf5/src/H5make_libsettings.c:46:0:
> /afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkhdf5/src/H5private.h:757:9: error: unknown type name 'off64_t'
> *** Error code 1
> The following command caused the error:
> cd /afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/vtkhdf5/src && /usr/gnu/bin/gcc -DVTK_IN_VTK -DPIC -DDEBUG -DH5_DEBUG_API -DH5Z_DEBUG -DH5V_DEBUG -DH5T_DEBUG -DH5S_DEBUG -DH5P_DEBUG -DH5O_DEBUG -DH5MM_DEBUG -DH5MF_DEBUG -DH5I_DEBUG -DH5HL_DEBUG -DH5HG_DEBUG -DH5G_DEBUG -DH5F_DEBUG -DH5E_DEBUG -DH5D_DEBUG -DH5B_DEBUG -DH5AC_DEBUG -std=c99 -fomit-frame-pointer -finline-functions -fno-common -w -fmessage-length=0 -g -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Common -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/VolumeRendering -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Rendering -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Charts -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Chemistry -I/afs/ipp-garching.mpg.de/home/k/kc
b/git/vtk/sunx86_510/release/Utilities/vtkalglib -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Infovis -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Geovis -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Views -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/VolumeRendering -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Hybrid -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Widgets -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Rendering -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Charts -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Chemistry -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Rendering/Testing/Cxx -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/IO -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Imaging -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Graphics -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/GenericFiltering -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Filtering -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Co
mmon -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Common/Testing/Cxx -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/vtknetcdf -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtknetcdf -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtknetcdf/include -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/vtklibproj4 -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtklibproj4 -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/DICOMParser -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/DICOMParser -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/vtkfreetype/include -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkfreetype/include -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/LSDyna -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utiliti
es/LSDyna -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/MaterialLibrary -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/MaterialLibrary -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/vtkmetaio -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkmetaio -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/verdict -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/verdict -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/vtkhdf5 -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkhdf5 -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/vtkhdf5/src -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkhdf5/src -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/vtkhdf5/hl/src -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkhdf5/hl/src -I/afs/ipp-garching.mpg.de/home/k/kcb/git
/vtk/VTK/Utilities/utf8/source -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkalglib -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/ftgl/src -I/afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release/Utilities/ftgl -I/afs/ipp-garching.mpg.de/aug/gnu/sunx86_510/include -I/usr/X11R6/include -UNDEBUG -Wall -o CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.o -c /afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkhdf5/src/H5make_libsettings.c
> make: Fatal error: Command failed for target `Utilities/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.o'
> Current working directory /afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release
> *** Error code 1
> The following command caused the error:
> make -f Utilities/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/build.make Utilities/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/build
> make: Fatal error: Command failed for target `Utilities/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/all'
> Current working directory /afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/sunx86_510/release
> *** Error code 1
> The following command caused the error:
> make -f CMakeFiles/Makefile2 all
> make: Fatal error: Command failed for target `all'
As far as I understand, the crucial message
> In file included from /afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkhdf5/src/H5make_libsettings.c:46:0:
> /afs/ipp-garching.mpg.de/home/k/kcb/git/vtk/VTK/Utilities/vtkhdf5/src/H5private.h:757:9: error: unknown type name 'off64_t'
> *** Error code 1
is raised by a conditional typedef in the mentioned .h-file . So the
suspicion comes to me that already the cmake did not recognize correctly
the environment not setting a couple of defined variables appropriately.
Has anybody recently managed to build vtk under Solaris 10 or 11 x86_64?
What compiler is recommended? What environment variables to preset? What
command line options recommended?
Any help appreciated.
Regards,
Karl
--
Dr. Karl Behler
CODAC & IT services ASDEX Upgrade
phon +49 89 3299-1351 fax 3299-961351
More information about the vtkusers
mailing list