[MPlayer-users] Workaround with QuickTime7.1 on MacOS 10.3.9

Christian Ebert blacktrash at gmx.net
Sun Jun 4 12:59:10 CEST 2006


* Reimar Döffinger on Sunday, June 04, 2006 at 11:48:07 +0200:
> On Sun, Jun 04, 2006 at 03:21:11AM -0400, Ergzay wrote:
>> On 2006/06/03, at 14:45, Christian Ebert wrote:
>>>> CFLAGS="-F/path/to/old/frameworks" ./configure
>>> 
>>> While this works it is better to edit configure, because
>>> otherwise you lose the usually assigned flags (-O4 and the like).
>> 
>> Edit how so? What lines? Thanks much for the info.
> 
> Does using LDFLAGS= instead of CFLAGS work, too?

Yup. Good idea. Easier than editing.

For the record, built successfully with the following configure
params:

LDFLAGS="-F/usr/local/src/CompatFrameworks" CFLAGS= \
./configure --prefix=/usr/local --enable-xmms \
--with-extralibdir=/sw/lib --with-extraincdir=/sw/include \

The good thing is that at run-time mplayer links dynamically to
the /new/ libs:

$ otool -L /usr/local/bin/mplayer
/usr/local/bin/mplayer:
<snip>
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
	/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime (compatibility version 1.0.0, current version 106.0.0)
	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 9.0.0)
	/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (compatibility version 1.2.0, current version 1.3.0)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
<snip>

Thanks.

c
-- 
_B A U S T E L L E N_ lesen!  --->> <http://www.blacktrash.org/baustellen.html>



More information about the MPlayer-users mailing list