[yt-users] error installing mecurial during yt install
Brendan Griffen
brendan.f.griffen at gmail.com
Tue Sep 3 15:44:06 PDT 2013
Hi,
I am doing a fresh install so I downloaded the install_script.sh and did
the usual bash install_script.sh
I got this error though:
....
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_HG = 1 so I will be installing Mercurial
INST_ENZO = 0 so I won't be checking out Enzo
INST_PYX = 0 so I won't be installing PyX
INST_SCIPY = 1 so I will be installing scipy
INST_0MQ = 1 so I will be installing ZeroMQ
INST_ROCKSTAR = 1 so I will be installing Rockstar
....
Downloading xray_emissivity.h5 from yt-project.org
Installing mercurial-2.7
********************************************
FAILURE REPORT:
********************************************
running build
running build_mo
running build_ext
building 'mercurial.base85' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -I/n/sw/python-2.7.1/include/python2.7 -c
mercurial/base85.c -o build/temp.linux-x86_64-2.7/mercurial/base85.o
gcc -pthread -shared -L/n/home01/bgriffen/data/lib/yt-x86_64/lib/
-L/n/home01/bgriffen/data/lib/yt-x86_64/lib64/
-L/n/home01/bgriffen/data/lib/yt-x86_64/lib/
-L/n/home01/bgriffen/data/lib/yt-x86_64/lib64/
-L/n/home01/bgriffen/data/lib/yt-x86_64/lib/
-L/n/home01/bgriffen/data/lib/yt-x86_64/lib64/
-L/n/home01/bgriffen/data/lib/yt-x86_64/lib/
-L/n/home01/bgriffen/data/lib/yt-x86_64/lib64/
build/temp.linux-x86_64-2.7/mercurial/base85.o -L. -lpython2.7 -o
build/lib.linux-x86_64-2.7/mercurial/base85.so
/usr/bin/ld:
/n/home01/bgriffen/data/lib/yt-x86_64/lib//libpython2.7.a(exceptions.o):
relocation R_X86_64_32 against `_Py_NoneStruct' can not be used when making
a shared object; recompile with -fPIC
/n/home01/bgriffen/data/lib/yt-x86_64/lib//libpython2.7.a: could not read
symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
********************************************
********************************************
Can anyone suggest a work-around? Thanks.
The cluster I'm on also has mecurial installed and I can load that module
if needs be. I'm not sure if it is critical to getting yt working. Thanks.
Brendan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130903/7b42ff8d/attachment.htm>
More information about the yt-users
mailing list