Problems compiling Python25 & MPlayer on 10.5 with Case-sensitive filesystem
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.
On Dec 22, 2007 12:48 AM, Scott C. Kennedy <sck@nogas.org> wrote:
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)
do you have the right SDKs installed? This is familiar and I think it has been resolved by installed the QuickTime SDK.
1. http://lists.macosforge.org/pipermail/macports-users/2007-September/005718.h... -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
Well, I re-installed XCode 3.0 and then re did the "sudo find / -ls > new_find.txt" to see what files were added. Macintosh:~ sck$ grep -i "quicktime/quicktime.h" find.txt new_find.txt 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 find.txt: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 new_find.txt:4102117 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 new_find.txt:4119621 8 lrwxr-xr-x 1 root wheel 77 Dec 23 07:34 /Developer/SDKs/MacOSX10.3.9.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h -> ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h new_find.txt:4038650 8 lrwxr-xr-x 1 root wheel 77 Dec 23 07:31 /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h -> ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h Macintosh:~ sck$ So, according to find, there's only the new 10.3 sdk file added... Originally when I did the XCode install I did not install WebObjects or 10.3 SDK, but this time I installed everything and it worked... So, officially, I don't understand, but I comply and am happy... :) Scott paul beard wrote:
On Dec 22, 2007 12:48 AM, Scott C. Kennedy <sck@nogas.org <mailto:sck@nogas.org>> wrote:
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)
do you have the right SDKs installed? This is familiar and I think it has been resolved by installed the QuickTime SDK.
1. http://lists.macosforge.org/pipermail/macports-users/2007-September/005718.h...
-- Paul Beard / www.paulbeard.org/ <http://www.paulbeard.org/> < paulbeard@gmail.com/paulbeard@gmail.com <http://paulbeard@gmail.com/paulbeard@gmail.com>>
On Dec 23, 2007 8:56 AM, Scott C. Kennedy <sck@nogas.org> wrote:
Well, I re-installed XCode 3.0 and then re did the "sudo find / -ls > new_find.txt" to see what files were added.
Macintosh:~ sck$ grep -i "quicktime/quicktime.h" find.txt new_find.txt 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 find.txt: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 new_find.txt:4102117 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 new_find.txt:4119621 8 lrwxr-xr-x 1 root wheel 77 Dec 23 07:34 /Developer/SDKs/MacOSX10.3.9.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h -> ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h new_find.txt:4038650 8 lrwxr-xr-x 1 root wheel 77 Dec 23 07:31 /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h -> ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h Macintosh:~ sck$
So, according to find, there's only the new 10.3 sdk file added...
Originally when I did the XCode install I did not install WebObjects or 10.3 SDK, but this time I installed everything and it worked...
So, officially, I don't understand, but I comply and am happy... :)
It's software: it doesn't have to make sense. This is looking like a FAQ or FEP (frequently encountered problem). -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
On Dec 23, 2007, at 11:56 AM, Scott C. Kennedy wrote:
Well, I re-installed XCode 3.0 and then re did the "sudo find / -ls
new_find.txt" to see what files were added.
Macintosh:~ sck$ grep -i "quicktime/quicktime.h" find.txt new_find.txt 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 find.txt: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 new_find.txt:4102117 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 new_find.txt:4119621 8 lrwxr-xr-x 1 root wheel 77 Dec 23 07:34 /Developer/SDKs/MacOSX10.3.9.sdk/ Developer/Headers/CFMCarbon/QuickTime/QuickTime.h -> ../../../../ System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h new_find.txt:4038650 8 lrwxr-xr-x 1 root wheel 77 Dec 23 07:31 /Developer/SDKs/MacOSX10.4u.sdk/ Developer/Headers/CFMCarbon/QuickTime/QuickTime.h -> ../../../../ System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h Macintosh:~ sck$ So, according to find, there's only the new 10.3 sdk file added...
Originally when I did the XCode install I did not install WebObjects or 10.3 SDK, but this time I installed everything and it worked...
So, officially, I don't understand, but I comply and am happy... :)
Scott
Too late to check now, but if you notice, "QuickTime/QuickTime.h" is a symlink to ".../Headers/QuickTime.h" which wasn't captured in your grep results. Perhaps ".../Headers/QuickTime.h" was what was missing in your original install... I agree with Paul, this is almost certainly an error with the QuickTime SDK (re-)install and not specific to case-sensitivity. Thanks, Eric
participants (3)
-
Eric Cronin
-
paul beard
-
Scott C. Kennedy