Ok, thanks to everybody for your help. clang-5.0 was successfully installed. After that I got qscintilla-qt4 and then octave built. At first sight everything works. octave-gui displays the known issue of crashing upon quit (and it is a bit nasty in that it needs kill -9 from the terminal to flush out the remnants), but otherwise a cursory test works. So far I do not see the issue that Ken reported (qt4 error that fills the screen with useless messages...), but then, I need to now actually do something with octave.
i really don't know where I got the idea that clang did not work on Snow Leopard. Obviously wrong, or at least inaccurate. Be that as it may; I am grateful for the help I got. You all seriously rock! And so does Macports (but we knew that already). Uli On Jan 21, 2018, at 10:18 PM, Ryan Schmidt wrote: > > On Jan 20, 2018, at 14:55, Uli Wienands wrote: > >> Ok, I did selfupdate Macports and tried again, and indeed it now gets past >> this hurdle. >> >> However, at the end it tells me that all compilers are blacklisted & it will >> default to first fall-back option (whatever that is)_. It then wants to >> install clang 5.0 and llvm 5.0, at which time I said "no" and let the thing >> terminate. I really don't want to install another compiler. I have gcc up to >> 7 and I don't think clang works particularly well with Snow Leo. (I also >> don't think clang 5 would build on Snow Leo). >> >> Tracking this down a little further, it seems that qscintilla-qt4 is unhappy >> with my compilers. Trying to install it separately using macport's gcc-6 >> bombs as gcc-6 does not seem to understand a flag like -Xarch=64 (or >> something like this; the log file got clobbered since). >> >> Looking into the portfile for qscintilla-qt4, but I cannot see where it >> blacklists compilers. >> >> Does anyone know how to comple scintilla-qt4 using gcc? Seems hard to >> believe this does not work (the same install worked beautifully on a >> Raspberry Pi not long ago). >> >> Thanks for you help so far > > clang works great on Intel Macs, including on Snow Leopard. We have > pre-compiled binaries of clang-5.0 on Snow Leopard so it builds fine. > > When all compilers are blacklisted, MacPorts falls back to the first > compiler, which on Snow Leopard is gcc-4.2. But because it was blacklisted > the port is expected to fail to compile. > > However, we have a bug in MacPorts where we are blacklisting overzealously in > situations where C++11 and therefore libc++ is needed, such that although > MacPorts states that all compilers are blacklisted, in fact the port should > build with one of them. That's what's happening with qscintilla-qt4, since it > includes the cxx11 1.1 portgroup. We need to fix this bug and release a new > version of MacPorts. See https://trac.macports.org/ticket/55444 > > Unless a port is configured to build using MacPorts gcc, please don't attempt > to build a port with MacPorts gcc on an Intel Mac; we don't want to help you > with all of the problems you will encounter as a result of doing that. Ports > should install without needing to override MacPorts' compiler selection; if > not, file a bug. > > > >