Opened 19 years ago

Closed 17 years ago

Last modified 16 years ago

#4881 closed defect (invalid)

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 (Ryan Carsten Schmidt))

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 (1)

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

Download all attachments as: .zip

Change History (14)

comment:1 Changed 19 years ago by mww@…

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

Changed 19 years ago by speisert@…

Attachment: log added

build log

comment:2 Changed 19 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.

comment:3 Changed 19 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?

comment:4 Changed 19 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!).

comment:5 Changed 19 years ago by mww@…

Summary: mactoolboxglue error inhibiting compilation of python24BUG: mactoolboxglue error inhibiting compilation of python24

comment:6 Changed 18 years ago by markd@…

Cc: markd@… added
severity: majornormal
Summary: BUG: mactoolboxglue error inhibiting compilation of python24BUG: python24 mactoolboxglue error because of missing QuickTime

comment:7 Changed 18 years ago by pipping@…

Milestone: Available Ports

comment:8 Changed 18 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:9 Changed 17 years ago by nox@…

Priority: ExpectedNormal
Version: 1.0

comment:10 Changed 17 years ago by nox@…

Cc: markd@… added; markd@… removed

comment:11 Changed 17 years ago by mww@…

Description: modified (diff)
Resolution: invalid
Status: newclosed

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!

comment:12 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: python24 added

comment:13 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.