[Paraview] Difficult issue building paraview 3.14.0 on build farm

Cook, Rich cook47 at llnl.gov
Fri Mar 30 18:47:33 EDT 2012


OK, I figured it out!  Never mind.  I was adding an extra "=" sign in one script.  Whew.
-- R

On Mar 30, 2012, at 3:20 PM, Cook, Rich wrote:

> Hello, Paraview build experts!  Please help me, I'm in over my head now, I think.
>
> I am trying to build Paraview 3.14 with OS Mesa for our clusters.  It's getting weird.
> I can build on the cluster using a shell script and it works fine.  But when using the same machine to make a dpkg it fails.  I cannot tell the difference between what works and what doesn't.
> The only clue is that during the cmake process, I see this for the bad build and not for the good, and it seems related.
>
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found.
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found.
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found.
>
>
> The error I'm getting is building QVTKWidget.cxx, which does not even get built during the good build.
>
> opengl: cd /tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Geovis && /usr/local/tools/openmpi-gnu-debug/bin/mpiCC   -DvtkGeovis_EXPORTS -DVTK_PYTHON_BUILD -DVTK_IN_VTK -I/usr/local/tools/mili-1.11.1/include -I/usr/local/tools/hdf5-gnu-serial-1.8.8/include  -I/usr/local/tools/openmpi-gnu-debug/include -Wno-deprecated  -Wno-deprecated -g -fPIC -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Common -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/VolumeRendering -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Rendering -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Charts -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Chemistry -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/vtkalglib -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Infovis -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Geovis -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Views -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Parallel -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/VolumeRendering -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Hybrid -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Widgets -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Rendering -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Charts -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Chemistry -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Rendering/Testing/Cxx -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/IO -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Imaging -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Graphics -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/GenericFiltering -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Filtering -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Common -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Common/Testing/Cxx -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/vtknetcdf/include -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/vtknetcdf/include -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/vtklibproj4 -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/vtklibproj4 -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/DICOMParser -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/DICOMParser -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/vtkfreetype/include -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/vtkfreetype/include -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/LSDyna -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/LSDyna -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/MaterialLibrary -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/MaterialLibrary -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/vtkmetaio -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/vtkmetaio -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/verdict -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/verdict -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/Cosmo -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/Cosmo -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/VPIC -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/VPIC -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/utf8/source -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/GUISupport/Qt -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/Chart -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/GUISupport/Qt/Chart -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Utilities/vtkalglib -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaViewew-3.14.0-Build/VTK/Utilities/MaterialLibrary -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/Utilities/MaterialLibrary -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Build/VTK/Utilities/vtkmetaio -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/Utilities/vtkmetaio -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Build/VTK/Utilities/verdict -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/Utilities/verdict -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Build/VTK/Utilities/Cosmo -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/Utilities/Cosmo -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Build/VTK/Utilities/VPIC -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/Utilities/VPIC -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/Utilities/utf8/source -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Build/VTK/GUISupport/Qt -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/Chart -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Build/VTK/GUISupport/Qt/Chart -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/Utilities/vtkalglib -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/Utilities/ftgl/src -I/tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Build/VTK/Utilities/ftgl -I/usr/local/tools/hdf5-gnu-serial-1.8.8/include -I/usr/local/tools/qt-4.7.4/include -I/usr/local/tools/qt-4.7.4/include/QtWebKit -I/usr/local/tools/qt-4.7.4/include/QtGui -I/usr/local/tools/qt-4.7.4/include/QtSql -I/usr/local/tools/qt-4.7.4/include/QtNetwork -I/usr/local/tools/qt-4.7.4/include/QtCore -I/usr/local/tools/qt-4.7.4/include/QtDesigner    -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/QVTK.dir/QVTKWidget.cxx.o -c /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx: In member function 'void QVTKWidget::x11_setup_window()':
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:714: error: 'XVisualInfo' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:714: error: 'vi' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:715: error: 'Colormap' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:715: error: expected ';' before 'cmap'
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:751: error: 'XSetWindowAttributes' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:751: error: expected ';' before 'attrib'
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:752: error: 'attrib' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:752: error: 'cmap' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:756: error: 'Window' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:756: error: expected ';' before 'p'
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:759: error: 'p' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:762: error: 'XWindowAttributes' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:762: error: expected ';' before 'a'
> osmesa: /tmp/dpkg-mkdeb.mfdRpOlU8f/src/ParaView-3.14.0-Source/VTK/GUISupport/Qt/QVTKWidget.cxx:763: error: 'a' was not declared in this scope
> osmesa: /tmp/dpkg-mkdeb.mf-3.14.0-Source/VTK/Utilities/ftgl/src -I/tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Build/VTK/Utilities/ftgl -I/usr/include/nvidia -I/usr/local/tools/hdf5-gnu-serial-1.8.8/include    -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/vtkGeovis.dir/vtkGlobeSource.cxx.o -c /tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source/VTK/Geovis/vtkGlobeSource.cxx
>
>
> ===========================================================================================================
> Here is how I build:
>
> /usr/local/tools/cmake-2.8.7/bin/cmake.real -DPARAVIEW_BUILD_QT_GUI:BOOL=ON -DVTK_OPENGL_HAS_OSMESA:BOOL=OFF -DVTK_USE_OFFSCREEN:BOOL=OFF -DOPENGL_gl_LIBRARY:FILEPATH=/usr/lib64/nvidia/libGL.so -DOPENGL_INCLUDE_DIR=/usr/include/nvidia -DVTK_USE_X:BOOL=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/local/tools/qt-4.7.4//bin/qmake.real -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/tools/paraview-opengl-3.14.0 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/local/tools/openmpi-gnu-debug/bin/mpiCC -DCMAKE_C_COMPILER:FILEPATH=/usr/local/tools/openmpi-gnu-debug/bin/mpicc -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_USE_BOOST:BOOL=ON -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON '-DMPI_LIBRARY:FILEPATH=/usr/local/tools/openmpi-gnu-debug/lib/libmpi.so;/usr/local/tools/openmpi-gnu-debug/lib/libmpi_cxx.so;/usr/local/tools/openmpi-gnu-debug/lib/libopen-rte.so;/usr/local/tools/openmpi-gnu-debug/lib/libopen-pal.so' -DPARAVIEW_USE_MPI_SSEND:BOOL=ON -DMPIEXEC:FILEPATH=/usr/local/tools/openmpi-gnu-debug/bin/mpirun -DMPI_COMPILER:FILEPATH=/usr/local/tools/openmpi-gnu-debug/bin/mpiCC -DCMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-rpath,:/usr/local/tools/openmpi-gnu-debug/lib -DCMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=-Wl,-rpath,:/usr/local/tools/openmpi-gnu-debug/lib -DVISIT_BUILD_READER_CGNS:BOOL=ON -DVISIT_BUILD_READER_Mili:BOOL=ON -DVISIT_BUILD_READER_Silo:BOOL=ON -DCGNS_INCLUDE_DIR:PATH=/usr/local/tools/cgnslib-3.1.3-4/include '-DCGNS_LIBRARY:FILEPATH=/usr/local/tools/cgnslib-3.1.3-4/lib/libcgns.a;/usr/local/tools/szip-2.0/lib/libsz.a;/usr/lib64/libz.so' -DMILI_INCLUDE_DIR:PATH=/usr/local/tools/mili-1.11.1/include '-DMILI_LIBRARY:FILEPATH=/usr/local/tools/mili-1.11.1/lib/libmili.a;/usr/local/tools/szip-2.0/lib/libsz.a;/usr/lib64/libz.so' '-DSILO_INCLUDE_DIR:PATH=/usr/local/tools/silo-4.8/include;/usr/local/tools/mili-1.11.1/include' '-DSILO_LIBRARY:FILEPATH=/usr/local/tools/silo-4.8/lib/libsiloh5.a;/usr/local/tools/szip-2.0/lib/libsz.a;/usr/lib64/libz.so' -DBoost_INCLUDE_DIR:PATH=/usr/local/tools/boost-mpi-1.49.0 -DBoost_LIBRARY_DIRS:FILEPATH=/usr/local/tools/boost-mpi-1.49.0/stage/lib -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE '-DCMAKE_CXX_FLAGS:STRING= -I/usr/local/tools/mili-1.11.1/include -I/usr/local/tools/hdf5-gnu-serial-1.8.8/include  -I/usr/local/tools/openmpi-gnu-debug/include ' '-DCMAKE_C_FLAGS:STRING=  -I/usr/local/tools/mili-1.11.1/include -I/usr/local/tools/hdf5-gnu-serial-1.8.8/include  -I/usr/local/tools/openmpi-gnu-debug/include ' -DVTK_USE_SYSTEM_HDF5:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=ON -DHDF5_C_INCLUDE_DIR:PATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/include -DHDF5_INCLUDE_DIR:PATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/include '-DHDF5_hdf5_LIBRARY:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5.a;/usr/local/tools/szip-2.0/lib/libsz.a;/usr/lib64/libz.so' '-DHDF5_hdf5_LIBRARY_DEBUG:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5.a;/usr/local/tools/szip-2.0/lib/libsz.a;/usr/lib64/libz.so' '-DHDF5_hdf5_LIBRARY_RELEASE:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5.a;/usr/local/tools/szip-2.0/lib/libsz.a;/usr/lib64/libz.so' '-DHDF5_hdf5_hl_LIBRARY:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5_hl.a;/usr/local/tools/szip-2.0/lib/libsz.a;/usr/lib64/libz.so' '-DHDF5_hdf5_hl_LIBRARY_DEBUG:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5_hl.a;/usr/local/tools/szip-2.0/lib/libsz.a;/usr/lib64/libz.so' '-DHDF5_hdf5_hl_LIBRARY_RELEASE:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5_hl.a;/usr/local/tools/szip-2.0/lib/libsz.a;/usr/lib64/libz.so' -DBUILD_SHARED_LIBS:BOOL=ON /tmp/dpkg-mkdeb.n29pC4FDhf/src/ParaView-3.14.0-Source
>
> gmake
>
> Help!
> --
> ✐Richard Cook
> ✇ Lawrence Livermore National Laboratory
> Bldg-453 Rm-4024, Mail Stop L-557
> 7000 East Avenue,  Livermore, CA, 94550, USA
> ☎ (office) (925) 423-9605
> ☎ (fax) (925) 423-6961
> ---
> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
> (opinions expressed herein are mine and not those of LLNL)
>
>
>

--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)





More information about the ParaView mailing list