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$