Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#11048 closed defect (fixed)

py-scipy can't compile

Reported by: jsgay.mail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Can't compile py-scipy due to the lack of a fortran compiler. It will be necessary to add g95 from the g95 project in the port tree and to adapt py-scipy port to deal with it. It's the way things happens in fink.

Attachments (1)

Portfile.diff (419 bytes) - added by kobold@… 17 years ago.
Patch fixing fortran compiler dependency

Download all attachments as: .zip

Change History (9)

Changed 17 years ago by kobold@…

Attachment: Portfile.diff added

Patch fixing fortran compiler dependency

comment:1 Changed 17 years ago by kobold@…

Here's a patch telling port to install a version of gcc including the fortran compiler as a dependency. There are two issues with it:

  1. It doesn't handle detection of other fortran compilers properly, such as xlf. Somebody will have to dig around in the autoconf scripts to figure out what scipy looks for.
  2. It takes forever to compile a whole 'nother version of gcc. The best way to do it would be to add a g95 port.

Also, for the maintainer, there's a new version of scipy, if you want to update the port as well.

comment:2 Changed 17 years ago by vincent@…

this seems to be a duplicate of #10690

comment:3 Changed 17 years ago by pipping@…

Milestone: Available Ports

comment:4 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:5 Changed 17 years ago by jmpp@…

Priority: BlockerExpected
severity: Crash/data lossNormal

To the original poster: please refrain from filing three tickets on the same issue, #11034, #11035 and this one. Also, this is not a blocker and does not pose a data loss risk, so please use those fields responsibly. Other than that, thanks for the report and the patch!

-jmpp

comment:6 Changed 17 years ago by demianw@…

The building problem from scipy comes from numpy, the version (1.0.3) has a bug and does not compile the dist_utils support needed from scipy. It could be fixed by getting an older version of numpy or the svn version.

-Dem

comment:7 Changed 17 years ago by erickt@…

Resolution: fixed
Status: newclosed

Should be fixed now. Please open a new bug if you have any more problems.

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.