Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130471 - sci-libs/vtk-5.0.0 with qt4 support fails to build
Summary: sci-libs/vtk-5.0.0 with qt4 support fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Markus Dittrich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 06:21 UTC by Rémi Cardona (RETIRED)
Modified: 2006-04-20 19:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Cardona (RETIRED) gentoo-dev 2006-04-19 06:21:25 UTC
[snip]
-- Check if the system is big endian - little endian
-- Looking for glXGetProcAddressARB
-- Looking for glXGetProcAddressARB - found
-- Looking for glXGetProcAddressARB in GL/glx.h
-- Looking for glXGetProcAddressARB in GL/glx.h - FALSE
CMake Error: Error in cmake code at
/var/tmp/portage/vtk-5.0.0/work/VTK/GUISupport/Qt/CMakeLists.txt:20:
INCLUDE called with wrong number of arguments.  Include only takes one file.
CMake Error: Error in cmake code at
/var/tmp/portage/vtk-5.0.0/work/VTK/GUISupport/Qt/CMakeLists.txt:34:
Unknown CMake command "QT4_WRAP_CPP".
CMake Error: Error in cmake code at
/var/tmp/portage/vtk-5.0.0/work/VTK/GUISupport/Qt/CMakeLists.txt:35:
Unknown CMake command "QT4_WRAP_CPP".
-- Configuring done

!!! ERROR: sci-libs/vtk-5.0.0 failed.
!!! Function src_compile, Line 134, Exitcode 255
!!! cmake configuration failed
!!! If you need support, post the topmost build error, NOT this status message.


I have qt-4.1.2. Am I forgetting something?
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2006-04-19 07:18:53 UTC
Hi R
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2006-04-19 07:18:53 UTC
Hi Rémi,

Thanks for your report! I just tried and it works fine here.
What version of cmake are you using? If you're using cmake-2.0.6 
please try it with the one in ~arch, i.e. cmake-2.2.3. 
If this doesn't solve it, please post your emerge --info.

Thanks,
Markus
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2006-04-19 08:48:50 UTC
Seems to work but vtk failed much later on with a java error. I'm rebuilding with USE="-java". I'll let you know how it turns out.



ajout : vtk/vtkPlanes.class (entr
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2006-04-19 08:48:50 UTC
Seems to work but vtk failed much later on with a java error. I'm rebuilding with USE="-java". I'll let you know how it turns out.



ajout : vtk/vtkPlanes.class (entrée = 1892) (sortie = 836) (55% compressés)
ajout : vtk/vtkProcessObject.class (entrée = 1573) (sortie = 659) (58% compressés)
ajout : vtk/vtkParametricCrossCap.class (entrée = 857) (sortie = 454) (47% compressés)
Scanning dependencies of target VTKJavaExecutable
Building CXX object Wrapping/Java/CMakeFiles/VTKJavaExecutable.dir/VTKJava.o
Linking CXX executable ../../bin/VTKJavaExecutable
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libmawt.so, needed by /opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so, not found (try using -rpath or -rpath-link)
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_Unlock@SUNWprivate_1.1 »
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_GetComponent@SUNWprivate_1.1 »
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_GetDrawingSurface@SUNWprivate_1.1 »
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_FreeDrawingSurface@SUNWprivate_1.1 »
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_Lock@SUNWprivate_1.1 »
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [bin/VTKJavaExecutable] Erreur 1
make[1]: *** [Wrapping/Java/CMakeFiles/VTKJavaExecutable.dir/all] Erreur 2
make: *** [all] Erreur 2

Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2006-04-20 05:52:07 UTC
It built fine. I haven't had the time to actually compile anything against Vtk, but the ebuild went ok. I guess the deps could be updated to include this version of cmake. 

Thanks a lot for the quick reply.
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2006-04-20 19:20:22 UTC
Hi R
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2006-04-20 19:20:22 UTC
Hi Rémi,

Thank you very much for testing. I changed the dependency
on cmake to version 2.2.3.

Thanks,
Markus