[Paraview] problems building 2.0.0 on gentoo linux 2.4.25 and nvidia

John Lloyd jalyvr at hotmail.com
Wed Mar 30 02:20:38 EST 2005


As you might guess, I'm having problems getting this to build with a Nvidia 
Nforce2 equipped motherboard.

A few attempts have yielded...

Building executable /home/paraview/bin/GraphicsCxxTests...
/usr/X11R6/lib/libMesaGL.so: undefined reference to `_nv000996gl'
/usr/X11R6/lib/libMesaGL.so: undefined reference to `_nv000919gl'
....for several hundred lines including one like this....
/usr/lib/libGLcore.so.1: undefined reference to `glBlendEquationSeparateNVX'
...and several hundred lines more `nv0000xxxx`, then install messages ending 
with...
CMake Error: Error in cmake code at
/home/paraview/Utilities/SPCTH/cmake_install.cmake:4:
FILE cannot find file: /home/paraview/bin/libSPCTH.so to install.
make: *** [install] Error 255

Thinking this was somehow Nvidia and openGL related because of that "NVX", I 
switched to non-Nvidia gl.h files, and got...

Building executable /home/paraview/bin/GraphicsCxxTests...
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.4/../../../../i486-pc-linux-gnu/bin/ld: 
/
usr/lib/opengl/xfree/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
...ending with....
-- Installing /home/paraview/lib/vtk/libvtkParallel.so
-- Installing /home/paraview/lib/libSPCTH.so
CMake Error: Error in cmake code at
/home/paraview/Utilities/SPCTH/cmake_install.cmake:4:
FILE cannot find file: /home/paraview/bin/libSPCTH.so to install.
make: *** [install] Error 255

(I don't understand this message "File format not recognized" -- I gave a 
directory for the opengl_gl_library question, not a .so file, yet it seems 
to be expecting a shared object file.)

Another attempt yielded

Building shared library /home/paraview/bin/libvtkftgl.so...
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.4/../../../../i486-pc-linux-gnu/bin/ld: 
/
usr/lib/opengl/xfree/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
....etc...
-- Installing /home/paraview/lib/vtk/libvtkftgl.so
CMake Error: Error in cmake code at
/home/paraview/VTK/Utilities/ftgl/cmake_install.cmake:4:
FILE cannot find file: /home/paraview/bin/libvtkftgl.so to install.
make: *** [install] Error 255
Tue Mar 29 12:41:35 PST 2005


Needless to say I do not know what I am doing.  I guess my biggest question 
is:  what versions are needed for things Paraview source tree does not 
supply?

-- gl.h, and particularly any extensions needed
-- glibc
-- gcc


I am using gcc 3.3.4
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.4/specs
Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure 
--prefix=/usr --bindir=/usr/i486-pc-linux-gnu/gcc-bin/3.3 
--includedir=/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.4/include 
--datadir=/usr/share/gcc-data/i486-pc-linux-gnu/3.3 
--mandir=/usr/share/gcc-data/i486-pc-linux-gnu/3.3/man 
--infodir=/usr/share/gcc-data/i486-pc-linux-gnu/3.3/info --enable-shared 
--host=i486-pc-linux-gnu --target=i486-pc-linux-gnu --with-system-zlib 
--enable-languages=c,c++,f77 --enable-threads=posix --enable-long-long 
--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio 
--enable-version-specific-runtime-libs 
--with-gxx-include-dir=/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.4/include/g++-v3 
--with-local-prefix=/usr/local --enable-shared --enable-nls 
--without-included-gettext --disable-multilib --enable-__cxa_atexit 
--enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)

The config variables are

Variable Name: OPENGL_INCLUDE_DIR
Description: What is the path where the file GL/gl.h can be found
Current Value: /usr/share/doc/NVIDIA_GLX-1.0/include/GL
New Value (Enter to keep current value):

Variable Name: OPENGL_gl_LIBRARY
Description: Where can one of the MesaGL or GL libraries be found
Current Value: /usr/lib/opengl/nvidia/lib
New Value (Enter to keep current value):

Variable Name: OPENGL_glu_LIBRARY
Description: Where can one of the MesaGLU or GLU libraries be found
Current Value: /usr/lib/libGLU.so
New Value (Enter to keep current value):

Variable Name: OPENGL_xmesa_INCLUDE_DIR
Description: What is the path where the file GL/xmesa.h can be found
Current Value: OPENGL_xmesa_INCLUDE_DIR-NOTFOUND
New Value (Enter to keep current value):

Is there further documentation of the build configuration variables?


I realize this is a complaint of the "help me it doesn't work" variety, but 
any suggestions (or further questions) at all will be helpful.


Thanks

John




More information about the ParaView mailing list