Error while installing video-1.0.2.tar.gz -- libavformat in ffmpeg not detected by configure

View: New views
2 Messages — Rating Filter:   Alert me  

Error while installing video-1.0.2.tar.gz -- libavformat in ffmpeg not detected by configure

by Ananda Murthy R S-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am trying to install video-1.0.2.tar.gz package in GNU Octave-3.2.2. I get the following error message:

octave:2> pkg install video-1.0.2.tar.gz
warning: creating installation directory /usr/share/octave/packages
configure: error: need libavformat from FFMpeg
the configure script returned the following error: checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mkoctfile... mkoctfile
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for SLList.h... no
checking for lo_ieee_nan_value... yes
checking for octave_idx_type... yes
checking for quit.h... yes
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 3.2.2
checking for octave_config_info('canonical_host_type') in Octave... i686-pc-linux-gnu
checking for octave_config_info('SHLEXT') in Octave... so
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
checking for pkg-config... pkg-config
-lavformat -lavcodec -lavutil -lswscale
checking for av_write_frame in -lavformat... no
error: called from `pkg>configure_make' in file /usr/share/octave/3.2.2/m/pkg/pkg.m near line 1240, column 2
error: called from:
error:   /usr/share/octave/3.2.2/m/pkg/pkg.m at line 714, column 5
error:   /usr/share/octave/3.2.2/m/pkg/pkg.m at line 287, column 7

I have installed ffmpeg installed. I have the following files in /usr/lib:

libavformat.so linked to libavformat.so.52.38.0
libavformat.so.52 linked to libavformat.so.52.38.0
libavformat.so.52.38.0

What should I do to correct this?

Thanks for your help.

Anand

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Error while installing video-1.0.2.tar.gz -- libavformat in ffmpeg not detected by configure

by Søren Hauberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ons, 09 09 2009 kl. 05:23 +0200, skrev Ananda Murthy R S:
> I have installed ffmpeg installed. I have the following files
> in /usr/lib:
>
> libavformat.so linked to libavformat.so.52.38.0
> libavformat.so.52 linked to libavformat.so.52.38.0
> libavformat.so.52.38.0
>
> What should I do to correct this?

Hmm, perhaps you don't have the development files (i.e. the headers) ?

In general, I get the impression that the 'video' package is hard to
install as you need the right versions of ffmpeg. This is hard, since
ffmpeg doesn't really make releases (or have that changed?).

Søren


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev