readline installation failing
Hi guys, I have installed yt (development version) on my Ubuntu 12.04 LTS. Then I tried to install readline so that I can see the previous commands in iyt. I did "pip install readline" under /yt/bin, but it showed error: ============ Building the readline extension module ============ running install running build running build_ext building 'readline' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -I. -I/home/madcpf/Documents/dev_yt/include/python2.7 -c Modules/2.x/readline.c -o build/temp.linux-i686-2.7/Modules/2.x/readline.o -Wno-strict-prototypes as: /home/madcpf/Documents/dev_yt/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.22-system.so) gcc -pthread -shared -L/home/madcpf/Documents/dev_yt/lib/ -L/home/madcpf/Documents/dev_yt/lib64/ -L/home/madcpf/Documents/dev_yt/lib/ -L/home/madcpf/Documents/dev_yt/lib64/ -L/home/madcpf/Documents/dev_yt/lib/ -L/home/madcpf/Documents/dev_yt/lib64/ -L/home/madcpf/Documents/dev_yt/lib/ -L/home/madcpf/Documents/dev_yt/lib64/ build/temp.linux-i686-2.7/Modules/2.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.linux-i686-2.7/readline.so gcc: error: readline/libreadline.a: No such file or directory gcc: error: readline/libhistory.a: No such file or directory error: command 'gcc' failed with exit status 1 ---------------------------------------- Command /home/madcpf/Documents/dev_yt/bin/python2.7 -c "import setuptools;__file__='/home/madcpf/Documents/dev_yt/bin/build/readline/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-EMEAm1-record/install-record.txt failed with error code 1 in /home/madcpf/Documents/dev_yt/bin/build/readline Storing complete log in /home/madcpf/.pip/pip.log Then I googled the error "gcc: error: readline/libreadline.a: No such file or directory", but I still can't find a way that works. Any ideas what I should do? Thank you! Pengfei
participants (2)
-
Nathan Goldbaum
-
Pengfei Chen