T
T
TheMengzor2011-07-29 13:30:45
Perl
TheMengzor, 2011-07-29 13:30:45

Problem installing FFmpeg module for Perl?

Indistinct errors when installing FFmpeg module for Perl on Debian 6.0.2.
Hints:

[email protected]:~$ uname -a
Linux hot 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux

[email protected]:~$ which ffmpeg
/usr/local/bin/ffmpeg

[email protected]:~$ make -v
GNU Make 3.81
Copyright © 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu

[email protected]:~$ ffmpeg
ffmpeg version 0.8.git, Copyright © 2000-2011 the FFmpeg developers
  built on Jul 29 2011 10:48:25 with gcc 4.4.5
  configuration: --enable-libx264 --enable-libfaac --enable-gpl --enable-shared --enable-nonfree
  --enable-libdirac --enable-libmp3lame --enable-libopenjpeg --enable-libtheora --enable-libvorbis
  --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 11. 1 / 51. 11. 1
  libavcodec   53.  9. 0 / 53.  9. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 27. 3 /  2. 27. 3
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

All dependencies of the module are installed, they do not swear.
Installation commands:
[email protected]:~$ export FFMPEG_ROOT='/usr/local/bin'
[email protected]:~$ perl -MCPAN -e 'install FFmpeg'

And the song ends with this:
make: *** [FFmpeg.o] Error 1
  ALLENDAY/FFmpeg-6036.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
 Make had returned bad status, install seems impossible

Full install log
It's funny that there are a bunch of fucking syntax errors in ./ffmpeg-6036.c. Tell me how to be?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
afiskon, 2011-07-29
@afiskon

It looks like the key point in the logs is lines 79..87. Not enough inclusions. Are you sure that this module does not need any additional libraries? Is it possible to install it from dep packages?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question