Opened 13 years ago

Closed 12 years ago

#33781 closed defect (invalid)

python27 build failure: "CarbonCore/MacErrors.h: No such file or directory"

Reported by: emailstevenp@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: python27

Description

I'm trying to get WINE running and python27 is a dependency. I've tried install wine and install python27 many times, they haven't worked yet. I've also uninstalled macports and done uninstalls/cleans between attempts to install python27. I've tried sudo port install python27 +universal as well as -universal.

I can't get anything out of the log file hopefully you guys can help.

Building python27
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (2)

main.log (18.8 KB) - added by emailstevenp@… 13 years ago.
main.2.log (105.7 KB) - added by emailstevenp@… 13 years ago.
Log after cleaning

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by emailstevenp@…

Attachment: main.log added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: wine python27 removed
Milestone: MacPorts 2.0.5
Port: python27 added

This was not a clean build attempt. Please "sudo port clean python27" and try again, and attach the new main.log.

comment:2 in reply to:  1 Changed 13 years ago by emailstevenp@…

Replying to ryandesign@…:

Python actually successfully installed using

sudo port clean python27
sudo port install python27

Unfortunately WINE still won't install. I just saw another post with a similar issue and they said it was because some other wine dependencies needed the +universal python27. I get the same error.

Also, I am running on a mac that came with Snow Leopard from the factory, and is still running Snow Leopard. (Forgot to say what OS I'm on. I think that matters.)

Changed 13 years ago by emailstevenp@…

Attachment: main.2.log added

Log after cleaning

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Summary: Python27 fails installing at build shell scriptpython27 build failure: "CarbonCore/MacErrors.h: No such file or directory"

The first error in the log is:

error: CarbonCore/MacErrors.h: No such file or directory

That file is present on my system:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacErrors.h

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jwa@…

comment:5 Changed 12 years ago by ned-deily (Ned Deily)

System headers files like the one cited above are not present on your system unless you install a Command Line Tools component, either from an Xcode installation or from the newer standalone Command Line Tools download for Xcode 4. Otherwise, you would need to change the MacPorts configuration to build with an appropriate MacOSX10.n SDK. Currently though, MacPorts requires a full Xcode installation including installing the Command LIne Tools component.

comment:6 Changed 12 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

Closing as per comment:5.

Note: See TracTickets for help on using tickets.