Gentoo Archives: gentoo-alt

From: Johan Hattne <johan@××××××.se>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Tool chain search paths, OS X 10.9
Date: Wed, 25 Jun 2014 18:26:56
Message-Id: 70128DD7-12B7-43E7-8FC1-C10813089378@hattne.se
In Reply to: Re: [gentoo-alt] Tool chain search paths, OS X 10.9 by Matt Michalowski
1 Thanks a lot, John and Matt; “xcode-select --install” works a treat! No symlinks or other silly kludges necessary.
2
3 // Johan
4
5 On Jun 24, 2014, at 20:37, Matt Michalowski <nextdayflight@×××××.com> wrote:
6
7 > Hi Johan,
8 >
9 > John is correct, just run "xcode-select --install".
10 >
11 > Best of luck - Matt.
12 >
13 >
14 > On 25 June 2014 02:50, Gibson, John <jgibson@×××××.org> wrote:
15 > On Jun 24, 2014, at 5:59 AM, Johan Hattne <johan@××××××.se> wrote:
16 >
17 > > Dear all;
18 > >
19 > > A few months ago I got a shiny new MacBook with OS X 10.9.3 and I’d like to have prefixed portage on it. Xcode 5.1.1 is installed, and unlike last time I went through this exercise (on 10.8, I believe) I got the command line tools without any additional clicks.
20 > >
21 > > I ran into all kinds of problems because prefix’s toolchain didn’t find headers and libraries. It appears these are kept under /Applications/Xcode.app in my case. I kludged around parts of it by symlinking /usr/include to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include and other parts by just using the system’s toolchain, but clearly this aint’t the way to go.
22 > >
23 > > I’ve got the sneaky suspicion I’ve missed something fundamental here, but I don’t know what. I didn’t find anything that appeared suitable enough in the usual places. Cluebat, anyone?
24 > >
25 > > // Cheers; Johan
26 >
27 > Hi Johan,
28 >
29 > It's been a while but I remember playing around with xcode-select to get this working. I don't recall if I had to symlink or not, but I think that I got through it without too much pain.
30 >
31 > John
32 >
33 >
34 >