1 |
I had the same problem. Your fixes have worked for me. |
2 |
|
3 |
Thanks Fabian. |
4 |
|
5 |
Matt. |
6 |
|
7 |
On 6 September 2016 at 17:55, Fabian Groffen <grobian@g.o> wrote: |
8 |
|
9 |
> Han, |
10 |
> |
11 |
> Does it work for you now with my fixes? |
12 |
> |
13 |
> Thanks, |
14 |
> |
15 |
> Fabian |
16 |
> |
17 |
> |
18 |
> On 04-09-2016 17:06:56 +0200, Fabian Groffen wrote: |
19 |
> > Han, Michael, |
20 |
> > |
21 |
> > I've got the exact same scenario on my El Capitan. With the help of |
22 |
> > Michael's pointers, I managed to track down what goes wrong. |
23 |
> > |
24 |
> > Michael pointed out there is a call to some function that will return an |
25 |
> > empty string for systems where xcodebuild barfs, and the later code |
26 |
> > checks if the variable is set. Obviously it is (to an empty string), |
27 |
> > with a result of "-isysroot". |
28 |
> > |
29 |
> > I've patched the function to return / in case xcodebuild returns nothing |
30 |
> > useful, such that we fall back to /usr/include, which makes the whole |
31 |
> > thing compile for me. |
32 |
> > |
33 |
> > Fabian |
34 |
> > |
35 |
> > On 02-09-2016 19:31:02 +0000, Han H. wrote: |
36 |
> > > Hi Michael, |
37 |
> > > |
38 |
> > > Yes /usr/include is there. I am not able to install mac packages so an |
39 |
> > > update must not be run by me. |
40 |
> > > |
41 |
> > > $ xcodebuild -version -sdk macosx |
42 |
> > > xcode-select: error: tool 'xcodebuild' requires Xcode, but active |
43 |
> developer |
44 |
> > > directory '/Library/Developer/CommandLineTools' is a command line |
45 |
> tools |
46 |
> > > instance |
47 |
> > > |
48 |
> > > I saw in the check |
49 |
> > > |
50 |
> > > -- Finding valid architectures for osx... |
51 |
> > > -- OSX supported arches: i386;x86_64;x86_64h |
52 |
> > > -- Finding valid architectures for 10.4... |
53 |
> > > -- OSX 10.4 supported arches: i386;x86_64;x86_64h |
54 |
> > > -- Compiler-RT supported architectures: i386;x86_64;x86_64h |
55 |
> > > |
56 |
> > > does that mean it detects my system is 10.4? |
57 |
> > > |
58 |
> > > I also tried 3.8.1-r2 but same thing happens. llvm-3.9.0_rc3 requires |
59 |
> more |
60 |
> > > upgrade (cmake...) and not sure if uncomplete upgrade (if cmake |
61 |
> updates and |
62 |
> > > llvm remains 3.7.1) will cause a broken toolchain. |
63 |
> > > |
64 |
> > > Thanks, |
65 |
> > > Han |
66 |
> > > |
67 |
> > |
68 |
> > -- |
69 |
> > Fabian Groffen |
70 |
> > Gentoo on a different level |
71 |
> |
72 |
> |
73 |
> |
74 |
> -- |
75 |
> Fabian Groffen |
76 |
> Gentoo on a different level |
77 |
> |