[lsst-dm-stack-users] clang confused by Mac OS X Mavericks upgrade, won't build healpy

Phil Marshall dr.phil.marshall at gmail.com
Mon Aug 4 16:05:25 PDT 2014


Thanks Jim. I tried this and it wasn't the answer - error message is
unchanged.

I'll try and understand how eups is organising the compilation: I know
where wchar.h lives, its just clang that doesn't, apparently!

Phil


On Mon, Aug 4, 2014 at 3:48 PM, Jim Bosch <talljimbo at gmail.com> wrote:

> More sophisticated suggestions will have to come from devs with more
> experience with Macs and/or HealPy than I have, but the first thing to try
> would be to make sure your old attempt isn't still causing problems for
> more recent ones:
>
> eups distrib clean healpy 1.7.4
>
>
> On Mon, Aug 4, 2014 at 4:40 PM, Phil Marshall <dr.phil.marshall at gmail.com>
> wrote:
>
>>
>> Hi,
>>
>> Perhaps someone else who has migrated to a new Mac machine has seen this
>> problem too. I am trying to install sims_maf with
>>
>> eups distrib install sims_maf -t sims
>>
>> and it's failing on the healpy package, with error:
>>
>> clang: warning: no such sysroot directory:
>> '/Developer/SDKs/MacOSX10.5.sdk'
>> In file included from
>> /Users/pjm/lsst/EupsBuildDir/DarwinX86/healpy-1.7.4/healpy-1.7.4/healpixsubmodule/src/cxx/autotools/cxxsupport/announce.cc:40:
>> In file included from
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:38:
>> In file included from
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ios:215:
>>  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:90:10:
>> fatal error: 'wchar.h' file not found
>> #include <wchar.h>  // for mbstate_t
>>           ^
>> 1 error generated.
>> make: *** [cxxsupport/announce.lo] Error 1
>>
>>
>> I think clang is confused by my migrating from a laptop running OS X 10.6
>> to one running Mavericks: it can't find the wchar.h header file, even
>> though I did what the internet suggested, which was to install the Xcode
>> command line tools with
>>
>> xcode-select --install
>>
>> This did indeed place a wchar.h into my /usr/include directory, but for
>> some reason it is still not being detected by eups' build script. Any ideas
>> for what I should try next?
>>
>> Thanks!
>>
>> Phil
>>
>>
>>
>> _______________________________________________
>> lsst-dm-stack-users mailing list
>> lsst-dm-stack-users at listserv.lsstcorp.org
>> https://listserv.lsstcorp.org/mailman/listinfo/lsst-dm-stack-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20140804/8dcae9c3/attachment.html>


More information about the dm-users mailing list