Unsuccessful build of latest FFmpeg

Stephen Jungels stephen at jungels.net
Wed Sep 12 08:24:06 PDT 2007


Hi,

 

I'm having a bit of a problem installing the latest FFmpeg from ports for a
client running FreeBSD 4.9.  I get the following error:

 

-bash-2.05b# make WITH_FAAC=1 WITH_LAME=1 install

===>   ffmpeg-2007.07.12_3 depends on executable: texi2html - found

===>   ffmpeg-2007.07.12_3 depends on executable: gmake - found

===>   ffmpeg-2007.07.12_3 depends on shared library: a52.0 - found

===>   ffmpeg-2007.07.12_3 depends on shared library: faac.0 - found

===>   ffmpeg-2007.07.12_3 depends on shared library: faad.0 - found

===>   ffmpeg-2007.07.12_3 depends on shared library: mp3lame.0 - found

===>   ffmpeg-2007.07.12_3 depends on shared library: ogg.5 - found

===>   ffmpeg-2007.07.12_3 depends on shared library: theora.2 - found

===>   ffmpeg-2007.07.12_3 depends on shared library: vorbisenc.2 - found

===>   ffmpeg-2007.07.12_3 depends on shared library: freetype.9 - found

===>  Configuring for ffmpeg-2007.07.12_3

ERROR: libfaac not found

If you think configure made a mistake, make sure you are using the latest

version from SVN.  If the latest version fails, report the problem to the

ffmpeg-devel at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.

Include the log file "config.err" produced by configure as this will help

solving the problem.

===>  Script "configure" failed unexpectedly.

Please report the problem to multimedia at FreeBSD.org [maintainer] and attach

the "/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12/config.err"
including

the output of the failure of your make command. Also, it might be a good
idea

to provide an overview of all packages installed on your system (e.g. an `ls

/var/db/pkg`).

*** Error code 1

 

As you can see, Ports detects libfaac successfully installed, but the FFmpeg
configure script can't find it.

 

I have gone back and reinstalled faac just to make sure.

 

Here is the relevant part of config.err:

 

BEGIN /tmp/ffmpeg-conf--69027-.c

     1  

     2  #include <stdint.h>

     3  #include <faac.h>

     4  int main(){

     5      (void) faacEncGetVersion;

     6      return 0;

     7  }

END /tmp/ffmpeg-conf--69027-.c

cc -O -pipe -O2 -I/usr/local/include/vorbis -I/usr/local/include -pthread
-fomit-frame-pointer -c -o

 /tmp/ffmpeg-conf--69027-.o /tmp/ffmpeg-conf--69027-.c

/tmp/ffmpeg-conf--69027-.c:2: stdint.h: No such file or directory

In file included from /tmp/ffmpeg-conf--69027-.c:3:

/usr/local/include/faac.h:39: warning: malformed `#pragma pack'

In file included from /usr/local/include/faac.h:47,

                 from /tmp/ffmpeg-conf--69027-.c:3:

/usr/local/include/faaccfg.h:48: warning: malformed `#pragma pack'

/usr/local/include/faaccfg.h:120: warning: malformed `#pragma pack'

In file included from /tmp/ffmpeg-conf--69027-.c:3:

/usr/local/include/faac.h:93: warning: malformed `#pragma pack'

ERROR: libfaac not found

 

 

 

Hoping you can provide some assistance.  Since the code in configure that
checks for faac is rather complex, I haven't yet been able to find a
workaround.

 

(The attached files have more details).

 

 

Regards,

 

Stephen Jungels

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.err
Type: application/octet-stream
Size: 36804 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20070912/b2a45b5e/config.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: var-db-pkg
Type: application/octet-stream
Size: 3045 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20070912/b2a45b5e/var-db-pkg.obj


More information about the freebsd-multimedia mailing list