[LSST|dm-users 549] Re: Boost install error in eups on OS X Yosemite

Will Dawson will at dawsonresearch.com
Tue Feb 10 08:38:47 PST 2015


For those still interested,

I’ve tried David Kirkby’s two solutions outlined in the many shared links (which all are sourced from David’s github issue <https://github.com/GalSim-developers/GalSim/issues/506#issuecomment-34663695>). One solution worked and the other didn’t.

Of course I started with the second solution (editing the user-config.jam file) and was able to manually build boost.  However when running:

eups distrib install -t v9_2 lsst_apps

(a second time after the first failed attempt) eups did not recognize boosts existence in /usr/local/… and overwrote the edited user-config.jam file. Ultimately resulting in the same error as before.

I then tried a modified version of David’s second solution (modified for my specific Canopy configuration):

cd $HOME/Library/Enthought/Canopy_64bit/User/include/
ln -s /Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/include/python2.7

This solution worked.

Perhaps there is another step that could be added to David's second solution to make eups recognize an existing installation of boost (I am new to eups and don’t feel like exploring this possibility). Until someone figures out what this extra step is I recommend making note that for the LSST Stack the first solution (the soft-link) works and the second doesn’t whenever linking to the GalSim FAQ <https://github.com/GalSim-developers/GalSim/wiki/Installation-FAQ#in-mac-osx-what-can-i-do-if-im-having-trouble-getting-boostpython-to-work-with-enthought-canopy-python> (or corresponding GitHub issue <https://github.com/GalSim-developers/GalSim/issues/506#issuecomment-34663695>).

Cheers,
Will


> On Feb 9, 2015, at 7:26 PM, Mike Jarvis <michael at jarvis.net> wrote:
> 
> Actually, this may be the more helpful link:
> 
> https://github.com/GalSim-developers/GalSim/wiki/Installation-FAQ#in-mac-osx-what-can-i-do-if-im-having-trouble-getting-boostpython-to-work-with-enthought-canopy-python <https://github.com/GalSim-developers/GalSim/wiki/Installation-FAQ#in-mac-osx-what-can-i-do-if-im-having-trouble-getting-boostpython-to-work-with-enthought-canopy-python>
> 
> Peace,
> Mike
> 
> On Feb 9, 2015, at 9:11 PM, Mario Juric <mjuric at astro.washington.edu <mailto:mjuric at astro.washington.edu>> wrote:
> 
>> See this:
>> 
>> https://github.com/GalSim-developers/GalSim/issues/506 <https://github.com/GalSim-developers/GalSim/issues/506>
>> -- 
>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>> 
>> On February 9, 2015 4:00:26 PM PST, John Swinbank <swinbank at princeton.edu <mailto:swinbank at princeton.edu>> wrote:
>> Hello,
>> 
>>  Might be worth posting the whole of /Users/dawson/lsst/EupsBuildDir/DarwinX86/boost-1.55.0.1 <http://1.55.0.1/>+2/build.log rather than just the extract in the Gist above.
>>  
>>  Good advice. I added this as a second file (named: boost-1.55.0.1 <http://1.55.0.1/>+2 build.log) to:
>>  https://gist.github.com/fc55c9994d13e6355650 <https://gist.github.com/fc55c9994d13e6355650>
>>  Based on this log it seems as though there is a problem with a missing pyconfig.h file. Note that I am using Enthought Canopy as my python distribution rather than Anaconda. 
>> 
>> Yes, it’s pretty clear that the missing pyconfig.h is the (or, at least, an)
>> underlying problem. I’m not familiar with Enthought Canopy, but, as a workaround, you might just let newinstall.sh <http://newinstall.sh/> install Anaconda and check that it fixes your problem.
>> 
>> Cheers,
>> 
>> John
>> 
>> dm-users mailing list
>> dm-users at lists.lsst.org <mailto:dm-users at lists.lsst.org>
>> https://lists.lsst.org/mailman/listinfo/dm-users <https://lists.lsst.org/mailman/listinfo/dm-users>
>> _______________________________________________
>> dm-users mailing list
>> dm-users at lists.lsst.org <mailto:dm-users at lists.lsst.org>
>> https://lists.lsst.org/mailman/listinfo/dm-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lsst.org/pipermail/dm-users/attachments/20150210/779eb916/attachment.html>


More information about the dm-users mailing list