Repository navigation
WCS build fails on Mac - #98
Conversation
|
I'm actually using 10.6 (not 10.7 as in #31), and didn't have any issues until some time in the last few days, so something must have changed in the compiler detection that is causing this issue. |
|
The compiler detection code has not changed for some time and it is still working on Lion. Perhaps there was an XCode update recently? If astropy really is at fault, and I can't reproduce this here, maybe you could try running When you do |
|
If I change it uses clang to compile, and works fine. Shall I commit that change? |
|
That seems fine -- but I think I'll change it to match on any llvm-gcc-4.2, regardless of darwin version. That should catch more of these cases in the future. Expect a pull request shortly which I'll ask you to test in your environment. |
|
By the way, this makes sense - darwin10 is in MacOS 10.6, and darwin11 is in MacOS 10.7, so maybe these are two only two default mac compilers we need to worry about? |
|
@mdboom - ok, thanks! |
|
I haven't done any actual experimenting to this end but I've found that the compiler adjustment is highly dependent on the Python I'm using. With EPD or python.org binaries it was never caught and I'd have to set I'll have to see if @mdboom's fix changes things and if not I'll actually try to track down the problem. |
|
@mdboom, on a totally separate topic, how do you attach code to an open issue and turn it into a pull request? |
|
@jiffyclub: I have a dorky little script that uses |
|
@mdboom I'm getting this error trying to test your branch on Python 3: It looks like the |
|
@jiffyclub: I've pushed what I hope fixes that to this branch. Also rebased to get other Python 3 fixes made today. |
|
It's not liking that either: I guess the good news is that it is actually trying to change the compiler. |
|
If you remove the 'b' from |
|
Yes, works on Python 2.7 and 3.2. One funny thing I just noticed is that the compiler gets switched to |
|
After removing the |
Given the number of successful reports, merging.
|
I know I'm a bit behind here, but because the topic came up and I just figured out how to do this... it's pretty easy to attach code to issues inside python via the github API w/ the And if it tells you the return code is 201, you were sucessful. (And no, my password is not actually '12345'. That's the kind of combination an idiot would have on his luggage...) |
|
@jiffyclub: wrt a different command used to link -- it's probably fine that it happens that way. |
Given the number of successful reports, merging.
…ols 7.0 in the affected tests.
Bootstrap failures with Python 2
Added Python formatters for ScalarFormatterLocator
Update authors and API status of ccdproc
I'm not sure when this was introduced, but as of 7a7884f, astropy does not compile on Mac:
I'm assigning this to @mdboom since the error occurs with compiling the WCS files.