compiling python 3.1.2 with local readline fails to get readline - help!

G

gavino

I compiled readline 6.1 myself.

# ./configure --prefix=/home/apps/python --disable-shared --with-
pymalloc --with-threads --with-pth --enable-big-digits --disable-ipv6
--enable-readline --with-readline=/home/apps/readline/lib/
# make -j14
.....
.....
modules not installed:
......... readline .........

Python starts but no readline.

What is the proper configure flag to use a locally compiled readline?
I tried with and without --with-readline and with readline/ and
readline/lib as shown above.
thx for help
 
J

James Mills

I compiled readline 6.1 myself.

#  ./configure --prefix=/home/apps/python --disable-shared --with-
pymalloc --with-threads --with-pth --enable-big-digits --disable-ipv6
--enable-readline --with-readline=/home/apps/readline/lib/
#  make -j14
....
....
modules not installed:
........    readline   .........

Python starts but no readline.

What is the proper configure flag to use a locally compiled readline?
I tried with and without --with-readline and with readline/ and
readline/lib as shown above.
thx for help

AFAIK, there are no "readline" specific options in python 2.x's
../configure options:

# pwd
/usr/ports/opt/python/Python-2.6.5
# ./configure --help | grep readline -i
#

I could be wrong... Are you sure you've configured and compile
readline correctly and that you've set the appropriate environment
variables and paths for C/C++ compilers (eg: GCC) to pick it up ?

cheers
James
 
G

gavino

AFAIK, there are no "readline" specific options in python 2.x's
./configure options:

# pwd
/usr/ports/opt/python/Python-2.6.5
# ./configure --help | grep readline -i
#

I could be wrong... Are you sure you've configured and compile
readline correctly and that you've set the appropriate environment
variables and paths for C/C++ compilers (eg: GCC) to pick it up ?

cheers
James

I am comiling 3.1.2.
I am not root but a user.
I compiled readline and it did not complain.
gdb and zlib and some other modules also were not found.
 
J

James Mills

I am comiling 3.1.2.
I am not root but a user.
I compiled readline and it did not complain.
gdb and zlib  and some other modules also were not found.

Like I said earlier in my previous post, is the readline line that
you compiled and installed to your home directory actually
working and can you actually compile any C programs that
use this custom readline ?

cheers
James
 
G

gavino

Like I said earlier in my previous post, is the readline line that
you compiled and installed to your home directory actually
working and can you actually compile any C programs that
use this custom readline ?

cheers
James

I don't know how to test readline. It compiled without complaint. I
guess my questions boils down to how to point the python compile to
the readline lib? I don't have root.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top