Changes between Initial Version and Version 1 of Ticket #34002


Ignore:
Timestamp:
Apr 11, 2012, 11:23:58 PM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Please remember to use WikiFormatting.

The octave-gsl portfile makes no mention of gcc46; why is that compiler being used? Is octave-gsl perhaps inheriting the compiler from the gsl port?

Indeed, the log shows "Using compiler 'Mac OS X gcc 4.0'". That's why MacPorts is adding the -arch flags: because it believes it's going to be using a compiler that supports them. The problem that needs to be fixed is that octave-gsl is using gcc46 at all, not that -arch flags are being passed to it.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34002

    • Property Summary changed from octave-gsl @1.0.8 configure error "-arch i386" need to be removed to octave-gsl @1.0.8 is using gcc46 and shouldn't be
  • Ticket #34002 – Description

    initial v1  
    11octave-gsl fails at the configure stage due to "-arch i386" flags being passed to g++-mp-4.6.
    22
     3{{{
    34:info:configure g++-mp-4.6: error: i386: No such file or directory
    45:info:configure g++-mp-4.6: error: unrecognized option '-arch'
     6}}}
    57
    68I have tried lot's of things to remove these flags but I don't think I'm experienced enough in writing Portfiles to solve this problem... Can anybody help please?
    79
    8 Cheers,
     10Cheers, [[br]]
    911Liam