[yt-users] Yt not installing right

Matthew Turk matthewturk at gmail.com
Thu Jan 22 14:17:13 PST 2009


Hi!

Sorry to hear you're having problems, but it's good to hear that
you're trying out the newest version, from the trunk.  :)  I have a
suspicion I know what's going on, but it would help out if you could
send (even off-list, if you'd rather) the rest of the installation
log.  What I believe is happening is that the numpy distutils are
using the wrong fortran compiler to compile and link the fortran
interface libraries.  This is a problem I ran into a while back, but
my solution was probably not very portable.

If we can figure out which fortran compiler you're using, we might be
able to make some progress.  Are you running on Debian?  Can you tell
me if you have any of g95, gfortran or g77 installed?

Thanks!

-Matt

On Thu, Jan 22, 2009 at 1:00 PM, rsoares <dlleuz at xmission.com> wrote:
> Sorry forgot to attach:
>
>
> Hi,
>
> Two things:
>
> 1. I can't get yt-1.5 to finish installing.  Hangs with the numpy pkg:
>
> build/temp.linux-i686-2.6/numpy/linalg/lapack_litemodule.o:/ ... more
> undefined references to `PyType_IsSubtype\ follow ... python_xerbla.c:35:
> undefined reference to `PyErr_SetString' ... collect2: ld returned 1 exit
> status
>
> -L/usr/lib/llapack -lblas -lg2c -o
> build/lib.linux-i686-2.6/numpy/linalg/lapack_lite.so" failed with exit
> status 1
>
>
> 2. The old yt I've been using never did install "iyt" though "yt" has worked
> fine.
> (it's not in the bin)
>
> I attached a coupled of ref's might be helpful.  Thanks for yout time.
>
> Sincerely,
>
> R.Soares
>
>
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/lapack_litemodule.c:103:
> undefined reference to `PyType_IsSubtype'
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/lapack_litemodule.c:103:
> undefined reference to `PyType_IsSubtype'
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/lapack_litemodule.c:103:
> undefined reference to `PyType_IsSubtype'
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/lapack_litemodule.c:103:
> undefined reference to `PyType_IsSubtype'
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/lapack_litemodule.c:103:
> undefined reference to `PyType_IsSubtype'
> build/temp.linux-i686-2.6/numpy/linalg/lapack_litemodule.o:/home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/lapack_litemodule.c:103:
> more undefined references to `PyType_IsSubtype' follow
> build/temp.linux-i686-2.6/numpy/linalg/lapack_litemodule.o: In function
> `lapack_lite_dgeev':
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/lapack_litemodule.c:165:
> undefined reference to `Py_BuildValue'
> build/temp.linux-i686-2.6/numpy/linalg/lapack_litemodule.o: In function
> `check_object':
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/lapack_litemodule.c:114:
> undefined reference to `PyErr_Format'
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/lapack_litemodule.c:109:
> undefined reference to `PyErr_Format'
> build/temp.linux-i686-2.6/numpy/linalg/python_xerbla.o: In function
> `xerbla_':
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/python_xerbla.c:35:
> undefined reference to `PyExc_ValueError'
> /home/robyn/yt-unknown/src/numpy-1.2.1/numpy/linalg/python_xerbla.c:35:
> undefined reference to `PyErr_SetString'
> /usr/lib/libfrtbegin.a(frtbegin.o): In function `main':
> (.text+0x35): undefined reference to `MAIN__'
> collect2: ld returned 1 exit status
> error: Command "/usr/bin/g77 -g -Wall -L/home/robyn/yt-unknown/lib/
> -L/home/robyn/yt-unknown/lib64/ -L/home/robyn/yt-unknown/lib/
> -L/home/robyn/yt-unknown/lib64/
> build/temp.linux-i686-2.6/numpy/linalg/lapack_litemodule.o
> build/temp.linux-i686-2.6/numpy/linalg/python_xerbla.o -L/usr/lib -llapack
> -lblas -lg2c -o build/lib.linux-i686-2.6/numpy/linalg/lapack_lite.so" failed
> with exit status 1
>
> yt-src list (old):
>
> hdf5-1.6.7.tar.gz         pytables-2.0.4.tar.gz         yt-0.3.tar.gz
> matplotlib-0.91.4.tar.gz  Python-2.5.2.tgz
> numpy-1.0.4.tar.gz        wxPython-src-2.8.7.1.tar.bz2
>
>
> yt-1.5 src list:
>
> hdf5-1.6.8.tar.gz           numpy-1.2.1.tar.gz  zlib-1.2.3.tar.bz2
> ipython-0.9.1.tar.gz        Python-2.6.1.tgz
> matplotlib-0.98.5.2.tar.gz  tables-2.1.tar.gz
>
>
> yt-bin (old):
>
> basic.py  h5cc        h5unjam     pyalamode         reason
> editra    h5debug     helpviewer  pycrust           smtpd.py
> f2py2.5   h5diff      idle        pydoc             wx-config
> fbranch   h5dump      img2png     pyshell           wxrc
> fbury     h5import    img2py      python            wxrc-2.8
> fdigup    h5jam       img2xpm     python2.5         xrced
> fido      h5ls        nctoh5      python2.5-config  yt
> fimport   h5redeploy  ptdump      python-config     yt_particles.py
> gif2h5    h5repack    ptrepack    pywrap            yt_timeseries.py
> h52gif    h5repart    pyalacarte  pywxrc            yt_zoomin.py
>
>
> yt-bin (1.5):  (until compile error)
>
> 2to3              h52gif   h5dump    h5redeploy  idle       python2.6-config
> easy_install      h5cc     h5import  h5repack    pydoc      python-config
> easy_install-2.6  h5debug  h5jam     h5repart    python     smtpd.py
> gif2h5            h5diff   h5ls      h5unjam     python2.6
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>



More information about the yt-users mailing list