Ticket #16137 (closed defect: fixed)
ffmpeg: build error: can't allocate region on Mac OS X 10.4.11
| Reported by: | dklug1234@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | ryandesign@…, acho@… | |
| Port: |
Description
After applying the patch given in the comments to Ticket #16101 ffmpeg still doesn't build (although this patch gets a little further) (G5 PPC, Mac OSX 10.4.11):
$ sudo port install ffmpeg -gpl -lame -theora -faac -faad -x264 -a52 -postproc -avfilter ---> Fetching ffmpeg ---> Verifying checksum(s) for ffmpeg ---> Extracting ffmpeg ---> Configuring ffmpeg ---> Building ffmpeg with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/ macports/build/_opt_local_var_macports_sources_rsync.macports.org_release _ports_multimedia_ffmpeg/work/trunk" && make all " returned error 2 Command output: make(4251) malloc: *** vm_allocate(size=4272939008) failed (error code=3) make(4251) malloc: *** error: can't allocate region make(4251) malloc: *** set a breakpoint in szone_error to debug make: *** virtual memory exhausted. Stop.
The reason is a bug in /usr/bin/make (version 3.80) that is fixed in gnu make version 3.81. How do I tell port to use the newer make? I was able to build ffmpeg outside of MacPorts using a newer version of make I have in /usr/local/bin.
Change History
Note: See
TracTickets for help on using
tickets.

