Changes between Initial Version and Version 5 of Ticket #11468
- Timestamp:
- Jan 31, 2009, 8:50:54 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11468
-
Property
Status
changed from
new
toclosed
-
Property
Summary
changed from
BUG: MPlayer-1.0rc1 fails to build with +fontconfig - libexpat and isysroot issue
toBUG: MPlayer-1.0rc1 fails to build with +fontconfig (libexpat and isysroot issue)
-
Property
Version
changed from
1.3.2
to1.4
-
Property
Milestone
changed from
to
Port Bugs
- Property Owner changed from macports-dev@… to ecronin@…
-
Property
Resolution
changed from
to
fixed
- Property Port MPlayer added
-
Property
Status
changed from
-
Ticket #11468 – Description
initial v5 1 1 when building mplayer with the +fontconfig variant it will bork on the following compilation error: 2 2 3 {{{ 3 4 c++ -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I/opt/local/include/cdparanoia/interface -I/opt/local/include/cdparanoia/paranoia -I/opt/local/include/freetype2 -I/opt/local/include -I. -I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a input/libinput.a libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a osdep/libosdep.a -L/opt/local/lib -L/opt/local/lib/samba3 libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a -lmad -llzo -lxvidcore -lpng -lz -lz -ljpeg -lmp3lame -lncurses -framework Carbon -framework QuickTime -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework Cocoa -framework QuartzCore -framework OpenGL -liconv -lm libfaad2/libfaad2.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a libass/libass.a -lfontconfig -L/opt/local/lib -lfreetype -lz 4 5 /usr/bin/ld: warning -L: directory name (/opt/local/lib/samba3) does not exist … … 19 20 collect2: ld returned 1 exit status 20 21 make: *** [mplayer] Error 1 22 }}} 21 23 22 24 This is probably because libexpat and fontconfig is also in the SDK of Mac OS X and the configure of mplayer sets: "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" … … 24 26 removing the -isysroot will make the compilation successful but i'm not sure if this is the best solution. The problem might also lie in 'fontconfig' as that depends on 'expat' which both come with the Mac OS X SDK: 25 27 26 /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libexpat.0.4.dylib27 /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libexpat.a28 /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libfontconfig.1.0.dylib29 /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libfontconfig.a28 * /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libexpat.0.4.dylib 29 * /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libexpat.a 30 * /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libfontconfig.1.0.dylib 31 * /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libfontconfig.a 30 32 31 33 which probably conflicts with (when using isysroot): 32 /opt/local/lib/libexpat.1.5.0.dylib33 /opt/local/lib/libfontconfig.1.2.0.dylib34 * /opt/local/lib/libexpat.1.5.0.dylib 35 * /opt/local/lib/libfontconfig.1.2.0.dylib 34 36 35 the patch that removes the -isysroot from mplayer's configure: 37 the patch that removes the -isysroot from mplayer's configure:[[br]] 36 38 http://paste.lisp.org/display/37698 (credits for finding the bug goes to: Arno Hautala (see annotion 1) 37 39