Problems compiling Python25 & MPlayer on 10.5 with Case-sensitive filesystem

Scott C. Kennedy sck at nogas.org
Sat Dec 22 00:48:31 PST 2007


Is anyone else seeing this? On my 10.5.1 laptop with a cast-sensitive
filesystem, I am unable to compile the latest python25...

    Macintosh:include sck$ sudo port upgrade python25
    --->  Building python25 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_lang_python25/work/Python-2.5.1"
    && make all " returned error 2
    Command output: Python/mactoolboxglue.c:425: error: 'cobj'
    undeclared (first use in this function)

nor MPlayer versions...

    Macintosh:include sck$ sudo port install MPlayer
    Password:
    --->  Building MPlayer 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_MPlayer/work/MPlayer-1.0rc2"
    && make all " returned error 2
    Command output: /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat
    -Wdisabled-optimization -Wno-pointer-sign
    -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall
    -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m
    -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer
    -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
    -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include
    -I/usr/local/include -I/usr/X11/include   -c -o video_out.o video_out.c
    /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat
    -Wdisabled-optimization -Wno-pointer-sign
    -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall
    -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m
    -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer
    -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
    -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include
    -I/usr/local/include -I/usr/X11/include   -c -o vo_mpegpes.o
    vo_mpegpes.c
    /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat
    -Wdisabled-optimization -Wno-pointer-sign
    -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall
    -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m
    -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer
    -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
    -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include
    -I/usr/local/include -I/usr/X11/include   -c -o vo_null.o vo_null.c
    /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat
    -Wdisabled-optimization -Wno-pointer-sign
    -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall
    -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m
    -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer
    -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
    -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include
    -I/usr/local/include -I/usr/X11/include   -c -o vo_yuv4mpeg.o
    vo_yuv4mpeg.c
    /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat
    -Wdisabled-optimization -Wno-pointer-sign
    -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall
    -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m
    -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer
    -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
    -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include
    -I/usr/local/include -I/usr/X11/include -c -o vo_macosx.o vo_macosx.m
    In file included from vo_macosx.m:9:
    vo_macosx.h:13:32: error: QuickTime/QuickTime.h: No such file or
    directory

So, I did a full find of my drives, and did a case insensitive search
and found...

    Macintosh:include sck$ grep -i "QuickTime/QuickTime.h" ~/find.txt
    577661        8 -rw-rw-r--    1 _devdocs wheel         218 May  2 
    2007
    /Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/QuickTime/QuickTime.html
    513949        8 lrwxr-xr-x    1 root     wheel          77 Oct 29
    23:50
    /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h
    ->
    ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h

Just wondering if its a tweaked config of mine, or is there a case issue?

Scott
PS> Yes I did a 'sudo port clean' before I tried the compiles....
PPS> I've been having a few case-sensitive issues, though not with
MacPorts.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20071222/6326b429/attachment.html


More information about the macports-users mailing list