Opened 12 years ago

Closed 12 years ago

#32944 closed defect (invalid)

Install of py27-matplotlib fails

Reported by: ch-n@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: py27-matplotlib

Description (last modified by skymoo (Adam Mercer))

I when Installing py27-matplotlib during an attempt to install py27-spyder on a completely fresh and clean port install, it consistently fails.

--->  Fetching archive for py27-matplotlib
--->  Attempting to fetch py27-matplotlib-1.1.0_0+tkinter.darwin_10.x86_64.tbz2 from http://packages.macports.org/py27-matplotlib
--->  Fetching py27-matplotlib
--->  Verifying checksum(s) for py27-matplotlib
--->  Extracting py27-matplotlib
--->  Applying patches to py27-matplotlib
--->  Configuring py27-matplotlib
--->  Building py27-matplotlib
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install py27-matplotlib
Log for py27-matplotlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/main.log

Attachments (1)

main.log (388.3 KB) - added by ch-n@… 12 years ago.
logfile

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by skymoo (Adam Mercer)

Description: modified (diff)
Owner: changed from macports-tickets@… to ram@…
Port: py27-matplotlib added
Status: newassigned

Can you attach the log that the error mentions.

Changed 12 years ago by ch-n@…

Attachment: main.log added

logfile

comment:2 Changed 12 years ago by ch-n@…

Sorry, needed a few seconds to get the log ;) Thanks for the quick reply though!

problem seems to be the following: :info:build src/_macosx.m:1:25: error: Cocoa/Cocoa.h: No such file or directory

A Cocoa.h does exist on my system, it was part of the XCode install if that's of any help.

/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework/Versions/A/Headers/Cocoa.h

comment:3 Changed 12 years ago by skymoo (Adam Mercer)

That path is part of the 10.5 SDK, hence not applicable as you are on 10.6. There should be a copy of this header in the Cocoa.Framework under /System/Frameworks. What version of Xcode do you have?

comment:4 Changed 12 years ago by ch-n@…

Thanks for the heads up, something was wrong with my install of Xcode. Removed and reinstalled it and it works, thanks a lot.

comment:5 Changed 12 years ago by skymoo (Adam Mercer)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.