Ticket #17696 (closed defect: worksforme)
Error 1: Python/mactoolboxglue.o error during build of python24
| Reported by: | danielroy@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | jmr@… | |
| Port: | python24 |
Description
uname -a Darwin mbp.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
I cannot get python24 to build on my system. I will attach a log. I have the Quicktime SDK installed, as well as the CoreAudio and OpenGL frameworks installed (see #4881). I am running the latest iPhone SDK (iphone_sdk_for_iphone_os_2.2_9m2621_final), which is XCode 3.1.2 .
Attachments
Change History
comment:2 follow-up: ↓ 3 Changed 4 years ago by jmr@…
- Cc jmr@… added
It doesn't look like you have the full output in your log, give port the -d option to get it. The python24 port builds fine here BTW, with non-iPhone XCode 3.1.2.
comment:3 in reply to: ↑ 2 Changed 4 years ago by danielroy@…
I've attached a new log, but I don't seem to be able to get any more info than what was in the original log. I ran the following:
port build python24 -vd > log 2>&1
...and...
port build python24 -d > log 2>&1
...with same result. Hope this helps.
I guess I could try uninstalling xcode and installing non-iphone 3.1.2, then reinstalling iphone 3.1.2. sigh.
comment:4 follow-up: ↓ 5 Changed 4 years ago by jmr@…
You have to put short options before other arguments, like so:
port -d build python24 > log 2>&1
Changed 4 years ago by danielroy@…
build log using described "-d" command line option
comment:5 in reply to: ↑ 4 Changed 4 years ago by danielroy@…
Replying to jmr@…:
You have to put short options before other arguments, like so:
port -d build python24 > log 2>&1
Thank you for your help. I've attached the new log file. I successfully installed python24 on my other macbook pro, which has the iphone sdk installed (xcode 3.1.1). So I'm guessing Apple changed something in 3.1.2?
comment:6 Changed 4 years ago by jmr@…
Strange that there would be a syntax error in that header. What does line 6519-6520 of /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h look like for you? For me it's
extern CGDirectDisplayID QDGetCGDirectDisplayID(GDHandle inGDevice) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
comment:7 Changed 4 years ago by danielroy@…
Looks the same as yours...
extern CGDirectDisplayID QDGetCGDirectDisplayID(GDHandle inGDevice) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
comment:8 Changed 4 years ago by jmr@…
I guess you must have a broken header somewhere, so either CGDirectDisplay.h isn't being pulled in, or CGDirectDisplayID is being redefined badly.
comment:10 Changed 4 years ago by jmr@…
- Status changed from new to closed
- Resolution set to worksforme
No idea what's going on here, no progress in 9 months, closing.


build log