View Single Post
Old 2009-09-04, 21:00   Link #292
darukaru
Junior Member
 
Join Date: Sep 2009
By default, everything in Snow Leopard tries to build as x86_64 code, and apparently mplayer doesn't like this. You need to change your configure line so that it includes --extra-cflags="-I/opt/local/include -arch i386", and also you need to build all your ports with universal binary support (so that the libraries have i386 and x86_64 code, instead of just x86_64). I did it the other day, and had a sticking point with libmad--I had to build it twice and assemble the universal binary with lipo.
darukaru is offline