<div dir="ltr">Hi Mordecai,<div><br></div><div>We've had some reports about incompatibilities with the install script on OS X Mavericks recently, but I don't think this error has been reported before. Unfortunately getting the install script to work portably in all cases is a labor of love and sometimes errors like these crop up.<br></div><div><br></div><div>Googling for your error returns this discussion on the readline mailing list: <a href="https://lists.gnu.org/archive/html/bug-readline/2013-12/msg00002.html">https://lists.gnu.org/archive/html/bug-readline/2013-12/msg00002.html</a>.  Apparently the version you're compiling needs to be patched to compile cleanly on mavericks.  I haven't checked whether the patch has made its way into a readline release.</div><div><br></div><div>I'm not sure what exactly is compiling readline (IPython maybe?), but earlier in the install script we should have installed a pure-python version of the readline library from pypi if we were unable to import it.  It would help to figure out what went wrong if you could upload the full install log somewhere.</div><div><br></div><div>Do you have a python environment setup on your laptop already?  It's very straightforward to install yt using anaconda, canopy, or a manually configured python environment, bypassing all the bootstrapping that the install script must do.  Take a look at the following page in the documentation:</div><div><br></div><div><a href="http://yt-project.org/doc/installing.html#installing-yt-using-anaconda">http://yt-project.org/doc/installing.html#installing-yt-using-anaconda</a><br></div><div><a href="http://yt-project.org/doc/installing.html#installing-yt-using-pip-or-from-source">http://yt-project.org/doc/installing.html#installing-yt-using-pip-or-from-source</a><br></div><div><br></div><div>Hope that's helpful.</div><div><br></div><div>-Nathan</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 28, 2014 at 12:36 PM, Mordecai-Mark Mac Low <span dir="ltr"><<a href="mailto:mordecai@amnh.org" target="_blank">mordecai@amnh.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi, I am having a fatal problem installing yt on my MacBook Pro running OS X v10.9.4.  I am using the install script, with the options set as follows:<div><br></div><div><br><font color="#e63b7a"># Here's where you put the HDF5 path if you like; otherwise it'll download it<br># and install it on its own<br>#HDF5_DIR=/opt/local/lib<br><br># If you need to supply arguments to the NumPy or SciPy build, supply them here<br># This one turns on gfortran manually:<br>#NUMPY_ARGS="--fcompiler=gnu95"<br># If you absolutely can't get the fortran to work, try this:<br>#NUMPY_ARGS="--fcompiler=fake"<br><br>INST_HG=0       # Install Mercurial or not?  If hg is not already<br>                # installed, yt cannot be installed.<br>INST_ZLIB=1     # On some systems (Kraken) matplotlib has issues with<br>                # the system zlib, which is compiled statically.<br>                # If need be, you can turn this off.<br>INST_BZLIB=1    # On some systems, libbzip2 is missing.  This can<br>                # lead to broken mercurial installations.<br>INST_PNG=1      # Install a local libpng?  Same things apply as with zlib.<br>INST_FTYPE=1    # Install FreeType2 locally?<br>INST_ENZO=0     # Clone a copy of Enzo?<br>INST_SQLITE3=1  # Install a local version of SQLite3?<br>INST_PYX=1      # Install PyX?  Sometimes PyX can be problematic without a<br>                # working TeX installation.<br>INST_0MQ=1      # Install 0mq (for IPython) and affiliated bindings?<br>INST_ROCKSTAR=1 # Install the Rockstar halo finder?<br>INST_SCIPY=0    # Install scipy?<br></font><br><br>After downloading and activating Xcode command line tools, I got the script to complete successfully. I activated it using the activate.csh script. </div><div><br></div><div>However, when I then try to start yt, it pauses for 30 seconds or so, and then issues the response “<font color="#e63b7a">Abort</font>”, with no further errors.  I get the same response if I try to import yt into the python (running in the yt environment). Abort, and return to the command line.</div><div><br></div><div>I have tried erasing the yt-x86_64 directory and reinstalling from scratch, with no change in behavior.  I also examined the yt_install.log.  I found a number of, presumably irrelevant, errors in the configuration tests, but also an error at the end of the long section on building Ipython (almost at the end of the script, just before readline assembly that looks possibly relevant:</div><div><br></div><div><font color="#e63b7a">    gcc -dynamic -arch i386 -arch x86_64 -arch_only `/usr/bin/arch` -install_name /usr/local/lib/libreadline.6.2.dylib -current_version 6.2 -compatibility_version 6 -v -o libreadline.6.2.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so xfree.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lncurses<br>    Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)<br>    Target: x86_64-apple-darwin13.3.0<br>    Thread model: posix<br>    clang: error: invalid argument '-compatibility_version 6' only allowed with '-dynamiclib'<br>    clang: error: invalid argument '-compatibility_version 6' only allowed with '-dynamiclib'<br>    make[1]: *** [libreadline.6.2.dylib] Error 1<br>    make: [shared] Error 2 (ignored)<br></font><br>Any insight on how to proceed?</div><div><br></div><div>Best,</div><div><br></div><div>Mordecai</div><div><br></div><div><br><div>--<br>Mordecai-Mark Mac Low <span style="white-space:pre-wrap">         </span>Curator & Professor<br><a href="tel:%2B1-212-496-3443" value="+12124963443" target="_blank">+1-212-496-3443</a>         <span style="white-space:pre-wrap">       </span>Department of Astrophysics<br><a href="tel:%2B1-212-769-5007" value="+12127695007" target="_blank">+1-212-769-5007</a> (fax)   <span style="white-space:pre-wrap">       </span>American Museum of Natural History<br>mmaclow (Skype, Hangout)    <span style="white-space:pre-wrap">      </span>79th St at CPW, NY, NY, 10024-5192, USA<br><br><br><br></div><br></div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>