[yt-users] yt installation problem in fedora 14

Prakash Sarkar cyclone.turner at gmail.com
Fri Feb 24 04:09:12 PST 2012


Dear Matt,
thanks,
It works, after changing the file name
again thank you all for  this beautiful software "yt".
regards
Prakash

On Fri, Feb 24, 2012 at 5:09 PM, Matthew Turk <matthewturk at gmail.com> wrote:

> HI Prakash,
>
> You could try renaming nr's complex to nr_complex.h and in NR-code
> include "nr_complex.h".  Someone else here might have another idea,
> but if you really want to get NumPy to compile with conflicting
> complex.h files you may have to email to the NumPy mailing list.
>
> -Matt
>
> On Fri, Feb 24, 2012 at 6:35 AM, Prakash Sarkar
> <cyclone.turner at gmail.com> wrote:
> > /usr/local/include/complex.h : comes from numerical recipes I think it is
> > conflicting with the /usr/include/complex.h
> > which is for GCC. Is there any other way to rectify it without changing
> >  /usr/local/include/complex.h.
> >
> >
> > On Fri, Feb 24, 2012 at 4:57 PM, Prakash Sarkar <
> cyclone.turner at gmail.com>
> > wrote:
> >>
> >> Hope it helps .
> >> [prakash at shashank Desktop]$ locate complex.h
> >> /home/prakash/Downloads/gsl-1.9/complex/gsl_complex.h
> >> /home/prakash/Downloads/gsl-1.9/fft/gsl_dft_complex.h
> >> /home/prakash/Downloads/gsl-1.9/fft/gsl_fft_complex.h
> >> /home/prakash/Downloads/gsl-1.9/fft/gsl_fft_halfcomplex.h
> >> /home/prakash/Downloads/gsl-1.9/vector/gsl_vector_complex.h
> >> /usr/include/complex.h
> >> /usr/include/boost/accumulators/numeric/functional/complex.hpp
> >> /usr/include/boost/config/no_tr1/complex.hpp
> >> /usr/include/boost/math/complex.hpp
> >> /usr/include/boost/serialization/complex.hpp
> >> /usr/include/boost/tr1/complex.hpp
> >> /usr/include/boost/type_traits/is_complex.hpp
> >> /usr/include/boost/typeof/std/complex.hpp
> >> /usr/include/c++/4.5.1/complex.h
> >> /usr/include/c++/4.5.1/tr1/complex.h
> >> /usr/lib64/R/library/base/html/complex.html
> >> /usr/local/include/complex.h
> >> /usr/local/matlab/toolbox/rtw/rtwdemos/html/rtwdemo_complex.html
> >>
> >>
> /usr/local/yt/yt-x86_64/src/hdf5-1.8.7/tools/testfiles/tcompound_complex.h5
> >>
> >>
> /usr/local/yt/yt-x86_64/src/hdf5-1.8.7/tools/testfiles/tcompound_complex.h5.xml
> >> /usr/share/doc/PyQt4-devel-4.8.3/html/qstyleoptioncomplex.html
> >> /usr/share/doc/libstdc++-docs-4.5.1/html/manual/complex.html
> >> /usr/share/doc/qtscriptbindings-0.1.0/doc/qstyleoptioncomplex.html
> >> /usr/share/man/man0p/complex.h.0p.gz
> >> [prakash at shashank Desktop]$
> >>
> >>
> >> On Fri, Feb 24, 2012 at 4:48 PM, Matthew Turk <matthewturk at gmail.com>
> >> wrote:
> >>>
> >>> Hi Prakash,
> >>>
> >>> Looking over the install log, it looks to me like there's a type that
> >>> uses 'complex' but GCC doesn't know complex is a type specifier.  By
> >>> default, numpy assumes you have complex.h ( see numpy/core/setup.py ).
> >>>  For me, complex.h is located in /usr/include , but I don't know where
> >>> it is located on your system -- in fact, there may be an additional
> >>> complex.h that does not correctly define things (as the SAGE project
> >>> found, in bug 8278) that is getting in the way.  Let me know what you
> >>> can find,
> >>>
> >>> Matt
> >>>
> >>> PS Welcome to yt-users!
> >>>
> >>> On Fri, Feb 24, 2012 at 4:30 AM, Prakash Sarkar
> >>> <cyclone.turner at gmail.com> wrote:
> >>> > While Installing yt through installation script it fails while
> >>> > installing
> >>> > numpy-1.6.1 in fedora 14.
> >>> > the output of the script is shown below
> >>> >
> >>> > [root at shashank yt]# 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_PNG        = 1 so I will  be installing libpng
> >>> > INST_FTYPE      = 1 so I will  be installing freetype2
> >>> > INST_SQLITE3    = 1 so I will  be installing SQLite3
> >>> > INST_FORTHON    = 1 so I will  be installing Forthon (for Halo
> Finding,
> >>> > etc)
> >>> > INST_HG         = 1 so I will  be installing Mercurial
> >>> > INST_ENZO       = 1 so I will  be checking out Enzo
> >>> >
> >>> > HDF5_DIR is not set, so I will be installing HDF5
> >>> >
> >>> > Installation will be to
> >>> >   /usr/local/yt/yt-x86_64
> >>> >
> >>> > and I'll be logging the installation in
> >>> >   /usr/local/yt/yt-x86_64/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.
> >>> >
> >>> > Using wget
> >>> > Downloading HDF5
> >>> > Downloading hdf5-1.8.7.tar.gz from yt-project.org
> >>> > Downloading zlib-1.2.3.tar.bz2 from yt-project.org
> >>> > Downloading bzip2-1.0.5.tar.gz from yt-project.org
> >>> > Downloading libpng-1.2.43.tar.gz from yt-project.org
> >>> > Downloading freetype-2.4.4.tar.gz from yt-project.org
> >>> > Downloading sqlite-autoconf-3070500.tar.gz from yt-project.org
> >>> > Downloading Python-2.7.2.tgz from yt-project.org
> >>> > Downloading numpy-1.6.1.tar.gz from yt-project.org
> >>> > Downloading matplotlib-1.1.0.tar.gz from yt-project.org
> >>> > Downloading mercurial-2.0.tar.gz from yt-project.org
> >>> > Downloading ipython-0.10.tar.gz from yt-project.org
> >>> > Downloading h5py-2.0.1.tar.gz from yt-project.org
> >>> > Downloading Cython-0.15.1.tar.gz from yt-project.org
> >>> > Downloading Forthon-0.8.5.tar.gz from yt-project.org
> >>> > Downloading ext-3.3.2.zip from yt-project.org
> >>> > Downloading ext-slate-110328.zip from yt-project.org
> >>> > Downloading PhiloGL-1.4.2.zip from yt-project.org
> >>> > Installing Mercurial.
> >>> > Setting YT_DIR=/usr/local/yt/yt-x86_64/src/yt-hg/
> >>> > Installing distribute
> >>> > Installing pip
> >>> > Installing numpy-1.6.1 (arguments: 'numpy-1.6.1')
> >>> > Failure.  Check /usr/local/yt/yt-x86_64/yt_install.log.
> >>> > [root at shashank yt]#
> >>> >
> >>> >
> >>> >
> >>> > I have attached the yt_install.log file
> >>> > Please help
> >>> >
> >>> > thanks in advance
> >>> >
> >>> > Prakash
> >>> >
> >>> > _______________________________________________
> >>> > yt-users mailing list
> >>> > yt-users at lists.spacepope.org
> >>> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>> >
> >>> _______________________________________________
> >>> yt-users mailing list
> >>> yt-users at lists.spacepope.org
> >>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>
> >>
> >
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120224/71992b25/attachment.html>


More information about the yt-users mailing list