[Paraview] Build Errors

KLemmons at beckman.com KLemmons at beckman.com
Tue Jun 12 11:07:23 EDT 2007


Hello,
  I'm working on getting ParaView installed, as per a previous posting, by 
compiling it myself with MPI to run across our cluster.  I got the 2.6 
source, configured it, and made it... and the build failed with the error 
below.  I have since tried reconfiguring it with different libraries 
(with/without things like ffmpeg) and with VTK both MPI enabled and 
disabled, and the error is still the same.  I looked into the source, and 
was unable to determine a unique source for the errors, and looking 
through the expert configuration options did not lead me to find anything 
in CMake that helped.

The compiler I'm using is:
mpicc for 1.2.7 (release) of : 2005/11/04 11:54:51
Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.6/specs
Configured with: ../src/configure -v --enable-languages=c,c++,f77,pascal 
--prefix=/usr --libexecdir=/usr/lib 
--with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared 
--with-system-zlib --enable-nls --without-included-gettext 
--program-suffix=-3.4 --enable-__cxa_atexit --enable-clocale=gnu 
--enable-libstdcxx-debug --with-tune=i686 i486-linux-gnu
Thread model: posix
gcc version 3.4.6 (Debian 3.4.6-5)

and I have also tried this with mpicc using gcc 4.1 as well.

  One thing that I found really odd was that once I set mpicc/mpicxx as 
the compilers, I was unable to change them, either with environment 
variables or by changing it in CMake... as soon as I [c]onfigure, it 
changes them back on me.  I was able to use the mpic[c|xx] frontend 
scripts to switch back and forth between the gcc versions.

Here is my build error, as promised:
[  0%] Built target maketcltk
Scanning dependencies of target H5detect
[  0%] Building C object Utilities/hdf5/CMakeFiles/H5detect.dir/H5detect.o
In file included from 
/root/build/ParaView-2.6.2/Utilities/hdf5/H5detect.c:56:
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Tpublic.h:186: error: expected 
declaration specifiers or ‘...’ before ‘hsize_t’
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Tpublic.h:499: error: expected 
‘;’, ‘,’ or ‘)’ before ‘dim’
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Tpublic.h:501: error: expected 
declaration specifiers or ‘...’ before ‘hsize_t’
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Tpublic.h:558: error: expected 
declaration specifiers or ‘...’ before ‘hsize_t’
In file included from 
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Gpublic.h:36,
                 from 
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Rpublic.h:23,
                 from 
/root/build/ParaView-2.6.2/Utilities/hdf5/H5detect.c:57:
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Opublic.h:35: error: expected 
specifier-qualifier-list before ‘hsize_t’
In file included from 
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Rpublic.h:23,
                 from 
/root/build/ParaView-2.6.2/Utilities/hdf5/H5detect.c:57:
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Gpublic.h:114: error: expected 
declaration specifiers or ‘...’ before ‘hsize_t’
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Gpublic.h:115: error: expected 
declaration specifiers or ‘...’ before ‘hsize_t’
/root/build/ParaView-2.6.2/Utilities/hdf5/H5Gpublic.h:119: error: expected 
declaration specifiers or ‘...’ before ‘hsize_t’
make[2]: *** [Utilities/hdf5/CMakeFiles/H5detect.dir/H5detect.o] Error 1
make[1]: *** [Utilities/hdf5/CMakeFiles/H5detect.dir/all] Error 2
make: *** [all] Error 2

The server made the following annotations 
---------------------------------------------------------------------------------
This message contains information that may be privileged or confidential and is the property of Beckman Coulter, Inc. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

---------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070612/0d692df6/attachment-0001.htm


More information about the ParaView mailing list