> On Oct 5, 2015, at 13:20, Martin Costabel <costa...@wanadoo.fr> wrote: > > On 5/10/15 21:53, Gary K. Olson wrote: >> Alex Hansen’s fix over weekend fixed the system-perl problem, so I >> decided to build a few active packages that I hadn’t built under 10.10. >> Several packages couldn’t build because of broken c compiler. Here is >> message on attempting to build octave-qtmac that was typical: >> >>> >> checking for style of include used by make... GNU >> checking for x86_64-apple-darwin-gcc... oct-cc >> checking whether the C compiler works... no >> configure: error: in `/sw/src/fink.build/octave-qtmac-3.8.2-6/octave-3.8.2': >> configure: error: C compiler cannot create executables >> See `config.log' for more details > [] >> Failed: phase compiling: octave-qtmac-3.8.2-6 failed >> >> I assumed that this is due to still calling for gcc4.9? > > No, it is due to fink-octave-scripts not yet aware of the existence of El > Capitan. You can paper it over as follows: > > Edit the two files /sw/bin/oct-cc and /sw/bin/oct-cxx and add 15 to the list > of recognized OS versions. Here are the diffs: > > --- /sw/bin/oct-cc~ 2015-10-02 21:03:28.000000000 +0200 > +++ /sw/bin/oct-cc 2015-10-04 11:46:27.000000000 +0200 > @@ -3,3 +3,3 @@ > case $osversion in > - 1[1234]) > + 1[12345]) > COMPILER=/sw/var/lib/fink/path-prefix-clang/cc ;; > --- /sw/bin/oct-cxx~ 2015-10-02 21:03:28.000000000 +0200 > +++ /sw/bin/oct-cxx 2015-10-04 11:48:08.000000000 +0200 > @@ -3,3 +3,3 @@ > case $osversion in > - 1[34]) > + 1[345]) > COMPILER=/sw/var/lib/fink/path-prefix-libcxx/c++ ;; > > With this fix, octave382 should build (it did for me, anyway). > > -- > Martin > > >
I’ll get that updated—I figured it was safest to have builds error out promptly for unrelated OSes rather than to get partway through the long Octave build and then fail. -- Alexander Hansen, Ph.D. Fink User Liaison ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users