Opened 14 years ago

Closed 13 years ago

#25395 closed enhancement (fixed)

add gcc45 variant to py26-numpy

Reported by: jabronson@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: tommyd@…, michaelld (Michael Dickens)
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 (9)

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

Cc: mcalhoun@… openmaintainer@… removed
Owner: changed from macports-tickets@… to mcalhoun@…
Version: 1.9.1

comment:2 Changed 14 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:3 Changed 14 years ago by tommyd@…

Cc: tommyd@… added

Cc Me!

comment:4 Changed 14 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 Changed 14 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 14 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:7 Changed 14 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:8 Changed 14 years ago by michaelld (Michael Dickens)

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 13 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.