jslhs / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

Can't build 0.6-rc3 with OpenCV on Debian Testing #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I can't build FFmbc-0.6-rc3 with OpenCV support on a Debian Testing based
system.

I'm running Mint LMDE (Linux Mint Debian Edition). It's based in Debian
Testing. My sources.list has the following:

deb http://packages.linuxmint.com/ debian main upstream import
deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free

FFmbc has the configure option --enable-libopencv

Installing this library on Debian Testing, I receive the following:

sudo apt-get install libopencv-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libopencv-dev is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libcv-dev

E: Package 'libopencv-dev' has no installation candidate

So, I install libcv-dev instead.

Then when I try to configure FFmbc with the --enable-libopencv flag, I get
the following:

ERROR: libopencv not found

Phill 

Original issue reported on code.google.com by phillclarke@gmail.com on 31 Mar 2011 at 6:21

GoogleCodeExporter commented 8 years ago
I think the debian package has broken dependencies:

gcc -o /tmp/ffconf.NbuPb4FF /tmp/ffconf.JX1nNDmi.o -lml -lcvaux -lhighgui -lcv 
-lcxcore -lm -pthread -lbz2 -lz
/usr/bin/ld.bfd.real: cannot find -lcvaux
/usr/bin/ld.bfd.real: cannot find -lhighgui
collect2: ld returned 1 exit status
ERROR: libopencv not found

pkg-config --libs opencv                                                        

-lml -lcvaux -lhighgui -lcv -lcxcore  

but libcv-dev doesn't depend on libhighgui-dev

It's also the case on latest ubuntu.

I'll see what I can do but I'm not sure I can fix this.

Original comment by baptiste...@gmail.com on 1 Apr 2011 at 12:45

GoogleCodeExporter commented 8 years ago
This bug belonds to debian packaging depencies. If you install the correct 
packages it will work.

Original comment by baptiste...@gmail.com on 1 May 2011 at 12:59