New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #4881 (closed defect: invalid)

Opened 4 years ago

Last modified 2 months ago

BUG: python24 mactoolboxglue error because of missing QuickTime

Reported by: speisert@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: markd@…
Port: python24

Description (last modified by ryandesign@…) (diff)

I am having a problem seemingly similar to that described in bug #3055 preventing the compilation of python 24.

[:~] % uname -a
Darwin 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005; 
root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh powerpc

[~]% sudo port install python24
--->  Fetching python24
--->  Verifying checksum(s) for python24
--->  Extracting python24
--->  Applying patches to python24
--->  Configuring python24
--->  Building python24 with target all libpython.2.4.1.dylib
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_lang_python24/
work/Python-2.4.1" && make all libpython.2.4.1.dylib" returned error 2
Command output: Python/mactoolboxglue.c:440: warning: return makes integer from pointer without a 
cast
Python/mactoolboxglue.c:440: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFTypeRefObj_Convert':
Python/mactoolboxglue.c:443: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:443: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFStringRefObj_Convert':
Python/mactoolboxglue.c:446: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:446: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFMutableStringRefObj_Convert':
Python/mactoolboxglue.c:448: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:448: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFArrayRefObj_Convert':
Python/mactoolboxglue.c:451: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:451: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFMutableArrayRefObj_Convert':
Python/mactoolboxglue.c:453: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:453: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFDictionaryRefObj_Convert':
Python/mactoolboxglue.c:456: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:456: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFMutableDictionaryRefObj_Convert':
Python/mactoolboxglue.c:458: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:458: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFURLRefObj_Convert':
Python/mactoolboxglue.c:461: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:461: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'OptionalCFURLRefObj_Convert':
Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast
make: *** [Python/mactoolboxglue.o] Error 1

Attachments

log (53.5 KB) - added by speisert@… 4 years ago.
build log

Change History

Changed 4 years ago by mww@…

would you please provide a whole build log? (`port clean python24; port build python24 -vd > log 2>&1')

Changed 4 years ago by speisert@…

  • attachment log added

build log

Changed 4 years ago by mww@…

do you have /System/Library/Frameworks//QuickTime.framework/Versions/A/Headers/QuickTime.h ? It seems as if Quicktime is missing on your system or - more likely - the Quicktime.h header file isn't found.

Changed 4 years ago by speisert@…

I have QuickTime, but not the QuickTime.h file:

[~] % ls /System/Library/Frameworks/QuickTime.framework/Versions/A/ total 6824 drwxr-xr-x 4 root wheel 136 Sep 7 15:22 . drwxr-xr-x 4 root wheel 136 Sep 7 11:57 .. -rwxr-xr-x 1 root wheel 3489924 Sep 7 15:21 QuickTime drwxr-xr-x 20 root wheel 680 Sep 7 11:57 Resources

This makes sense -- I'm pretty sure that I realized that I wasn't going to be doing any QT development, and didn't install them along with the other Xcode 2.1 stuff as a space-saving measure. Although I can certainly go back and do so, are QuickTime headers are really required for Python?

Changed 4 years ago by speisert@…

After a couple of more rounds of compiles, I discovered that python24 requires not only QuickTime, but also CoreAudio and OpenGL, but after installing them, it seems to have worked. Thanks for the pointers!

Since the need for these packages is kind of non-intuitive, I might suggest either making them optional add-ons (if possible), or maybe just a clearer error message might suffice, as I definitely wouldn't have thought of QuickTime (though I should definitely have used the -dv flags!).

Changed 4 years ago by mww@…

  • summary changed from mactoolboxglue error inhibiting compilation of python24 to BUG: mactoolboxglue error inhibiting compilation of python24

Changed 3 years ago by markd@…

  • cc markd@… added
  • severity changed from major to normal
  • summary changed from BUG: mactoolboxglue error inhibiting compilation of python24 to BUG: python24 mactoolboxglue error because of missing QuickTime

Changed 2 years ago by pipping@…

  • milestone set to Available Ports

Changed 2 years ago by pipping@…

  • milestone changed from Available Ports to Port Bugs

Changed 2 years ago by nox@…

  • priority changed from Expected to Normal
  • version 1.0 deleted

Changed 23 months ago by nox@…

  • cc markd@… added; markd@… removed

Changed 20 months ago by mww@…

  • status changed from new to closed
  • resolution set to invalid
  • description modified (diff)

This problem has made it to the FAQ meanwhile: port(1) requires an XCode installation; this problem occurs if the Quicktime-SDK is deselected when installing XCode.

If you have a standard or even full XCode installation and this problem persists, please re-open this bug!

Changed 2 months ago by ryandesign@…

  • description modified (diff)
  • port set to python24

Changed 2 months ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.