Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 135980

Summary: VTK 4.2.6 does not compile on AMD64
Product: Gentoo Linux Reporter: Daniel Tourde - Caelae.se <daniel.tourde>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Tourde - Caelae.se 2006-06-07 13:13:45 UTC
Hello,

I unmasked VTK 4.2.6 on my AMD64 box and I get the following:
gcc 3.4.5, cmake 2.2-1-beta
Any help is welcome


/usr/include/python2.4/pyconfig.h:838:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/features.h:8,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3/x86_64-pc-linux-gnu/bits/c++config.h:35,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3/iosfwd:45,
                 from /var/tmp/portage/vtk-4.2.6/work/VTK/Common/vtkIOStreamFwd.h:32,
                 from /var/tmp/portage/vtk-4.2.6/work/VTK/Common/vtkSystemIncludes.h:47,
                 from /var/tmp/portage/vtk-4.2.6/work/VTK/Rendering/vtkOpenGLFreeTypeTextMapperPython.cxx:4:
/usr/include/gentoo-multilib/amd64/features.h:150:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.4/Python.h:8,
                 from /var/tmp/portage/vtk-4.2.6/work/VTK/Common/vtkPythonUtil.h:18,
                 from /var/tmp/portage/vtk-4.2.6/work/VTK/Rendering/vtkXOpenGLRenderWindowPython.cxx:6:
/usr/include/python2.4/pyconfig.h:838:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/features.h:8,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3/x86_64-pc-linux-gnu/bits/c++config.h:35,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3/iosfwd:45,
                 from /var/tmp/portage/vtk-4.2.6/work/VTK/Common/vtkIOStreamFwd.h:32,
                 from /var/tmp/portage/vtk-4.2.6/work/VTK/Common/vtkSystemIncludes.h:47,
                 from /var/tmp/portage/vtk-4.2.6/work/VTK/Rendering/vtkXOpenGLRenderWindowPython.cxx:4:
/usr/include/gentoo-multilib/amd64/features.h:150:1: warning: this is the location of the previous definition
Linking CXX shared module bin/libvtkRenderingPython.so
make: *** [all] Error 2

!!! ERROR: sci-libs/vtk-4.2.6 failed.
!!! Function src_compile, Line 94, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-07 13:19:50 UTC

*** This bug has been marked as a duplicate of 116072 ***