[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 15:40:48 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20140804/85b2a3c9/attachment.html>


More information about the dm-users mailing list