error compiling ffmpeg on Snow Leopard

Artemio Gonzalez Lopez artemiog at mac.com
Fri Aug 28 16:16:53 PDT 2009


"sudo port -vd upgrade ffmpeg" fails with the following weird error  
message on my Intel iMac running Snow Leopard:

DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing proc-pre-org.macports.configure-configure-0
DEBUG: Executing org.macports.configure (ffmpeg)
DEBUG: Environment: CFLAGS='-O2 -DHAVE_LRINTF -I/opt/local/include - 
arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch  
x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.0'  
F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.0'  
FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch  
x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg 
/work/ffmpeg-0.5" && ./configure --prefix=/opt/local --disable-vhook -- 
enable-gpl --enable-postproc --enable-swscale --enable-avfilter -- 
enable-avfilter-lavf --enable-libmp3lame --enable-libvorbis --enable- 
libtheora --enable-libdirac --enable-libschroedinger --enable-libfaac  
--enable-libfaad --enable-libxvid --enable-libx264 --mandir=/opt/local/ 
share/man --enable-shared --enable-pthreads --cc=gcc-4.0'
gcc-4.0 is unable to create an executable file.
If gcc-4.0 is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
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-user 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.

Does anybody know what's going on?

Cheers,

Artemio


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1893 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090829/d427f325/attachment.bin>


More information about the macports-users mailing list