Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524300 - media-libs/opencv-2.4.9 fails src_configure with "Requested modules not available: vtkRenderingLOD"
Summary: media-libs/opencv-2.4.9 fails src_configure with "Requested modules not avail...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-02 14:26 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2014-10-30 20:11 UTC (History)
2 users (show)

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


Attachments
emerge --info '=media-libs/opencv-2.4.9::gentoo' (einfo,5.39 KB, text/plain)
2014-10-02 14:26 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-10-02 14:26:15 UTC
Created attachment 385936 [details]
emerge --info '=media-libs/opencv-2.4.9::gentoo'

-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp  
-- Found PythonInterp: /var/tmp/portage/media-libs/opencv-2.4.9/temp/python2.7/bin/python (found suitable version "2.7.8", minimum required is "2.0") 
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable exact version "2.7.8") 
CMake Error at /usr/lib/cmake/vtk-6.0/vtkModuleAPI.cmake:103 (message):
  Requested modules not available:

    vtkRenderingLOD
Call Stack (most recent call first):
  /usr/lib64/cmake/vtk-6.0/VTKConfig.cmake:86 (vtk_module_config)
  cmake/OpenCVDetectVTK.cmake:6 (find_package)
  CMakeLists.txt:514 (include)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/media-libs/opencv-2.4.9/work/opencv-2.4.9_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/media-libs/opencv-2.4.9/work/opencv-2.4.9_build/CMakeFiles/CMakeError.log".


It looks like it might require a USE flag in vtk:

emerge -pqv '=media-libs/opencv-2.4.9::gentoo' vtk
[ebuild   R   ] sci-libs/vtk-6.0.0  USE="X qt4 -R (-aqua) -boost -cg -doc -examples -ffmpeg -imaging -java -mpi -mysql -odbc -offscreen -postgres -python -rendering -tcl {-test} -theora -tk -views" PYTHON_SINGLE_TARGET="-python2_7" PYTHON_TARGETS="-python2_7" VIDEO_CARDS="-nvidia" 

[ebuild     U ] media-libs/opencv-2.4.9 [2.4.8] USE="eigen jpeg jpeg2k opengl openmp png python tiff v4l* vtk%* -cuda -doc -examples -ffmpeg -gstreamer -gtk -ieee1394 (-ipp) -java -opencl -openexr -pch -qt4* -testprograms -threads -xine" PYTHON_SINGLE_TARGET="python2_7 (-python2_6%)" PYTHON_TARGETS="python2_7 (-python2_6%)"
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-10-02 21:36:53 UTC
Confirming my suspicion, recompiled VTK with USE="rendering", and opencv is now satisfied with that and compiles.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2014-10-30 20:11:43 UTC
Fixed, thanks.