FFMPEG install on 10.4.11, errors compiling and also using port


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) FFMPEG install on 10.4.11, errors compiling and also using port
# 1  
Old 11-01-2011
FFMPEG install on 10.4.11, errors compiling and also using port

i've got an older white macbook running 10.4.11. about 5 years old i think.

trying to install ffmpeg in 2 different ways. having errors on both.
first tried this one:
ffmpeg installation on Mac OSX

and i got this error when i got down to "make" on the ffmpeg itself
Code:
make(350) malloc: *** vm_allocate(size=4272988160) failed (error code=3)
make(350) malloc: *** error: can't allocate region
make(350) malloc: *** set a breakpoint in szone_error to debug
make: *** virtual memory exhausted.  Stop.

rebooted and tried it fresh. same result.

then i tried to install using mac ports
which installed and built a whole bunch of dependencies and then failed on the ffmpeg build.
Code:
--->  Building ffmpeg
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for ffmpeg is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

the last relevant bit of the log is (i think)
Code:
:notice:build --->  Building ffmpeg
:debug:build Executing org.macports.build (ffmpeg)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt
/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_rel
ease_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS' LIBRARY_PAT
H='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.4' V='1'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_va
r_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/f
fmpeg/work/ffmpeg-0.7.6" && /opt/local/bin/gmake -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_loc
al_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffm
peg/ffmpeg/work/ffmpeg-0.7.6" && /opt/local/bin/gmake -j2 -w all 
:info:build gmake: Entering directory `/opt/local/var/macports/build/_opt_local_
var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg
/ffmpeg/work/ffmpeg-0.7.6'
:info:build /usr/bin/gcc-4.0 -dynamiclib -Wl,-single_module -Wl,-install_name,/o
pt/local/lib/libavformat.dylib,-current_version,52.110.0,-compatibility_version,
52 -Wl,-read_only_relocs,suppress -Llibavcodec -Llibavdevice -Llibavfilter -Llib
avformat -Llibavutil -Llibpostproc -Llibswscale -L/opt/local/lib -arch i386 -Wl,
-dynamic,-search_paths_first -o libavformat/libavformat.52.dylib libavformat/4xm
.o libavformat/a64.o libavformat/aacdec.o libavformat/ac3dec.o libavformat/adtse
nc.o libavformat/aea.o libavformat/aiffdec.o libavformat/aiffenc.o libavformat/a
llformats.o libavformat/amr.o libavformat/anm.o libavformat/apc.o libavformat/ap
e.o libavformat/apetag.o libavformat/applehttp.o libavformat/applehttpproto.o li
bavformat/asf.o libavformat/asfcrypt.o libavformat/asfdec.o libavformat/asfenc.o
 libavformat/assdec.o libavformat/assenc.o libavformat/au.o libavformat/audioint
erleave.o libavformat/avc.o libavformat/avi.o libavformat/avidec.o libavformat/a
vienc.o libavformat/avio.o libavformat/aviobuf.o libavformat/avlanguage.o libavf
ormat/avs.o libavformat/bethsoftvid.o libavformat/bfi.o libavformat/bink.o libav
format/c93.o libavformat/caf.o libavformat/cafdec.o libavformat/cafenc.o libavfo
rmat/cavsvideodec.o libavformat/cdg.o libavformat/concat.o libavformat/crcenc.o 
libavformat/crypto.o libavformat/cutils.o libavformat/daud.o libavformat/dfa.o l
ibavformat/diracdec.o libavformat/dnxhddec.o libavformat/dsicin.o libavformat/dt
sdec.o libavformat/dv.o libavformat/dvenc.o libavformat/dxa.o libavformat/eacdat
a.o libavformat/electronicarts.o libavformat/ffmdec.o libavformat/ffmenc.o libav
format/ffmetadec.o libavformat/ffmetaenc.o libavformat/file.o libavformat/filmst
ripdec.o libavformat/filmstripenc.o libavformat/flacdec.o libavformat/flacenc.o 
libavformat/flacenc_header.o libavformat/flic.o libavformat/flvdec.o libavformat
/flvenc.o libavformat/framecrcenc.o libavformat/gif.o libavformat/gopher.o libav
format/gxf.o libavformat/gxfenc.o libavformat/h261dec.o libavformat/h263dec.o li
bavformat/h264dec.o libavformat/http.o libavformat/httpauth.o libavformat/id3v1.
o libavformat/id3v2.o libavformat/idcin.o libavformat/idroqdec.o libavformat/idr
oqenc.o libavformat/iff.o libavformat/img2.o libavformat/ingenientdec.o libavfor
mat/ipmovie.o libavformat/isom.o libavformat/iss.o libavformat/iv8.o libavformat
/ivfdec.o libavformat/ivfenc.o libavformat/jvdec.o libavformat/lmlm4.o libavform
at/lxfdec.o libavformat/m4vdec.o libavformat/matroska.o libavformat/matroskadec.
o libavformat/matroskaenc.o libavformat/md5enc.o libavformat/md5proto.o libavfor
mat/metadata.o libavformat/metadata_compat.o libavformat/microdvddec.o libavform
at/microdvdenc.o libavformat/mm.o libavformat/mmf.o libavformat/mms.o libavforma
t/mmsh.o libavformat/mmst.o libavformat/mov.o libavformat/movenc.o libavformat/m
ovenchint.o libavformat/mp3dec.o libavformat/mp3enc.o libavformat/mpc.o libavfor
mat/mpc8.o libavformat/mpeg.o libavformat/mpegenc.o libavformat/mpegts.o libavfo
rmat/mpegtsenc.o libavformat/mpegvideodec.o libavformat/mpjpeg.o libavformat/msn
wc_tcp.o libavformat/mtv.o libavformat/mvi.o libavformat/mxf.o libavformat/mxfde
c.o libavformat/mxfenc.o libavformat/mxg.o libavformat/ncdec.o libavformat/nsvde
c.o libavformat/nullenc.o libavformat/nut.o libavformat/nutdec.o libavformat/nut
enc.o libavformat/nuv.o libavformat/oggdec.o libavformat/oggenc.o libavformat/og
gparsecelt.o libavformat/oggparsedirac.o libavformat/oggparseflac.o libavformat/
oggparseogm.o libavformat/oggparseskeleton.o libavformat/oggparsespeex.o libavfo
rmat/oggparsetheora.o libavformat/oggparsevorbis.o libavformat/oma.o libavformat
/options.o libavformat/os_support.o libavformat/pcm.o libavformat/pcmdec.o libav
format/pcmenc.o libavformat/pmpdec.o libavformat/psxstr.o libavformat/pva.o liba
vformat/qcp.o libavformat/r3d.o libavformat/rawdec.o libavformat/rawenc.o libavf
ormat/rawvideodec.o libavformat/rdt.o libavformat/riff.o libavformat/rl2.o libav
format/rm.o libavformat/rmdec.o libavformat/rmenc.o libavformat/rpl.o libavforma
t/rso.o libavformat/rsodec.o libavformat/rsoenc.o libavformat/rtmppkt.o libavfor
mat/rtmpproto.o libavformat/rtp.o libavformat/rtpdec.o libavformat/rtpdec_amr.o 
libavformat/rtpdec_asf.o libavformat/rtpdec_h263.o libavformat/rtpdec_h264.o lib
avformat/rtpdec_latm.o libavformat/rtpdec_mpeg4.o libavformat/rtpdec_qcelp.o lib
avformat/rtpdec_qdm2.o libavformat/rtpdec_qt.o libavformat/rtpdec_svq3.o libavfo
rmat/rtpdec_vp8.o libavformat/rtpdec_xiph.o libavformat/rtpenc.o libavformat/rtp
enc_aac.o libavformat/rtpenc_amr.o libavformat/rtpenc_chain.o libavformat/rtpenc
_h263.o libavformat/rtpenc_h264.o libavformat/rtpenc_latm.o libavformat/rtpenc_m
pv.o libavformat/rtpenc_vp8.o libavformat/rtpenc_xiph.o libavformat/rtpproto.o l
ibavformat/rtsp.o libavformat/rtspdec.o libavformat/rtspenc.o libavformat/sapdec
.o libavformat/sapenc.o libavformat/sauce.o libavformat/sdp.o libavformat/seek.o
 libavformat/segafilm.o libavformat/sierravmd.o libavformat/siff.o libavformat/s
macker.o libavformat/sol.o libavformat/soxdec.o libavformat/soxenc.o libavformat
/spdif.o libavformat/spdifdec.o libavformat/spdifenc.o libavformat/srtdec.o liba
vformat/swfdec.o libavformat/swfenc.o libavformat/tcp.o libavformat/thp.o libavf
ormat/tiertexseq.o libavformat/tmv.o libavformat/tta.o libavformat/tty.o libavfo
rmat/txd.o libavformat/udp.o libavformat/utils.o libavformat/vc1test.o libavform
at/vc1testenc.o libavformat/voc.o libavformat/vocdec.o libavformat/vocenc.o liba
vformat/vorbiscomment.o libavformat/vqf.o libavformat/wav.o libavformat/wc3movie
.o libavformat/westwood.o libavformat/wtv.o libavformat/wtvdec.o libavformat/wv.
o libavformat/xa.o libavformat/xwma.o libavformat/yop.o libavformat/yuv4mpeg.o -
lavcodec -lavutil -Wl,-framework,Cocoa -L/opt/local/lib -lSDLmain -lSDL -lxvidco
re -lx264 -lvpx -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -
lspeex -L/opt/local/lib -lschroedinger-1.0 -lopenjpeg -lmp3lame -L/opt/local/lib
 -ldirac_encoder -ldirac_decoder -lstdc++ -lm -lbz2 -lz  
:info:build /usr/bin/gcc-4.0 -dynamiclib -Wl,-single_module -Wl,-install_name,/o
pt/local/lib/libswscale.dylib,-current_version,0.14.1,-compatibility_version,0 -
Wl,-read_only_relocs,suppress -Llibavcodec -Llibavdevice -Llibavfilter -Llibavfo
rmat -Llibavutil -Llibpostproc -Llibswscale -L/opt/local/lib -arch i386 -Wl,-dyn
amic,-search_paths_first -o libswscale/libswscale.0.dylib libswscale/options.o l
ibswscale/rgb2rgb.o libswscale/swscale.o libswscale/swscale_unscaled.o libswscal
e/utils.o libswscale/x86/rgb2rgb.o libswscale/x86/swscale_mmx.o libswscale/x86/y
uv2rgb_mmx.o libswscale/yuv2rgb.o -lavutil -Wl,-framework,Cocoa -L/opt/local/lib
 -lSDLmain -lSDL -lxvidcore -lx264 -lvpx -lvpx -lvorbisenc -lvorbis -logg -ltheo
raenc -ltheoradec -logg -lspeex -L/opt/local/lib -lschroedinger-1.0 -lopenjpeg -
lmp3lame -L/opt/local/lib -ldirac_encoder -ldirac_decoder -lstdc++ -lm -lbz2 -lz
  
:info:build ld: -dylib_compatibility_version must be greater than zero
:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edi
t command failed
:info:build gmake: *** [libswscale/libswscale.0.dylib] Error 1
:info:build gmake: *** Waiting for unfinished jobs....
:info:build ld: warning multiple definitions of symbol _ff_inverse
:info:build libavutil/libavutil.dylib(single module) definition of _ff_inverse
:info:build libavcodec/libavcodec.dylib(single module) definition of _ff_inverse
:info:build gmake: Leaving directory `/opt/local/var/macports/build/_opt_local_v
ar_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/
ffmpeg/work/ffmpeg-0.7.6'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_mac
ports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg
/work/ffmpeg-0.7.6" && /opt/local/bin/gmake -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log f
or details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for ffmpeg): org.macpo
rts.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for ffmpeg is at: /opt/local/var/macports/logs/_opt_local_var_
macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffm
peg/main.log

any thoughts?

thanks,
dan
# 2  
Old 01-21-2012
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Yum install command -errors

i having this error message when installing a package using yum on red hat 7.2 Please see attachment (21 Replies)
Discussion started by: DOkuwa
21 Replies

2. Red Hat

How to solve compiling handbrake errors?

Hello friends, Am trying to compile and build Handbrake 0.9.9 on my redhat box but getting the below errors. Same errors when I compile the source from github and also from the official web site. # uname -a Linux blah.com 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64... (0 Replies)
Discussion started by: prvnrk
0 Replies

3. UNIX for Dummies Questions & Answers

FFMPEG install problem on Unix

Guys, I'm new on Unix and I was hoping you could help me installing ffmpeg on Apple TV 1st Gen, which is a Unix based OS. This is the version of Unix. Darwin AppleTV.local 8.8.2 Darwin Kernel Version 8.8.2: Mon Jan 29 18:57:29 PST 2007; root:xnu-792.94.18~1/RELEASE_I386 i386 i386 I was... (6 Replies)
Discussion started by: ferrarih
6 Replies

4. Debian

Install ffmpeg with x264 without root

Hi, I need help with following problem: I don't have a root access and i need to install ffmpeg with x264 support. The problem is, tha without root, I cannot install shared libraries to /usr/lib and ffmpeg won't find them. I tried multiple workaround, even setting LD_LIBRARY_PATH, but nothing... (1 Reply)
Discussion started by: chrisperry
1 Replies

5. UNIX for Dummies Questions & Answers

Custom kernel compiling, won't boot, and errors.

First of all, I'd like to preface this post by relaying that I have considerable experience with FreeBSD but I'm a Linux newb. I've been attempting to compile linux-2.6.29.3 from source and I'm having some problems and have a few newb questions... a) First of all, my kernel won't boot, it fails... (0 Replies)
Discussion started by: urbanriot
0 Replies

6. Solaris

Errors compiling Bind

Hi all, Apologies if this is the wrong forum for this question, if it is, could some one point me to the right one please. I am trying to compile bind-9.5.1b1 on Solaris 10 Get the error when try to configure: checking for OpenSSL library... using OpenSSL from /usr/local/lib and... (5 Replies)
Discussion started by: callmebob
5 Replies

7. HP-UX

errors while compiling c++ module

hello everyone, here i attempting to compile a c++ module . I am using the following command make -d dummyCHARGP. i am using the gcc compiler .my os is HP-UX 11.11. here i am getting the following errors. errors: ======= /swtemp/usbs/cc/unix-ce/root/subsys/include/main.h:146:... (1 Reply)
Discussion started by: mannam srinivas
1 Replies

8. UNIX for Dummies Questions & Answers

errors compiling gcc 4.2.1

Hello, I have never had a successful compile on the 2.6 kernel. On every arch in which I try to compile gcc I get either "i686-pc-cygwin-ar command not found or "i686-suse-linux-ar command not found. This always happens during the make process after configure checks for ar and finds it's just ar.... (2 Replies)
Discussion started by: kwa71
2 Replies

9. Programming

Errors while Compiling a PC script.

Hi all, I have created a post-C (PC) script OrdItmpopulate.pc. When I am compiling this using the “Make” command I am getting the following error. My “make” command looks like this: make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=OrdItmpopulate8.exe OBJS="OrdItmpopulate8.o"... (1 Reply)
Discussion started by: musavir19
1 Replies

10. Programming

Compiling Errors -- Symbol referencing

I'm trying to compile a FTP_API program. To do this you must use the libftp.so libary. But that libary has references which are not defined. Has anyone had this problems and how is it corrected?? The command line looks like this:-------------------------------------------- # cc ftpstock.c -lftp... (5 Replies)
Discussion started by: spotanddot
5 Replies
Login or Register to Ask a Question