Re: LibcxxOnOlderSystems

2019-08-29 Thread Bill Cole
On 29 Aug 2019, at 18:46, Bjarne D Mathiesen wrote: Bill Cole wrote: I successfully re-ran the LibcxxOnOlderSystems procedure last weekend and have what seems to be a working setup on an original Intel Core Duo iMac running 10.6.8. I've also just done that on mine during the last two days.

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bill Cole
On 29 Aug 2019, at 6:53, Joshua Root wrote: On 2019-8-29 20:04 , Bjarne D Mathiesen wrote: Ken Cunningham wrote: --- Now, how do I switch this automatic process off ? I really need to get my system into a working condition ;-) I think if you start over, uninstall all ports, and then set you

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bjarne D Mathiesen
Joshua Root wrote: > On 2019-8-30 00:53 , Bjarne D Mathiesen wrote: >> I >> 1) uninstalled all installed ports >> 2) manually cleared the build directory for cruft > > What about variants.conf? Makes no difference πŸ‘ŽπŸ» > >> So ... πŸ‘ŽπŸ» it fails already after the first port has been installed πŸ‘ŽπŸ»

Re: LibcxxOnOlderSystems

2019-08-29 Thread Joshua Root
On 2019-8-30 00:53 , Bjarne D Mathiesen wrote: > I > 1) uninstalled all installed ports > 2) manually cleared the build directory for cruft What about variants.conf? > So ... πŸ‘ŽπŸ» it fails already after the first port has been installed πŸ‘ŽπŸ» Yeah, there's no getting around the fact that +llvm37 isn'

Re: [libgcc8] compile failure on i386 on 10.6 Snow

2019-08-29 Thread Bjarne D Mathiesen
Ken Cunningham wrote: > FOR NOW: > > libgcc8 does build just fine on 10.6.8 32 bit using apple’s /usr/bin/gcc-4.2, > however, so I suggest you just use that. Because you now have settings in > your default compilers that will change what MacPorts would have set up by > itself in the past, you

OpenGL and X11

2019-08-29 Thread Mark Brethen
I'm using macports to install OpenGL (mesa) since High Sierra does not have the X11 parts of it. In the Makefile there are includes and LFLAGS that need to be patched: diff -ur cgx_2.13/src.orig/Makefile cgx_2.13/src/Makefile --- cgx_2.13/src.orig/Makefile 2018-04-05 13:32:06.0 -0500 ++

Re: [libgcc8] compile failure on i386 on 10.6 Snow

2019-08-29 Thread Ken Cunningham
I can reproduce the error on my 32bit 10.6.8 VM. On my system, putting: configure.ldflags-append -read_only_relocs suppress into the Portfile (I put it near the bottom group of commands) does indeed get it onto the link line, and the tools do link. So I suspect you mistyped that into the portfi

corrupt PortIndex file

2019-08-29 Thread Bjarne D Mathiesen
Whenever I do something like this #=> port installed name:^clang name:^llvm name:*gcc* name:libcxx I get this : Warning: It looks like your PortIndex file for rsync://rsync.macports.org/release/tarballs/ports.tar may be corrupt. Warning: Can't open index file for source: rsync://rsync.macports.o

Re: [libgcc8] compile failure on i386 on 10.6 Snow

2019-08-29 Thread Bjarne D Mathiesen
I tried editing the libgcc8 Portfile "configure.cxxflags-append -Wl,-read_only_relocs,suppress" has no influence and just gives the original error. "configure.ldflags-append -read_only_relocs suppress" gives : #=> port -v install libgcc ---> Computing dependencies for libgcc.. The following d

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bjarne D Mathiesen
Bill Cole wrote: > > I successfully re-ran the LibcxxOnOlderSystems procedure last weekend > and have what seems to be a working setup on an original Intel Core Duo > iMac running 10.6.8. I've also just done that on mine during the last two days. !!!EXECPT!!! that I didn't re-install libcxx !

Re: [libgcc8] compile failure on i386 on 10.6 Snow

2019-08-29 Thread Ken Cunningham
> /macports/bin/clang++-mp-5.0 -arch i386 -std=gnu++98 -g -DIN_GCC > -fno-strict-aliasing -fno-exceptions -fno-rtti > -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings > -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual > -pedantic -Wno-long-long -Wno-v

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bill Cole
On 29 Aug 2019, at 16:38, Bjarne D Mathiesen wrote: Bjarne D Mathiesen wrote: --- Now, how do I switch this automatic process off ? I really need to get my system into a working condition ;-) I suppose I could "git clone macports-ports" and go back in time untill I get to a point, where the

Re: [libgcc8] compile failure on i386 on 10.6 Snow

2019-08-29 Thread Bjarne D Mathiesen
OK - I've re-installed the toolchain so presently I've got : #=> port installed name:^clang name:^llvm name:*gcc* The following ports are currently installed: clang-3.4 @3.4.2_12 clang-3.7 @3.7.1_5+analyzer (active) clang-5.0 @5.0.2_3+analyzer+defaultlibcxx+emulated_tls+libstdcxx (active)

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bjarne D Mathiesen
Bjarne D Mathiesen wrote: >> --- >> Now, how do I switch this automatic process off ? >> I really need to get my system into a working condition ;-) >> I suppose I could "git clone macports-ports" and go back in time untill I get to a point, where the LibcxxOnOlderSystems instructions for doing

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bjarne D Mathiesen
I 1) uninstalled all installed ports 2) manually cleared the build directory for cruft now, "port -vN install libcxx" with buildfromsourcealways cxx_stdlib libc++ default_compilers macports-clang-5.0 macports-clang-3.7 gcc-4.2 apple-gcc-4.2 macports-clang-3.4 #=> p

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bjarne D Mathiesen
Bjarne D Mathiesen wrote: > ---> Scanning binaries for linking errors > ---> No broken files found. > ---> Found 7 broken ports, determining rebuild order > You can always run 'port rev-upgrade' again to fix errors. > The following ports will be rebuilt: > gperf @3.1 > icu @58.2 > db48 @4.

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bjarne D Mathiesen
Joshua Root wrote: > On 2019-8-29 21:21 , Bjarne D Mathiesen wrote: >> >> #=> port deps clang-3.4 >> Full Name: clang-3.4 @3.4.2_12+analyzer >> Build Dependencies: cctools >> Library Dependencies: libxml2, llvm-3.4, python27, libffi, ncurses, zlib >> Runtime Dependencies: clang_select, ld64, p

Re: LibcxxOnOlderSystems

2019-08-29 Thread Joshua Root
On 2019-8-29 21:21 , Bjarne D Mathiesen wrote: > > #=> port deps clang-3.4 > Full Name: clang-3.4 @3.4.2_12+analyzer > Build Dependencies: cctools > Library Dependencies: libxml2, llvm-3.4, python27, libffi, ncurses, zlib > Runtime Dependencies: clang_select, ld64, perl5 I guess you don't have

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bjarne D Mathiesen
Joshua Root wrote: > On 2019-8-29 20:04 , Bjarne D Mathiesen wrote: >> It's impossible to install the remaining ports one-by-one as they all >> depend on each other : >> >> #=> port install cctools >> ---> Computing dependencies for cctools >> The following dependencies will be installed: >> c

Re: LibcxxOnOlderSystems

2019-08-29 Thread Joshua Root
On 2019-8-29 20:04 , Bjarne D Mathiesen wrote: > > > Ken Cunningham wrote: >>> --- >>> Now, how do I switch this automatic process off ? >>> I really need to get my system into a working condition ;-) >>> >> I think if you start over, uninstall all ports, and then set your >> macports.conf back

Re: LibcxxOnOlderSystems

2019-08-29 Thread Bjarne D Mathiesen
Ken Cunningham wrote: >> --- >> Now, how do I switch this automatic process off ? >> I really need to get my system into a working condition ;-) >> > I think if you start over, uninstall all ports, and then set your > macports.conf back to the way it was at birth (comment out all your > additi