[yt-users] Installing Enzo from Yt, error!
Matthew Turk
matthewturk at gmail.com
Mon Jan 17 20:16:29 PST 2011
Hi Hector,
I'm not sure why, but recently some installations of Python with the
yt install script have not been able to build the _ssl module. This
prevents them from being able to clone the Enzo repository, which uses
"https" as a protocol. You should be able to modify the line on or
around line number 475 in install_script.sh to change it from:
${HG_EXEC} clone https://enzo.googlecode.com/hg/ ./enzo-hg-stable
to:
${HG_EXEC} clone http://enzo.googlecode.com/hg/ ./enzo-hg-stable
and then re-run the script exactly as before. It should then be able
to download Enzo to the appropriate directory.
Can you try that, and let us know? I will also see about adding the
non-https as a fallback in the script for future installations.
Best,
Matt
On Mon, Jan 17, 2011 at 7:11 PM, Hector Aceves <aceves at astrosen.unam.mx> wrote:
> Hi to all..
>
> I am new in this Enzo-Yt world, and taking advantage of this mailing list, I
> will appreciate any help you might give me in installing Enzo and Yt. My
> problem is as follows.
>
> Firstly, I am using the install_script.sh provided by Yt, in a AMD multicore
> 64 bit computer, with shared memory, gfortran as fortran compiler and also
> gcc; all this under ubuntu linux.
>
> I activated the following options in the script:
>
> NUMPY_ARGS="--fcompiler=gnu95"
> HDF5_DIR=
>
> INST_ZLIB = 1 ...
> ...idem
> ...idem
> INST_ENZO = 1
>
> the last option was set in order to precisely install Enzo, along with Yt.
> This script was run with root (sudo) privileges in the /usr/local directory:
>
> /usr/local> sudo bash install_script.sh
>
> and gave me.. along other things the following (notice the <*** points):
>
> ...
> HDF5_DIR is not set, so I will be installing HDF5
> ...
> Installation will be to
> /usr/local/yt-unknown
> ..
> Installing yt
> Cloning a copy of Enzo.
> abort: No module named _ssl! <**********
> ..
> ..
> yt is now installed in /usr/local/yt-unknown .
>
> Enzo has also been checked out, but not built. <<********
>
> /usr/local/yt-unknown/src/enzo-hg-stable
>
>
> Actually, the enzo-hg-stable does not appear in the /usr/local/yt-unknown
> directory, while all the other bzip2-1.0.5, ...,Python-2.6.3, yt-hg
> directories are present.
>
> Checking the yt_install.log I noticed the following message:
>
> Failed to find the necessary bits to build these modules:
> _bsddb _curses _curses_panel
> _hashlib _sqlite3 _ssl
> _tkinter bsddb185 dbm
> dl gdbm imageop
> readline sunaudiodev
> To find the necessary bits, look in setup.py in detect_modules() for the
> module's name.
>
> appearing in about two places, and also:
>
> INFO: Can't locate Tcl/Tk libs and/or headers
>
> I am attaching in gzip file the whole yt_install.log file; just in case. Any
> comments will be appreciated.
>
> Cheers
>
> Hector
>
>
> *************************************
> Dr. Héctor Aceves Campos
> Instituto de Astronomía-UNAM
> Ensenada B.C. 22800 México
> *************************************
>
>
> _______________________________________________
> 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