2008/9/23 Dickerson, Dee <[EMAIL PROTECTED]>: > > I am trying to compile python 2.5.2 on a Suse 10.3 x86-64 machine. GCC > version is 4.2.1. > > Configure completes with no errors and so does the compile but when I try > and run I get an error that there is no readline module. > > The entry in config.log related to not finding the readline is: > > /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: > cannot find -lreadline > conftest.c:219:31: error: readline/readline.h: No such file or directory > | #include <readline/readline.h> > configure:21254: checking for rl_pre_input_hook in -lreadline > configure:21289: gcc -pthread -o conftest -g -O2 conftest.c -lreadline > -lpthread -ldl -lutil >&5 > /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: > cannot find -lreadline > configure:21325: checking for rl_completion_matches in -lreadline > configure:21360: gcc -pthread -o conftest -g -O2 conftest.c -lreadline > -lpthread -ldl -lutil >&5 > /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: > cannot find -lreadline
No libreadline.so* > conftest.c:219:31: error: readline/readline.h: No such file or directory > | #include <readline/readline.h> This means that readline/readline.h is not in your include directories (set in the LFLAGS shell variable) nor libreadlines.so (or .so.1 etc) in /usr/local/lib. You should check if you have readlines installed (typically in /usr/local ie you should have /usr/local/include/readline/readline.h and /usr/local/lib/libreadline.so or something). Try `locate readline.h` to find the path to your includes if it's uncommon, update your compiler flags else install readlines (from a gnu mirror eg http://tinyurl.com/4ooghk). HTH Mathieu _______________________________________________ Compiler-sig mailing list [email protected] http://mail.python.org/mailman/listinfo/compiler-sig
