View previous topic :: View next topic |
Author |
Message |
kurohi n00b
Joined: 03 Jul 2012 Posts: 12
|
Posted: Tue Jul 03, 2012 4:51 pm Post subject: |
|
|
In my case, I was getting an error by 23%.
the solution was to deactivate the ffmpeg flag. Not sure why this flag is not working anymore thou. _________________ Walking you must keep
--Yoda |
|
Back to top |
|
|
paluszak Apprentice
Joined: 28 Jun 2004 Posts: 265 Location: Warsaw, Poland
|
Posted: Sun Oct 14, 2012 9:04 pm Post subject: |
|
|
miroR wrote: | Code: | # cat >> /etc/portage/package.use
media-libs/opencv python
# |
|
Try MAKEOPTS=-j1 emerge -1 opencv, it solved the problem for me. |
|
Back to top |
|
|
keba Guru
Joined: 02 Jun 2006 Posts: 328 Location: Switzerland
|
Posted: Tue Nov 06, 2012 6:53 am Post subject: |
|
|
Hi,
I'm trying to emerge digikam which wants opencv, but that one keeps failing And none of the above suggestions (like python or -ffmpeg use flags) are working. Neither opencv 2.4.3 nor 2.4.2 are compiling. Does anyone know what I could do?
Code: |
[ 44%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_arrtest.cpp.o
cd /var/tmp/portage/media-libs/opencv-2.4.3/work/opencv-2.4.3_build/modules/ts && /usr/bin/x86_64-pc-linux-gnu-g++ -Dopencv_ts_EXPORTS -DHAVE_CVCONFIG_H -DHAVE_QT -DHAVE_QT_OPENGL -DCVAPI_EXPORTS -DGTEST_CREATE_SHARED_LIBRARY=1 -DNDEBUG -O2 -march=core2 -pipe -msse3 -fomit-frame-pointer -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -Wno-long-long -pthread -ffunction-sections -fPIC -I/var/tmp/portage/media-libs/opencv-2.4.3/work/OpenCV-2.4.3/modules/features2d/include -I/var/tmp/portage/media-libs/opencv-2.4.3/work/OpenCV-2.4.3/modules/highgui/include -I/var/tmp/portage/media-libs/opencv-2.4.3/work/OpenCV-2.4.3/modules/flann/include -I/var/tmp/portage/media-libs/opencv-2.4.3/work/OpenCV-2.4.3/modules/imgproc/include -I/var/tmp/portage/media-libs/opencv-2.4.3/work/OpenCV-2.4.3/modules/core/include -I/var/tmp/portage/media-libs/opencv-2.4.3/work/opencv-2.4.3_build/modules/ts -I/var/tmp/portage/media-libs/opencv-2.4.3/work/OpenCV-2.4.3/modules/ts/src -I/var/tmp/portage/media-libs/opencv-2.4.3/work/OpenCV-2.4.3/modules/ts/include -I/var/tmp/portage/media-libs/opencv-2.4.3/work/opencv-2.4.3_build -o CMakeFiles/opencv_ts.dir/src/ts_arrtest.cpp.o -c /var/tmp/portage/media-libs/opencv-2.4.3/work/OpenCV-2.4.3/modules/ts/src/ts_arrtest.cpp
cc1plus: attention : l'option de la ligne de commande "-Wmissing-prototypes" est valide pour Ada/C/ObjC mais pas pour C++
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour Ada/C/ObjC mais pas pour C++
cc1plus: attention : option "-Wno-unnamed-type-template-args" de la ligne de commande non reconnue
cc1plus: attention : option "-Wno-delete-non-virtual-dtor" de la ligne de commande non reconnue
cc1plus: attention : option "-Wno-narrowing" de la ligne de commande non reconnue
cc1plus: attention : option "-Wno-unnamed-type-template-args" de la ligne de commande non reconnue
cc1plus: attention : option "-Wno-delete-non-virtual-dtor" de la ligne de commande non reconnue
cc1plus: attention : option "-Wno-narrowing" de la ligne de commande non reconnue
cc1plus: attention : option "-Wno-unnamed-type-template-args" de la ligne de commande non reconnue
cc1plus: attention : option "-Wno-delete-non-virtual-dtor" de la ligne de commande non reconnue
cc1plus: attention : option "-Wno-narrowing" de la ligne de commande non reconnue
Linking CXX shared library ../../lib/libopencv_ts.so
cd /var/tmp/portage/media-libs/opencv-2.4.3/work/opencv-2.4.3_build/modules/ts && /usr/bin/cmake -E cmake_link_script CMakeFiles/opencv_ts.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -march=core2 -pipe -msse3 -fomit-frame-pointer -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -Wno-long-long -pthread -ffunction-sections -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libopencv_ts.so.2.4 -o ../../lib/libopencv_ts.so.2.4.3 CMakeFiles/opencv_ts.dir/src/ts_gtest.cpp.o CMakeFiles/opencv_ts.dir/src/ts_func.cpp.o CMakeFiles/opencv_ts.dir/src/ts.cpp.o CMakeFiles/opencv_ts.dir/src/precomp.cpp.o CMakeFiles/opencv_ts.dir/src/ts_perf.cpp.o CMakeFiles/opencv_ts.dir/src/ts_arrtest.cpp.o ../../lib/libopencv_core.so.2.4.3 ../../lib/libopencv_imgproc.so.2.4.3 ../../lib/libopencv_flann.so.2.4.3 ../../lib/libopencv_highgui.so.2.4.3 ../../lib/libopencv_features2d.so.2.4.3 -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext ../../lib/libopencv_flann.so.2.4.3 ../../lib/libopencv_highgui.so.2.4.3 ../../lib/libopencv_imgproc.so.2.4.3 ../../lib/libopencv_core.so.2.4.3 -lz -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext
cd /var/tmp/portage/media-libs/opencv-2.4.3/work/opencv-2.4.3_build/modules/ts && /usr/bin/cmake -E cmake_symlink_library ../../lib/libopencv_ts.so.2.4.3 ../../lib/libopencv_ts.so.2.4 ../../lib/libopencv_ts.so
make[2] : on quitte le répertoire « /var/tmp/portage/media-libs/opencv-2.4.3/work/opencv-2.4.3_build »
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-libs/opencv-2.4.3/work/opencv-2.4.3_build/CMakeFiles 94
[ 44%] Built target opencv_ts
make[1] : on quitte le répertoire « /var/tmp/portage/media-libs/opencv-2.4.3/work/opencv-2.4.3_build »
make: *** [all] Erreur 2
* ERROR: media-libs/opencv-2.4.3 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-libs/opencv-2.4.3'`,
* the complete build log and the output of `emerge -pqv '=media-libs/opencv-2.4.3'`.
* The complete build log is located at '/var/tmp/portage/media-libs/opencv-2.4.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-2.4.3/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/opencv-2.4.3/work/opencv-2.4.3_build'
* S: '/var/tmp/portage/media-libs/opencv-2.4.3/work/OpenCV-2.4.3'
|
_________________ Prayer can change the world! |
|
Back to top |
|
|
leo.the_zoo Apprentice
Joined: 04 Jul 2005 Posts: 160 Location: Poland
|
Posted: Sun Mar 17, 2013 2:22 pm Post subject: |
|
|
Please pastebin a full error log since you caught only the last error message while the original error occured earlier.
Also please prepend your emerge command with LC_ALL="C" to make error messages accessible to more people. |
|
Back to top |
|
|
|