GCC48 & GCC47 + FFTW-3

Ryan Schmidt ryandesign at macports.org
Thu Aug 29 09:21:57 PDT 2013


On Aug 29, 2013, at 10:46, Federico Calboli <f.calboli at gmail.com> wrote:

> today I upgraded fftw (which is required by ImageMagick) and I discovered that fftw automagically moved to fftw-3, which comes with gcc48 as a dependency (I have all my stuff compiled with gcc47).  
> 
> Now, what should I do?  remove gcc48 and fftw-3 and reinstall fftw-3 +gcc47?  Py27-SciPy and a bunch of other stuff are configured +gcc47 in my rig.  Alternatively I could migrate to gcc48, but I would like to do so *without breaking anything*.  If I choose this second option, how do I automatically (1) determine which installed ports require/were build with gcc47 (2) remove the lot and (3) rebuild the stuff removed and cleaned so that the new gcc compiler is gcc48?  part (1) seems to be as simples as `port installed |grep gcc47' though this might be deceptive.  Parts (2) and (3) look more fraught.
> 
> All in all moving fttw to fttw-3 (without asking) and getting a new compiler (without asking) seem to be pretty rude.


fftw and fftw-3 are still separate ports.

ImageMagick requires fftw-3 not fftw, and has since over a year:

https://trac.macports.org/ticket/35215

I think we are moving to gcc48 (for ports that need gcc at all). Jeremy H.S. has been putting a lot of work into this but there are many ports and he's taking them one at a time so we are currently in a transition period.

You can use "port installed|grep +gcc47" to see what ports were installed with the +gcc47 variant. For each one, you can use "port variants" to see if a +gcc48 variable is available, and if so, you could rebuild the port with that, if you like.



More information about the macports-users mailing list