I take back what I said before.  I also had issues with SSL because I'm behind a proxy and for some reason the proxy environment variables weren't being honored.  I think reinstalling OpenSSL didn't fix the issue for me.

What I did change, however, was making mercurial use SSH instead of HTTPS to clone the yt repo - and that seemed to work.  I changed these two lines from '...clone https://bitbucket...' to 'clone ssh://hg@bitbucket...'
https://bitbucket.org/yt_analysis/yt/src/4cf5c5369df9b012759ab979330d8e356d1b0e00/doc/install_script.sh?at=yt#cl-832
https://bitbucket.org/yt_analysis/yt/src/4cf5c5369df9b012759ab979330d8e356d1b0e00/doc/install_script.sh?at=yt#cl-836

That said, Jeff's suggestion is probably a better fix, at least for something that should get pushed back to the install script.

On Wed, Sep 24, 2014 at 11:55 AM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
Shoot, unfortunately the OSX machines I have access to are on 10.8, so I can't reproduce this or debug it here.

If Jeff's suggestion works, we'd very much appreciate getting a pull request with the fixes.

On Wed, Sep 24, 2014 at 10:47 AM, j s oishi <jsoishi@gmail.com> wrote:
Hi David,

I added PY_CFLAGS and dumped it here:

( ./configure --prefix=${DEST_DIR}/ ${PYCONF_ARGS} CFLAGS=${PY_CFLAGS} 2>&1 ) 1>> ${LOG_FILE} || do_exit 

yt builds python on this line,


and you should be able to do the exact same trick...I'd do it, but I don't have a mac to test it on.

j

On Wed, Sep 24, 2014 at 1:40 PM, David Collins <dcollins4096@gmail.com> wrote:

Thanks a ton for the input.

Nathan:  I've put the full log here: http://nazare.physics.fsu.edu/yt_install.log.  I re-pasted the last bunch of lines below, what I pasted before was from my n-th attempt, so was flawed.  The prior \aleph_0 lines were seemingly successful byt-compiling statments about mercurial.

Jeff-- What's the yt analog of the deadalus PY_CFLAGS?  I looked in the script but didn't see a similar flag.

The odd bit with this is that I did this successfully once a year ago on the same machine.  I think the successful install was _before_ I installed homebrew.

Do you think it broke with the heartblead security patch?  (Or, the fact that I"m on an earlier openssl?)  Does the homebrew re-install of openssl take care of the problem, or is doing it from source necessary?

d.

byte-compiling /Users/dcollins/local-2014-09-23-yt3/lib/python2.7/site-packages/mercurial/worker.py to worker.pyc
running install_scripts
copying build/scripts-2.7/hg -> /Users/dcollins/local-2014-09-23-yt3/bin
changing mode of /Users/dcollins/local-2014-09-23-yt3/bin/hg to 755
running install_egg_info
Writing /Users/dcollins/local-2014-09-23-yt3/lib/python2.7/site-packages/mercurial-3.1-py2.7.egg-info
sending capabilities command
abort: Python SSL support not found
sending capabilities command
abort: Python SSL support not found
abort: repository /Users/dcollins/local-2014-09-23-yt3/src/yt-hg/ not found!
/Users/dcollins/local-2014-09-23-yt3/bin/python2.7: can't open file '/Users/dcollins/local-2014-09-23-yt3/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory


On Wed, Sep 24, 2014 at 12:58 PM, Chris Malone <chris.m.malone@gmail.com> wrote:
I had the same issue, even with homebrew.  I solved it by doing what Fernando mentioned - reinstall openssl.  

On Wed, Sep 24, 2014 at 10:53 AM, Fernando Becerra <becerrafernando@gmail.com> wrote:
I had the same issue a few days ago when I tried to install yt using the install script on a brand new macbook pro with OSX 10.9. I ended up reinstalling the openssl libraries from source and that worked for me.

Fernando.

On Sep 24, 2014, at 12:10 PM, Nathan Goldbaum <nathan12343@gmail.com> wrote:

Hmm, interesting. I have access to a home brew-less Mac mini at the office, so I can test this out later today and try to reproduce and figure out a fix.

On Wednesday, September 24, 2014, j s oishi <jsoishi@gmail.com> wrote:
Hi Nathan,

Any chance you had homebrew on that machine? We've been finding this issue when homebrew is not installed. 10.9 seems to have moved the location of the ssl headers, so python just doesn't build _ssl, and a whole bunch of things that depend on it fail. When homebrew is installed, it does something or other to help the python build find ssl. I have no idea what that might be; this is pure cowboy science on my part.

j

On Wed, Sep 24, 2014 at 12:01 PM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
Hi Dave,

I think the original error might have occurred earlier in the log. Can you upload the full install log somewhere?

FWIW, I successfully built yt-3 from the install script on OSX 10.9 the last time we updated the dependencies.

Nathan


On Wednesday, September 24, 2014, David Collins <dcollins4096@gmail.com> wrote:
Hi, Everybody--

I have a potentially dumb question.  I'm installing yt3.0 (a fresh install) on osx 10.9, and I get the following error.  It looks like the error is coming from the hg clone, for some reason the newly installed python can't find SSL.  I can use another install of hg on this machine just fine.  Has anyone else seen this, and do you know if there's an easy fix?

Thanks!
d.

Using curl
Using shasum -a 512
Cloning yt
Setting YT_DIR=/Users/dcollins/local-2014-09-23-yt3/src/yt-hg/
Installing distribute
********************************************
        FAILURE REPORT:
********************************************

abort: repository /Users/dcollins/local-2014-09-23-yt3/src/yt-hg/ not found!
/Users/dcollins/local-2014-09-23-yt3/bin/python2.7: can't open file '/Users/dcollins/local-2014-09-23-yt3/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory
sending capabilities command
abort: Python SSL support not found
sending capabilities command
abort: Python SSL support not found
abort: repository /Users/dcollins/local-2014-09-23-yt3/src/yt-hg/ not found!
/Users/dcollins/local-2014-09-23-yt3/bin/python2.7: can't open file '/Users/dcollins/local-2014-09-23-yt3/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory


--
-- Sent from a computer.

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org




--
-- Sent from a computer.

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org