Compiling opencv-2.2.0-r10 (updated dep for media-plugins/frei0r-plugins which is dep for ffmpeg and mlt via "frei0r" USE flag). Configure fails with: "FindLAPACK is Fortran-only so Fortran must be enabled." opencv current USE flags: [ebuild U ~] media-libs/opencv-2.2.0-r10 [2.1.0] USE="ffmpeg gtk jpeg jpeg2k openexr%* opengl%* png python qt4%* sse sse2 sse3 ssse3 tiff v4l xine -cuda% -doc% -eigen% -examples -gstreamer -ieee1394 -ipp -test (-debug%) (-deprecated%*) (-octave%)" 0 kB Attachment contains "emerge --info" and the build.log. Thank you. M.
Created attachment 271705 [details] build.log and "emerge --info" Sorry. Forgot to put a description before hitting Submit...
Just out of curiosity how did you managed to install virtual/lapack without having fortran compiler? And yes we should check for it in the ebuild.
(In reply to comment #2) > Just out of curiosity how did you manage to install virtual/lapack without > having fortran compiler? > > And yes we should check for it in the ebuild. Fantastic question to which I do not have an answer. Portage just did whatever it did and it's all there. There were no warnings/errors so I hadn't even thought to check into that. $ qlist -Iv lapack app-admin/eselect-lapack-0.1 sci-libs/clapack-3.2.1-r4 sci-libs/lapack-reference-3.1.1-r1 virtual/lapack-3.1 M.
(In reply to comment #3) > (In reply to comment #2) > > Just out of curiosity how did you manage to install virtual/lapack without > > having fortran compiler? > > > > And yes we should check for it in the ebuild. > > Fantastic question to which I do not have an answer. Portage just did whatever > it did and it's all there. There were no warnings/errors so I hadn't even > thought to check into that. > > $ qlist -Iv lapack > app-admin/eselect-lapack-0.1 > sci-libs/clapack-3.2.1-r4 > sci-libs/lapack-reference-3.1.1-r1 > virtual/lapack-3.1 > > > > M. This is how: [ebuild R ] sys-devel/gcc-3.4.6-r2 USE="fortran gtk nls nptl (-altivec) -bootstrap -boundschecking -build -d -doc -gcj (-hardened) -ip28 -ip32r10k (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 0 kB $ grep -ri fortran /etc/portage/* $ $ grep fortan /etc/make.conf $ GCC seems to be adding that it by default. M.
(In reply to comment #0) > Compiling opencv-2.2.0-r10 (updated dep for media-plugins/frei0r-plugins which > is dep for ffmpeg and mlt via "frei0r" USE flag). > > Configure fails with: > > "FindLAPACK is Fortran-only so Fortran must be enabled." > That's likely a bug in the OpenCV CMakeLists.txt... The error means that CMake is not set up to handle Fortran. Should be easy to fix, give me a moment.
Should be fixed, please resync in an hour and try again. Just out of curiosity, what's your output for equery belongs FindLAPACK.cmake ???
(In reply to comment #6) > Should be fixed, please resync in an hour and try again. > > Just out of curiosity, what's your output for > equery belongs FindLAPACK.cmake > ??? (Sorry for the delay - I tried to do it from my phone, but the "Save Changes" button was only "Search" for whatever reason). $ equery b FindLAPACK.cmake * Searching for FindLAPACK.cmake ... dev-util/cmake-2.8.1-r2 (/usr/share/cmake/Modules/FindLAPACK.cmake) M.