Test to macports-users@lists.macports.org

2017-04-19 Thread Craig Treleaven
Message sometimes don’t go through for me; trying to determine why. Craig

Re: building from source with libc++

2017-04-19 Thread Ken Cunningham
> On Apr 19, 2017, at 2:10 PM, db wrote: > > Are the other steps described in the LibcxxOnOlderSystems instructions for > 10.6 not necessary for 10.8? 10.8 already has /usr/lib/libc++.dylib installed, so you don’t need to go through the bootstrapping hoops to get that as you do on 10.6. Jus

Re: building from source with libc++

2017-04-19 Thread db
On 19 Apr 2017, at 18:22, Ken Cunningham wrote: > You're right, that option is not listed there. It is listed in the > LibCxxOnOlderSystems instructions, which is where I originally found it. > It looks like this, in macports.conf on my system. > default_compilers macports-clang-3.8 Are t

Re: Running launchctl from tmux

2017-04-19 Thread Kendall Shaw
On 4/19/17, 1:53 AM, "Rainer Müller" wrote: On 2017-04-19 01:41, Kendall Shaw wrote: > This is sort of on topic because I installed tmux via macports… > > > > I can do this to set environment variable as as non-root user: > > > > launchctl setenv BL

Re: building from source with libc++

2017-04-19 Thread Mojca Miklavec
On 19 April 2017 at 21:34, Ken Cunningham wrote: >> I'm currently fighting with cross-compiling (for i386 and ppc) on 10.6 >> and usually setting CC="gcc -arch ppc" is a much safer recipe than >> making sure that the software consistently switches to obeying CFLAGS. > > I had mentioned a while back

Re: building from source with libc++

2017-04-19 Thread Ken Cunningham
> I'm currently fighting with cross-compiling (for i386 and ppc) on 10.6 > and usually setting CC="gcc -arch ppc" is a much safer recipe that > making sure that the software consistently switches to obeying CFLAGS. > I had mentioned a while back that I came across a project to bring Apple’s gcc

Re: building from source with libc++

2017-04-19 Thread Ken Cunningham
On 2017-04-19, at 1:05 AM, db wrote: > > $ clang --version > Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) > Target: x86_64-apple-darwin12.6.0 > Thread model: posix > > Does this mean that I have 3.4 or something around that time of release? > > What exact port should then I in

Re: building from source with libc++

2017-04-19 Thread Mojca Miklavec
Posting this to the developer list, it probably got too off-topic for the user list. On 19 April 2017 at 02:29, Ken Cunningham wrote: > > After coming across this issue one too many times for my own liking, and > changing several dozen ports as you have done, I finally just patched clang > to make

Re: building from source with libc++

2017-04-19 Thread db
On 19 Apr 2017, at 10:59, Chris Jones wrote: > You cannot really compare the stock LLVM/Clang releases to the Apple versions. I read https://trac.macports.org/wiki/UsingTheRightCompiler and this comment from Rainer, I guess, https://superuser.com/a/130474 and thus I'm not quite sure if this cha

Re: building from source with libc++

2017-04-19 Thread Chris Jones
On 19/04/17 09:51, db wrote: On 19 Apr 2017, at 10:13, Mojca Miklavec wrote: https://trac.macports.org/wiki/XcodeVersionInfo That doesn't tell me anything different from the output I posted. I still don't exactly know which clang version I have. You cannot really compare the stock LLVM/C

Re: Running launchctl from tmux

2017-04-19 Thread Rainer Müller
On 2017-04-19 01:41, Kendall Shaw wrote: > This is sort of on topic because I installed tmux via macports… > > > > I can do this to set environment variable as as non-root user: > > > > launchctl setenv BLAH blah > > > > But, within tmux I get: > > > > Not privileged to set domain e

Re: building from source with libc++

2017-04-19 Thread db
On 19 Apr 2017, at 10:13, Mojca Miklavec wrote: > https://trac.macports.org/wiki/XcodeVersionInfo That doesn't tell me anything different from the output I posted. I still don't exactly know which clang version I have. > You would run into problems if you installed/built existing ports against

Re: building from source with libc++

2017-04-19 Thread Mojca Miklavec
On 19 April 2017 at 10:05, db wrote: > > Clang's versioning seems not consistent. > > $ clang --version > Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) https://trac.macports.org/wiki/XcodeVersionInfo >> 2. properly setting the standard c++ library. > > I'm now always building fro

Re: building from source with libc++

2017-04-19 Thread db
Thanks Ken for the detailed post. On 18 Apr 2017, at 17:45, Ken Cunningham wrote: > There are two issues: > 1. cxx11 features required. > ... > Although you could say the Portfiles should all be updated as this is > recognized, it is in the end MUCH easier to install a modern compiler on your