Opened 14 years ago

Closed 14 years ago

#25196 closed defect (fixed)

py26-matplotlib-basemap fails build when MacPorts installed in non-standard location

Reported by: shawn@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.9.0
Keywords: Cc:
Port: py26-matplotlib-basemap

Description

py26-matplotlib-basemap does not build when installed in a non-standard location (i.e., other than in /opt/local). The reason for this is that, by default, the setup script for basemap only looks for the GEOS library in a predefined set of locations. This check occurs at build time and at install (destroot phase) time.

However, this installation also looks for the GEOS_DIR environment variable when looking for the GEOS library.

Attached is debug output showing the error (build_output.txt) and a patch to the Portfile, adding the environment variable GEOS_DIR (set to ${prefix}) in both the build and destroot phases.

Attachments (2)

build_output.txt (2.5 KB) - added by shawn@… 14 years ago.
Debug output from port install command.
Portfile.patch (451 bytes) - added by shawn@… 14 years ago.
Patch to the py26-matplotlib-basemap Portfile.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by shawn@…

Attachment: build_output.txt added

Debug output from port install command.

Changed 14 years ago by shawn@…

Attachment: Portfile.patch added

Patch to the py26-matplotlib-basemap Portfile.

comment:1 Changed 14 years ago by shawn@…

Cc: shawn@… added

Cc Me!

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Cc: ram shawn@… removed
Keywords: basemap matplotlib python removed
Owner: changed from macports-tickets@… to ram@…

Full email addresses must be used in Trac.

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

Status: newassigned

comment:4 Changed 14 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

fixed in r68690, thanks

Note: See TracTickets for help on using tickets.