Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702984 - media-video/vlc-3.0.8 with media-libs/opencv-4.1.2-r2 - configure: error: Library opencv > 2.0 needed for opencv was not found
Summary: media-video/vlc-3.0.8 with media-libs/opencv-4.1.2-r2 - configure: error: Lib...
Status: RESOLVED DUPLICATE of bug 701424
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-15 11:52 UTC by Samuel Bernardo
Modified: 2019-12-15 12:56 UTC (History)
0 users

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


Attachments
config.log (config.log,285.66 KB, text/plain)
2019-12-15 11:52 UTC, Samuel Bernardo
Details
build.log (build.log,22.38 KB, text/plain)
2019-12-15 11:54 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2019-12-15 11:52:43 UTC
Created attachment 599600 [details]
config.log

checking for opencv > 2.0... no
configure: error: Library opencv > 2.0 needed for opencv was not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/vlc-3.0.8/work/vlc-3.0.8/config.log
 * ERROR: media-video/vlc-3.0.8::gentoo failed (configure phase):
 *   econf failed
Comment 1 Samuel Bernardo 2019-12-15 11:54:08 UTC
Created attachment 599602 [details]
build.log
Comment 2 Samuel Bernardo 2019-12-15 11:57:05 UTC
configure:6702: x86_64-pc-linux-gnu-gcc -E  -I/usr/include/samba-4.0 conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:6702: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vlc"
| #define PACKAGE_TARNAME "vlc"
| #define PACKAGE_VERSION "3.0.8"
| #define PACKAGE_STRING "vlc 3.0.8"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vlc"
| #define VERSION "3.0.8"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6727: result: x86_64-pc-linux-gnu-gcc -E
configure:6747: x86_64-pc-linux-gnu-gcc -E  -I/usr/include/samba-4.0 conftest.c
configure:6747: $? = 0
configure:6761: x86_64-pc-linux-gnu-gcc -E  -I/usr/include/samba-4.0 conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
Comment 3 Samuel Bernardo 2019-12-15 11:59:12 UTC
This happened after installing opencv-4.1.2-r2
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-15 12:53:40 UTC
It would probably help if you did not use ccache. :-\
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-15 12:56:37 UTC
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
configure:34451: $? = 1
configure:34465: $PKG_CONFIG --exists --print-errors "opencv > 2.0"
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
configure:34468: $? = 1
configure:34482: result: no
No package 'opencv' found
configure:34499: error: Library opencv > 2.0 needed for opencv was not found

It's looking for opencv.pc while it ought to be looking for opencv4.pc instead.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-15 12:56:51 UTC

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