Opened 16 years ago

Closed 15 years ago

#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: jmroot (Joshua Root)
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 (3)

log (3.6 KB) - added by danielroy@… 16 years ago.
build log
log.2 (3.6 KB) - added by danielroy@… 16 years ago.
build log2
log.3 (52.3 KB) - added by danielroy@… 16 years ago.
build log using described "-d" command line option

Download all attachments as: .zip

Change History (13)

Changed 16 years ago by danielroy@…

Attachment: log added

build log

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Port: python24 added

comment:2 Changed 16 years ago by jmroot (Joshua Root)

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.

Changed 16 years ago by danielroy@…

Attachment: log.2 added

build log2

comment:3 in reply to:  2 Changed 16 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 Changed 16 years ago by jmroot (Joshua Root)

You have to put short options before other arguments, like so:

port -d build python24 > log 2>&1

Changed 16 years ago by danielroy@…

Attachment: log.3 added

build log using described "-d" command line option

comment:5 in reply to:  4 Changed 16 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 16 years ago by jmroot (Joshua Root)

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 16 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 16 years ago by jmroot (Joshua Root)

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:9 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:10 Changed 15 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

No idea what's going on here, no progress in 9 months, closing.

Note: See TracTickets for help on using tickets.