[yt-users] YT installation issues

Matthew Turk matthewturk at gmail.com
Thu Aug 19 19:52:26 PDT 2010


Hi Shankar,

> 2. So I tried getting YT in my home directory independent of enzo like...
>
> [ucapsag at login03 ~]$ svn export http://svn.enzotools.org/yt/branches/yt-1.7/doc/install_script.sh
> svn: REPORT request failed on '/yt/!svn/vcc/default'
> svn:
> Cannot replace a directory from within
>
>
> 3. Finally, I got hold of http://bitbucket.org/MatthewTurk/yt/src/8190256cc360/doc/install_script.sh
> and put it in my enzo's yt (of step 1 above). It hangs saying...
>
> running install_egg_info
> Writing /home/ucapsag/enzo3/src/yt/doc/yt-x86_64//lib/python2.6/lib-dynload/Python-2.6.3-py2.6.egg-info
> if test -f /home/ucapsag/enzo3/src/yt/doc/yt-x86_64//bin/python -o -h /home/ucapsag/enzo3/src/yt/doc/yt-x86_64//bin/python; \
> then rm -f /home/ucapsag/enzo3/src/yt/doc/yt-x86_64//bin/python; \
> else true; \
> fi
> (cd /home/ucapsag/enzo3/src/yt/doc/yt-x86_64//bin; ln python2.6 python)
> rm -f /home/ucapsag/enzo3/src/yt/doc/yt-x86_64//bin/python-config
> (cd /home/ucapsag/enzo3/src/yt/doc/yt-x86_64//bin; ln -s python2.6-config python-config)
> Creating directory /home/ucapsag/enzo3/src/yt/doc/yt-x86_64//share/man/man1
> /usr/bin/install -c -m 644 ./Misc/python.man \
>        /home/ucapsag/enzo3/src/yt/doc/yt-x86_64//share/man/man1/python.1
> /home/ucapsag/enzo3/src/yt/doc/yt-x86_64/bin/python2.6: can't open file '/home/ucapsag/enzo3/src/yt/distribute_setup.py': [Errno 2] No such file or directory
>

Youch!

Okay, so here's my suggestion.  The error with 1.7 seems to be that it
won't replace an existing file.  Just cd into your home directory, and
do this:

svn export http://svn.enzotools.org/yt/trunk/doc/install_script.sh

Then, make sure there're no yt-i386 or yt-x86_64 directories or
anything in your home directory.  Then edit the script, set
INST_PNG=1, and run:

bash install_script.sh

This should be totally clean.  I'm going to try to disable the yt
install script inside enzo, because we're moving away from that model
of distribution.

Anyway, let me know how that goes.  Sorry this is so troublesome!

-Matt



More information about the yt-users mailing list