Call for testing: New install script

Hi all,
Jeff and I have re-written the install script to use mercurial. This involved adding in an optional bzip2 installation, as that was a sticking point for several machines, as well as re-organizing it to install bzip2 before Python and then hg before yt. If you get a chance, I'd really appreciate it if you could try running it:
http://yt.enzotools.org/files/install_script.sh
There's a "branch" name at the top that governs which yt branch gets cloned and updated to in the installation section.
Any feedback would be constructive; we need to replace the current install script pretty soon, so let me know if this does or doesn't work!
Thanks,
Matt

Hi Matt,
If you get a chance, I'd really appreciate it if you could try running it:
You and I have access to pretty much the same set of machines, but is there one that I can try for you? Let me know!
_______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________

Hi Stephen (and everyone else),
I think it's also valuable to try it out, even if I have (and I have) to shake out any possible problems with different environments, etc etc.
I've included them in the main hg repository but haven't updated the installation instructions yet.
-Matt
On Wed, Sep 8, 2010 at 9:42 AM, Stephen Skory stephenskory@yahoo.com wrote:
Hi Matt,
If you get a chance, I'd really appreciate it if you could try running it:
You and I have access to pretty much the same set of machines, but is there one that I can try for you? Let me know!
_______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_(_)_______________
Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

Hi Matt,
On my OS X 10.6 MacBook Pro, I see this error "ld: unknown option: -soname" when bzlib is being built. Full notes at the very bottom.
--Rick
Installing BZLIB Failure. Check /Users/rpwagner/tmp/yt-test-install/yt-i386/yt_install.log. namor:yt-test-install rpwagner$ tail yt-i386/yt_install.log chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzmore.1 chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzdiff.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzegrep.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzfgrep.1 echo ".so man1/bzmore.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzless.1 echo ".so man1/bzdiff.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzcmp.1 gcc -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o ld: unknown option: -soname collect2: ld returned 1 exit status make: *** [all] Error 1
On Sep 7, 2010, at 10:55 AM, Matthew Turk wrote:
Hi all,
Jeff and I have re-written the install script to use mercurial. This involved adding in an optional bzip2 installation, as that was a sticking point for several machines, as well as re-organizing it to install bzip2 before Python and then hg before yt. If you get a chance, I'd really appreciate it if you could try running it:
http://yt.enzotools.org/files/install_script.sh
There's a "branch" name at the top that governs which yt branch gets cloned and updated to in the installation section.
Any feedback would be constructive; we need to replace the current install script pretty soon, so let me know if this does or doesn't work!
Thanks,
Matt _______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
namor:yt-test-install rpwagner$ wget http://yt.enzotools.org/files/install_script.sh --2010-09-08 10:26:13-- http://yt.enzotools.org/files/install_script.sh Resolving yt.enzotools.org... 208.113.211.100 Connecting to yt.enzotools.org|208.113.211.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 12883 (13K) [application/x-sh] Saving to: `install_script.sh'
100%[======================================>] 12,883 --.-K/s in 0.05s
2010-09-08 10:26:14 (237 KB/s) - `install_script.sh' saved [12883/12883]
namor:yt-test-install rpwagner$ head install_script.sh # # Hi there! Welcome to the yt installation script. # # This script is designed to create a fully isolated Python installation # with the dependencies you need to run yt. # # There are a few options, but you only need to set *one* of them. And # that's the next one, DEST_DIR. But, if you want to use an existing HDF5 # installation you can set HDF5_DIR, or if you want to use some other # subversion checkout of YT, you can set YT_DIR, too. (It'll already namor:yt-test-install rpwagner$ bash install_script.sh
========================================================================
Hi there! This is the YT installation script. We're going to download some stuff and install it to create a self-contained, isolated environment for YT to run within.
Inside the installation script you can set a few variables. Here's what they're currently set to -- you can hit Ctrl-C and edit the values in the script if you aren't such a fan.
INST_ZLIB = 1 so I will be installing zlib INST_BZLIB = 1 so I will be installing bzlib INST_HG = 1 so I will be installing Mercurial
HDF5_DIR is not set, so I will be installing HDF5
Installation will be to /Users/rpwagner/tmp/yt-test-install/yt-i386
and I'll be logging the installation in /Users/rpwagner/tmp/yt-test-install/yt-i386/yt_install.log
I think that about wraps it up. If you want to continue, hit enter. If you'd rather stop, maybe think things over, even grab a sandwich, hit Ctrl-C.
========================================================================
[hit enter]
Awesome! Here we go.
Downloading HDF5 Downloading hdf5-1.6.9.tar.gz from yt.enzotools.org 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/hdf5-1.6.9.tar.gz [5451465/5451465] -> "hdf5-1.6.9.tar.gz" [1] 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/hdf5-1.6.9.tar.gz.md5 [52/52] -> "hdf5-1.6.9.tar.gz.md5" [1] Downloading zlib-1.2.3.tar.bz2 from yt.enzotools.org 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/zlib-1.2.3.tar.bz2 [425209/425209] -> "zlib-1.2.3.tar.bz2" [1] 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/zlib-1.2.3.tar.bz2.md5 [53/53] -> "zlib-1.2.3.tar.bz2.md5" [1] Downloading bzip2-1.0.5.tar.gz from yt.enzotools.org 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/bzip2-1.0.5.tar.gz [841402/841402] -> "bzip2-1.0.5.tar.gz" [1] 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/bzip2-1.0.5.tar.gz.md5 [53/53] -> "bzip2-1.0.5.tar.gz.md5" [1] Downloading libpng-1.2.43.tar.gz from yt.enzotools.org 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/libpng-1.2.43.tar.gz [835683/835683] -> "libpng-1.2.43.tar.gz" [1] 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/libpng-1.2.43.tar.gz.md5 [55/55] -> "libpng-1.2.43.tar.gz.md5" [1] Downloading Python-2.6.3.tgz from yt.enzotools.org 2010-09-08 10:27:02 URL:http://yt.enzotools.org/dependencies/Python-2.6.3.tgz [13319447/13319447] -> "Python-2.6.3.tgz" [1] 2010-09-08 10:27:02 URL:http://yt.enzotools.org/dependencies/Python-2.6.3.tgz.md5 [51/51] -> "Python-2.6.3.tgz.md5" [1] Downloading numpy-1.4.1.tar.gz from yt.enzotools.org 2010-09-08 10:27:03 URL:http://yt.enzotools.org/dependencies/numpy-1.4.1.tar.gz [2201795/2201795] -> "numpy-1.4.1.tar.gz" [1] 2010-09-08 10:27:03 URL:http://yt.enzotools.org/dependencies/numpy-1.4.1.tar.gz.md5 [53/53] -> "numpy-1.4.1.tar.gz.md5" [1] Downloading matplotlib-0.99.3.tar.gz from yt.enzotools.org 2010-09-08 10:27:06 URL:http://yt.enzotools.org/dependencies/matplotlib-0.99.3.tar.gz [11911989/11911989] -> "matplotlib-0.99.3.tar.gz" [1] 2010-09-08 10:27:06 URL:http://yt.enzotools.org/dependencies/matplotlib-0.99.3.tar.gz.md5 [59/59] -> "matplotlib-0.99.3.tar.gz.md5" [1] Downloading mercurial-1.6.3.tar.gz from yt.enzotools.org 2010-09-08 10:27:07 URL:http://yt.enzotools.org/dependencies/mercurial-1.6.3.tar.gz [2205031/2205031] -> "mercurial-1.6.3.tar.gz" [1] 2010-09-08 10:27:07 URL:http://yt.enzotools.org/dependencies/mercurial-1.6.3.tar.gz.md5 [57/57] -> "mercurial-1.6.3.tar.gz.md5" [1] Downloading ipython-0.10.tar.gz from yt.enzotools.org 2010-09-08 10:27:08 URL:http://yt.enzotools.org/dependencies/ipython-0.10.tar.gz [5829939/5829939] -> "ipython-0.10.tar.gz" [1] 2010-09-08 10:27:09 URL:http://yt.enzotools.org/dependencies/ipython-0.10.tar.gz.md5 [54/54] -> "ipython-0.10.tar.gz.md5" [1] Downloading h5py-1.2.0.tar.gz from yt.enzotools.org 2010-09-08 10:27:09 URL:http://yt.enzotools.org/dependencies/h5py-1.2.0.tar.gz [1028626/1028626] -> "h5py-1.2.0.tar.gz" [1] 2010-09-08 10:27:09 URL:http://yt.enzotools.org/dependencies/h5py-1.2.0.tar.gz.md5 [52/52] -> "h5py-1.2.0.tar.gz.md5" [1] Installing BZLIB Failure. Check /Users/rpwagner/tmp/yt-test-install/yt-i386/yt_install.log. namor:yt-test-install rpwagner$ tail yt-i386/yt_install.log chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzmore.1 chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzdiff.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzegrep.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzfgrep.1 echo ".so man1/bzmore.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzless.1 echo ".so man1/bzdiff.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzcmp.1 gcc -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o ld: unknown option: -soname collect2: ld returned 1 exit status make: *** [all] Error 1 namor:yt-test-install rpwagner$

Hi Rick,
Oh, shoot, I have not updated the OSX 10.6 scripts. Have you successfully used the standard install_script.sh in the past on OSX106? Usually I suggest people use install_script_osx106.sh, but I haven't updated those yet...
I'll take a look at this error message anyway; it might be worthwhile, since we're sort of shying away from "native" OSX 10.6 interfaces, to make the *nix install script work on OSX 10.6. I've insisted in the past on framework builds, etc etc, but I cannot right now recall any benefits besides when using GUIs for this... and right now the GUIs are so caveat emptor anyway that perhaps it's best to avoid them.
(Speaking of GUIs, I've had some fun experiments with proof-of-concept web interfaces recently, maybe you'd be interested in taking a quick look? They're on my bitbucket site.)
-Matt
On Wed, Sep 8, 2010 at 10:30 AM, Rick Wagner rwagner@physics.ucsd.edu wrote:
Hi Matt,
On my OS X 10.6 MacBook Pro, I see this error "ld: unknown option: -soname" when bzlib is being built. Full notes at the very bottom.
--Rick
Installing BZLIB Failure. Check /Users/rpwagner/tmp/yt-test-install/yt-i386/yt_install.log. namor:yt-test-install rpwagner$ tail yt-i386/yt_install.log chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzmore.1 chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzdiff.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzegrep.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzfgrep.1 echo ".so man1/bzmore.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzless.1 echo ".so man1/bzdiff.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzcmp.1 gcc -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o ld: unknown option: -soname collect2: ld returned 1 exit status make: *** [all] Error 1
On Sep 7, 2010, at 10:55 AM, Matthew Turk wrote:
Hi all,
Jeff and I have re-written the install script to use mercurial. This involved adding in an optional bzip2 installation, as that was a sticking point for several machines, as well as re-organizing it to install bzip2 before Python and then hg before yt. If you get a chance, I'd really appreciate it if you could try running it:
http://yt.enzotools.org/files/install_script.sh
There's a "branch" name at the top that governs which yt branch gets cloned and updated to in the installation section.
Any feedback would be constructive; we need to replace the current install script pretty soon, so let me know if this does or doesn't work!
Thanks,
Matt _______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
namor:yt-test-install rpwagner$ wget http://yt.enzotools.org/files/install_script.sh --2010-09-08 10:26:13-- http://yt.enzotools.org/files/install_script.sh Resolving yt.enzotools.org... 208.113.211.100 Connecting to yt.enzotools.org|208.113.211.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 12883 (13K) [application/x-sh] Saving to: `install_script.sh'
100%[======================================>] 12,883 --.-K/s in 0.05s
2010-09-08 10:26:14 (237 KB/s) - `install_script.sh' saved [12883/12883]
namor:yt-test-install rpwagner$ head install_script.sh # # Hi there! Welcome to the yt installation script. # # This script is designed to create a fully isolated Python installation # with the dependencies you need to run yt. # # There are a few options, but you only need to set *one* of them. And # that's the next one, DEST_DIR. But, if you want to use an existing HDF5 # installation you can set HDF5_DIR, or if you want to use some other # subversion checkout of YT, you can set YT_DIR, too. (It'll already namor:yt-test-install rpwagner$ bash install_script.sh
========================================================================
Hi there! This is the YT installation script. We're going to download some stuff and install it to create a self-contained, isolated environment for YT to run within.
Inside the installation script you can set a few variables. Here's what they're currently set to -- you can hit Ctrl-C and edit the values in the script if you aren't such a fan.
INST_ZLIB = 1 so I will be installing zlib INST_BZLIB = 1 so I will be installing bzlib INST_HG = 1 so I will be installing Mercurial
HDF5_DIR is not set, so I will be installing HDF5
Installation will be to /Users/rpwagner/tmp/yt-test-install/yt-i386
and I'll be logging the installation in /Users/rpwagner/tmp/yt-test-install/yt-i386/yt_install.log
I think that about wraps it up. If you want to continue, hit enter. If you'd rather stop, maybe think things over, even grab a sandwich, hit Ctrl-C.
========================================================================
[hit enter]
Awesome! Here we go.
Downloading HDF5 Downloading hdf5-1.6.9.tar.gz from yt.enzotools.org 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/hdf5-1.6.9.tar.gz [5451465/5451465] -> "hdf5-1.6.9.tar.gz" [1] 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/hdf5-1.6.9.tar.gz.md5 [52/52] -> "hdf5-1.6.9.tar.gz.md5" [1] Downloading zlib-1.2.3.tar.bz2 from yt.enzotools.org 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/zlib-1.2.3.tar.bz2 [425209/425209] -> "zlib-1.2.3.tar.bz2" [1] 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/zlib-1.2.3.tar.bz2.md5 [53/53] -> "zlib-1.2.3.tar.bz2.md5" [1] Downloading bzip2-1.0.5.tar.gz from yt.enzotools.org 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/bzip2-1.0.5.tar.gz [841402/841402] -> "bzip2-1.0.5.tar.gz" [1] 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/bzip2-1.0.5.tar.gz.md5 [53/53] -> "bzip2-1.0.5.tar.gz.md5" [1] Downloading libpng-1.2.43.tar.gz from yt.enzotools.org 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/libpng-1.2.43.tar.gz [835683/835683] -> "libpng-1.2.43.tar.gz" [1] 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/libpng-1.2.43.tar.gz.md5 [55/55] -> "libpng-1.2.43.tar.gz.md5" [1] Downloading Python-2.6.3.tgz from yt.enzotools.org 2010-09-08 10:27:02 URL:http://yt.enzotools.org/dependencies/Python-2.6.3.tgz [13319447/13319447] -> "Python-2.6.3.tgz" [1] 2010-09-08 10:27:02 URL:http://yt.enzotools.org/dependencies/Python-2.6.3.tgz.md5 [51/51] -> "Python-2.6.3.tgz.md5" [1] Downloading numpy-1.4.1.tar.gz from yt.enzotools.org 2010-09-08 10:27:03 URL:http://yt.enzotools.org/dependencies/numpy-1.4.1.tar.gz [2201795/2201795] -> "numpy-1.4.1.tar.gz" [1] 2010-09-08 10:27:03 URL:http://yt.enzotools.org/dependencies/numpy-1.4.1.tar.gz.md5 [53/53] -> "numpy-1.4.1.tar.gz.md5" [1] Downloading matplotlib-0.99.3.tar.gz from yt.enzotools.org 2010-09-08 10:27:06 URL:http://yt.enzotools.org/dependencies/matplotlib-0.99.3.tar.gz [11911989/11911989] -> "matplotlib-0.99.3.tar.gz" [1] 2010-09-08 10:27:06 URL:http://yt.enzotools.org/dependencies/matplotlib-0.99.3.tar.gz.md5 [59/59] -> "matplotlib-0.99.3.tar.gz.md5" [1] Downloading mercurial-1.6.3.tar.gz from yt.enzotools.org 2010-09-08 10:27:07 URL:http://yt.enzotools.org/dependencies/mercurial-1.6.3.tar.gz [2205031/2205031] -> "mercurial-1.6.3.tar.gz" [1] 2010-09-08 10:27:07 URL:http://yt.enzotools.org/dependencies/mercurial-1.6.3.tar.gz.md5 [57/57] -> "mercurial-1.6.3.tar.gz.md5" [1] Downloading ipython-0.10.tar.gz from yt.enzotools.org 2010-09-08 10:27:08 URL:http://yt.enzotools.org/dependencies/ipython-0.10.tar.gz [5829939/5829939] -> "ipython-0.10.tar.gz" [1] 2010-09-08 10:27:09 URL:http://yt.enzotools.org/dependencies/ipython-0.10.tar.gz.md5 [54/54] -> "ipython-0.10.tar.gz.md5" [1] Downloading h5py-1.2.0.tar.gz from yt.enzotools.org 2010-09-08 10:27:09 URL:http://yt.enzotools.org/dependencies/h5py-1.2.0.tar.gz [1028626/1028626] -> "h5py-1.2.0.tar.gz" [1] 2010-09-08 10:27:09 URL:http://yt.enzotools.org/dependencies/h5py-1.2.0.tar.gz.md5 [52/52] -> "h5py-1.2.0.tar.gz.md5" [1] Installing BZLIB Failure. Check /Users/rpwagner/tmp/yt-test-install/yt-i386/yt_install.log. namor:yt-test-install rpwagner$ tail yt-i386/yt_install.log chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzmore.1 chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzdiff.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzegrep.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzfgrep.1 echo ".so man1/bzmore.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzless.1 echo ".so man1/bzdiff.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzcmp.1 gcc -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o ld: unknown option: -soname collect2: ld returned 1 exit status make: *** [all] Error 1 namor:yt-test-install rpwagner$
Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

Hi Matt,
Yes, I've used the 10.6 script in the past with no problem. Personally, all of the software I build on my Mac goes into /usr/local. This can be rationalized as a desire for consistency with other computes that I work with, but it's really just that I don't build enough OS X-specific software to learn about frameworks, etc.
I think that not building GUIs by default is reasonable solution to providing a simple and reliable installation method. Web interfaces can limiting, but they're much more portable, and open up a lot of potential, especially given the number of remote systems we work on.
--Rick
On Sep 8, 2010, at 10:33 AM, Matthew Turk wrote:
Hi Rick,
Oh, shoot, I have not updated the OSX 10.6 scripts. Have you successfully used the standard install_script.sh in the past on OSX106? Usually I suggest people use install_script_osx106.sh, but I haven't updated those yet...
I'll take a look at this error message anyway; it might be worthwhile, since we're sort of shying away from "native" OSX 10.6 interfaces, to make the *nix install script work on OSX 10.6. I've insisted in the past on framework builds, etc etc, but I cannot right now recall any benefits besides when using GUIs for this... and right now the GUIs are so caveat emptor anyway that perhaps it's best to avoid them.
(Speaking of GUIs, I've had some fun experiments with proof-of-concept web interfaces recently, maybe you'd be interested in taking a quick look? They're on my bitbucket site.)
-Matt
On Wed, Sep 8, 2010 at 10:30 AM, Rick Wagner rwagner@physics.ucsd.edu wrote:
Hi Matt,
On my OS X 10.6 MacBook Pro, I see this error "ld: unknown option: -soname" when bzlib is being built. Full notes at the very bottom.
--Rick
Installing BZLIB Failure. Check /Users/rpwagner/tmp/yt-test-install/yt-i386/yt_install.log. namor:yt-test-install rpwagner$ tail yt-i386/yt_install.log chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzmore.1 chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzdiff.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzegrep.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzfgrep.1 echo ".so man1/bzmore.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzless.1 echo ".so man1/bzdiff.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzcmp.1 gcc -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o ld: unknown option: -soname collect2: ld returned 1 exit status make: *** [all] Error 1
On Sep 7, 2010, at 10:55 AM, Matthew Turk wrote:
Hi all,
Jeff and I have re-written the install script to use mercurial. This involved adding in an optional bzip2 installation, as that was a sticking point for several machines, as well as re-organizing it to install bzip2 before Python and then hg before yt. If you get a chance, I'd really appreciate it if you could try running it:
http://yt.enzotools.org/files/install_script.sh
There's a "branch" name at the top that governs which yt branch gets cloned and updated to in the installation section.
Any feedback would be constructive; we need to replace the current install script pretty soon, so let me know if this does or doesn't work!
Thanks,
Matt _______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
namor:yt-test-install rpwagner$ wget http://yt.enzotools.org/files/install_script.sh --2010-09-08 10:26:13-- http://yt.enzotools.org/files/install_script.sh Resolving yt.enzotools.org... 208.113.211.100 Connecting to yt.enzotools.org|208.113.211.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 12883 (13K) [application/x-sh] Saving to: `install_script.sh'
100%[======================================>] 12,883 --.-K/s in 0.05s
2010-09-08 10:26:14 (237 KB/s) - `install_script.sh' saved [12883/12883]
namor:yt-test-install rpwagner$ head install_script.sh # # Hi there! Welcome to the yt installation script. # # This script is designed to create a fully isolated Python installation # with the dependencies you need to run yt. # # There are a few options, but you only need to set *one* of them. And # that's the next one, DEST_DIR. But, if you want to use an existing HDF5 # installation you can set HDF5_DIR, or if you want to use some other # subversion checkout of YT, you can set YT_DIR, too. (It'll already namor:yt-test-install rpwagner$ bash install_script.sh
========================================================================
Hi there! This is the YT installation script. We're going to download some stuff and install it to create a self-contained, isolated environment for YT to run within.
Inside the installation script you can set a few variables. Here's what they're currently set to -- you can hit Ctrl-C and edit the values in the script if you aren't such a fan.
INST_ZLIB = 1 so I will be installing zlib INST_BZLIB = 1 so I will be installing bzlib INST_HG = 1 so I will be installing Mercurial
HDF5_DIR is not set, so I will be installing HDF5
Installation will be to /Users/rpwagner/tmp/yt-test-install/yt-i386
and I'll be logging the installation in /Users/rpwagner/tmp/yt-test-install/yt-i386/yt_install.log
I think that about wraps it up. If you want to continue, hit enter. If you'd rather stop, maybe think things over, even grab a sandwich, hit Ctrl-C.
========================================================================
[hit enter]
Awesome! Here we go.
Downloading HDF5 Downloading hdf5-1.6.9.tar.gz from yt.enzotools.org 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/hdf5-1.6.9.tar.gz [5451465/5451465] -> "hdf5-1.6.9.tar.gz" [1] 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/hdf5-1.6.9.tar.gz.md5 [52/52] -> "hdf5-1.6.9.tar.gz.md5" [1] Downloading zlib-1.2.3.tar.bz2 from yt.enzotools.org 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/zlib-1.2.3.tar.bz2 [425209/425209] -> "zlib-1.2.3.tar.bz2" [1] 2010-09-08 10:26:58 URL:http://yt.enzotools.org/dependencies/zlib-1.2.3.tar.bz2.md5 [53/53] -> "zlib-1.2.3.tar.bz2.md5" [1] Downloading bzip2-1.0.5.tar.gz from yt.enzotools.org 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/bzip2-1.0.5.tar.gz [841402/841402] -> "bzip2-1.0.5.tar.gz" [1] 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/bzip2-1.0.5.tar.gz.md5 [53/53] -> "bzip2-1.0.5.tar.gz.md5" [1] Downloading libpng-1.2.43.tar.gz from yt.enzotools.org 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/libpng-1.2.43.tar.gz [835683/835683] -> "libpng-1.2.43.tar.gz" [1] 2010-09-08 10:26:59 URL:http://yt.enzotools.org/dependencies/libpng-1.2.43.tar.gz.md5 [55/55] -> "libpng-1.2.43.tar.gz.md5" [1] Downloading Python-2.6.3.tgz from yt.enzotools.org 2010-09-08 10:27:02 URL:http://yt.enzotools.org/dependencies/Python-2.6.3.tgz [13319447/13319447] -> "Python-2.6.3.tgz" [1] 2010-09-08 10:27:02 URL:http://yt.enzotools.org/dependencies/Python-2.6.3.tgz.md5 [51/51] -> "Python-2.6.3.tgz.md5" [1] Downloading numpy-1.4.1.tar.gz from yt.enzotools.org 2010-09-08 10:27:03 URL:http://yt.enzotools.org/dependencies/numpy-1.4.1.tar.gz [2201795/2201795] -> "numpy-1.4.1.tar.gz" [1] 2010-09-08 10:27:03 URL:http://yt.enzotools.org/dependencies/numpy-1.4.1.tar.gz.md5 [53/53] -> "numpy-1.4.1.tar.gz.md5" [1] Downloading matplotlib-0.99.3.tar.gz from yt.enzotools.org 2010-09-08 10:27:06 URL:http://yt.enzotools.org/dependencies/matplotlib-0.99.3.tar.gz [11911989/11911989] -> "matplotlib-0.99.3.tar.gz" [1] 2010-09-08 10:27:06 URL:http://yt.enzotools.org/dependencies/matplotlib-0.99.3.tar.gz.md5 [59/59] -> "matplotlib-0.99.3.tar.gz.md5" [1] Downloading mercurial-1.6.3.tar.gz from yt.enzotools.org 2010-09-08 10:27:07 URL:http://yt.enzotools.org/dependencies/mercurial-1.6.3.tar.gz [2205031/2205031] -> "mercurial-1.6.3.tar.gz" [1] 2010-09-08 10:27:07 URL:http://yt.enzotools.org/dependencies/mercurial-1.6.3.tar.gz.md5 [57/57] -> "mercurial-1.6.3.tar.gz.md5" [1] Downloading ipython-0.10.tar.gz from yt.enzotools.org 2010-09-08 10:27:08 URL:http://yt.enzotools.org/dependencies/ipython-0.10.tar.gz [5829939/5829939] -> "ipython-0.10.tar.gz" [1] 2010-09-08 10:27:09 URL:http://yt.enzotools.org/dependencies/ipython-0.10.tar.gz.md5 [54/54] -> "ipython-0.10.tar.gz.md5" [1] Downloading h5py-1.2.0.tar.gz from yt.enzotools.org 2010-09-08 10:27:09 URL:http://yt.enzotools.org/dependencies/h5py-1.2.0.tar.gz [1028626/1028626] -> "h5py-1.2.0.tar.gz" [1] 2010-09-08 10:27:09 URL:http://yt.enzotools.org/dependencies/h5py-1.2.0.tar.gz.md5 [52/52] -> "h5py-1.2.0.tar.gz.md5" [1] Installing BZLIB Failure. Check /Users/rpwagner/tmp/yt-test-install/yt-i386/yt_install.log. namor:yt-test-install rpwagner$ tail yt-i386/yt_install.log chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzmore.1 chmod a+r /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzdiff.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzegrep.1 echo ".so man1/bzgrep.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzfgrep.1 echo ".so man1/bzmore.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzless.1 echo ".so man1/bzdiff.1" > /Users/rpwagner/tmp/yt-test-install/yt-i386/man/man1/bzcmp.1 gcc -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o ld: unknown option: -soname collect2: ld returned 1 exit status make: *** [all] Error 1 namor:yt-test-install rpwagner$
Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

Hi all,
I am happy to report the install script runs out of the box with no problems on Ubuntu 10.04 64-bit on my laptop, though it does require some packages to be installed (g++ and libpng-dev; apparently, the wise folks at Ubuntu find it prudent to install sudoku, but not g++ by default).
j
On Tue, Sep 7, 2010 at 10:55 AM, Matthew Turk matthewturk@gmail.com wrote:
Hi all,
Jeff and I have re-written the install script to use mercurial. This involved adding in an optional bzip2 installation, as that was a sticking point for several machines, as well as re-organizing it to install bzip2 before Python and then hg before yt. If you get a chance, I'd really appreciate it if you could try running it:
http://yt.enzotools.org/files/install_script.sh
There's a "branch" name at the top that governs which yt branch gets cloned and updated to in the installation section.
Any feedback would be constructive; we need to replace the current install script pretty soon, so let me know if this does or doesn't work!
Thanks,
Matt _______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

Awesome news! Do you think it would be possible to make a PPA of yt?
On Saturday, September 18, 2010, j s oishi jsoishi@gmail.com wrote:
Hi all,
I am happy to report the install script runs out of the box with no problems on Ubuntu 10.04 64-bit on my laptop, though it does require some packages to be installed (g++ and libpng-dev; apparently, the wise folks at Ubuntu find it prudent to install sudoku, but not g++ by default).
j
On Tue, Sep 7, 2010 at 10:55 AM, Matthew Turk matthewturk@gmail.com wrote:
Hi all,
Jeff and I have re-written the install script to use mercurial. This involved adding in an optional bzip2 installation, as that was a sticking point for several machines, as well as re-organizing it to install bzip2 before Python and then hg before yt. If you get a chance, I'd really appreciate it if you could try running it:
http://yt.enzotools.org/files/install_script.sh
There's a "branch" name at the top that governs which yt branch gets cloned and updated to in the installation section.
Any feedback would be constructive; we need to replace the current install script pretty soon, so let me know if this does or doesn't work!
Thanks,
Matt _______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (4)
-
j s oishi
-
Matthew Turk
-
Rick Wagner
-
Stephen Skory