Opened 12 years ago

Closed 12 years ago

#32906 closed defect (invalid)

python27: error: Carbon/Carbon.h: No such file or directory

Reported by: James.Cleary83@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: songuke@…
Port: python27

Description

I've been trying forever to install wine with macports and continually get an error that python27 could not be installed. I get the error with or without an install on my system. I'm fairly new to working within terminal so not completely confident in what I'm doing.

I've tried cleaning python27 but still get the same error, here's a read out of what I get in terminal:

Jamess-MacBook-Pro:bin jamescleary$ sudo port clean python27
Password:
--->  Cleaning python27
Jamess-MacBook-Pro:bin jamescleary$ sudo port install wine
--->  Computing dependencies for wine
--->  Dependencies to be installed: mesa py27-libxml2 python27 xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-libXi xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto
--->  Fetching archive for python27
--->  Attempting to fetch python27-2.7.2_4+universal.darwin_11.i386-x86_64.tbz2 from http://packages.macports.org/python27
--->  Fetching python27
--->  Verifying checksum(s) for python27
--->  Extracting python27
--->  Applying patches to python27
--->  Configuring python27
--->  Building python27
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install python27
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: The following dependencies were not installed: mesa py27-libxml2 python27 xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-libXi xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Jamess-MacBook-Pro:bin jamescleary$ 

As you can see I ran the install command using sudo and have also tried logging in as root and installing from there - although I know it would make no real difference, I'm at the point where I'm trying anything and everything :(

I'm running Lion 10.7.2. Everything is up to date including XCode. I have also attached the failed install log

Thanks in advance - looking forward to your response.

Attachments (2)

main.log (73.7 KB) - added by James.Cleary83@… 12 years ago.
log file described in terminal session
main.2.log (5.1 KB) - added by songuke@… 12 years ago.

Download all attachments as: .zip

Change History (12)

Changed 12 years ago by James.Cleary83@…

Attachment: main.log added

log file described in terminal session

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

Keywords: wine python 27 removed
Owner: changed from macports-tickets@… to jwa@…
Port: python27 added; Wine removed
Summary: Failed to install python27python27: error: Carbon/Carbon.h: No such file or directory

The log you attached is incomplete. Please "sudo port clean" and try again, then attach the new complete log.

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

Make that "sudo port clean python27"

comment:3 in reply to:  2 Changed 12 years ago by James.Cleary83@…

Replying to ryandesign@…:

Make that "sudo port clean python27"

Thanks for your reply. I ran:

sudo port clean python27

as requested ... do you have any idea wear this completed log file will be stored? Or will the previously incomplete log now be complete after this clean ?

comment:4 in reply to:  2 ; Changed 12 years ago by James.Cleary83@…

Replying to ryandesign@…:

Make that "sudo port clean python27"

...... So shall I resubmit the main.log file after performing sudo port clean python27 ?

comment:5 in reply to:  4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to James.Cleary83@…:

...... So shall I resubmit the main.log file after performing sudo port clean python27 ?

Yes.

comment:6 Changed 12 years ago by songuke@…

Cc: songuke@… added

Cc Me!

comment:7 Changed 12 years ago by songuke@…

Cc: songuke@… removed

Cc Me!

comment:8 Changed 12 years ago by songuke@…

Cc: songuke@… added

Cc Me!

Changed 12 years ago by songuke@…

Attachment: main.2.log added

comment:9 Changed 12 years ago by songuke@…

I'm having the same problem. A new log file is attached.

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

Resolution: invalid
Status: newclosed

Both the attached logs are incomplete. You can reopen if you attach a complete one.

Note: See TracTickets for help on using tickets.