Ticket #25395 (closed enhancement: fixed)
add gcc45 variant to py26-numpy
| Reported by: | jabronson@… | Owned by: | mcalhoun@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | tommyd@…, michaelld@… | |
| Port: | py26-numpy |
Description
I have gcc45 installed but not gcc43 or gcc44. I'd like to install numpy without having to install an earlier gcc. I see there's already a gcc44 variant. Would it be possible to add a gcc45 variant as well?
Change History
comment:1 Changed 3 years ago by macsforever2000@…
- Cc mcalhoun@…, openmaintainer@… removed
- Owner changed from macports-tickets@… to mcalhoun@…
- Version 1.9.1 deleted
comment:2 Changed 3 years ago by tommyd@…
While adding this variant, one might also consider making the +no_atlas variant the default for py*-numpy so it won't pull in any gcc if not really needed.
comment:4 Changed 3 years ago by jabronson@…
I just tried "port install py26-numpy +no_atlas" and it still wanted to install gcc:
# port install -d py26-numpy +no_atlas Portfile changed since last build; discarding previous state. ---> Computing dependencies for py26-numpy ---> Dependencies to be installed: fftw-3 gcc44 py26-nose ^C
comment:5 follow-up: ↓ 6 Changed 3 years ago by tommyd@…
You also have to specify that you don't want gcc44, which is the default variant to which your selection +no_atlas is only added:
$ port install py26-numpy +no_atlas -gcc44
comment:6 in reply to: ↑ 5 Changed 3 years ago by jabronson@…
Replying to tommyd@…:
You also have to specify that you don't want gcc44, which is the default variant to which your selection +no_atlas is only added:
Just so, thank you.
comment:8 Changed 3 years ago by michaelld@…
There's a potential fix for this issue on ticket #24942; please try the last diff & see if it works for you on this issue.
comment:9 Changed 3 years ago by michaelld@…
- Status changed from new to closed
- Resolution set to fixed
I've checked in the changes in r72220; please do:
sudo port clean py26-numpy sudo port selfupdate sudo port install py26-numpy [+variants]
and see if it works. I'm closing this ticket as fixed; please reopen if the changes do not work for you.

