Problems compiling missing -lreadline

"Dickerson, Dee" <[email protected]> Tue, 23 Sep 2008 07:30:16 -0500
Newsgroups gmane.comp.python.compiler
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============0010910984==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C91D78.22B2B90C"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C91D78.22B2B90C
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


I am trying to compile python 2.5.2 on a Suse 10.3 x86-64 machine.  GCC
version is 4.2.1. =20

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. =20
The entry in config.log related to not finding the readline is:=20

/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
conftest.c:219:31: error: readline/readline.h: No such file or directory
| #include <readline/readline.h>


Dee=20
_______________________________________________=20
Dee Dickerson=20
Engineering & Process Sciences - Process Optimization=20
Core R&D=20
The Dow Chemical Company=20
B-1603
Freeport, Texas 77541=20
Phone: +1 979-238-4449=20
[email protected]



------_=_NextPart_001_01C91D78.22B2B90C
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7653.2">
<TITLE>Problems compiling missing -lreadline</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am trying to compile python 2.5.2 on =
a Suse 10.3 x86-64 machine.&nbsp; GCC version is 4.2.1.&nbsp; </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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.&nbsp; </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The entry in config.log related to not =
finding the readline is: </FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-=
suse-linux/bin/ld: cannot find -lreadline</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">conftest.c:219:31: error: =
readline/readline.h: No such file or directory</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">| #include =
&lt;readline/readline.h&gt;</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">configure:21254: checking for =
rl_pre_input_hook in -lreadline</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">configure:21289: gcc -pthread -o =
conftest -g -O2&nbsp;&nbsp; conftest.c -lreadline&nbsp; -lpthread =
-ldl&nbsp; -lutil &gt;&amp;5</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-=
suse-linux/bin/ld: cannot find -lreadline</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">configure:21325: checking for =
rl_completion_matches in -lreadline</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">configure:21360: gcc -pthread -o =
conftest -g -O2&nbsp;&nbsp; conftest.c -lreadline&nbsp; -lpthread =
-ldl&nbsp; -lutil &gt;&amp;5</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-=
suse-linux/bin/ld: cannot find -lreadline</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">conftest.c:219:31: error: =
readline/readline.h: No such file or directory</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">| #include =
&lt;readline/readline.h&gt;</FONT>
</P>
<BR>

<P><FONT SIZE=3D5 FACE=3D"Script">Dee</FONT><BR>
<FONT COLOR=3D"#FF0000" SIZE=3D2 FACE=3D"Arial =
Black">_______________________________________________</FONT><FONT =
FACE=3D"Times New Roman"><BR>
</FONT><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial">Dee =
Dickerson</FONT><FONT FACE=3D"Times New Roman"><BR>
</FONT><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial">Engineering &amp; =
Process Sciences - Process Optimization</FONT><FONT FACE=3D"Times New =
Roman"><BR>
</FONT><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial">Core =
R&amp;D</FONT><FONT FACE=3D"Times New Roman"><BR>
</FONT><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial">The Dow Chemical =
Company</FONT><FONT FACE=3D"Times New Roman"><BR>
</FONT><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial">B-1603</FONT><BR>
<FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial">Freeport, Texas =
77541</FONT><FONT FACE=3D"Times New Roman"> </FONT>

<BR><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial">Phone: +1 =
979-238-4449</FONT><FONT FACE=3D"Times New Roman"><BR>
<U></U></FONT><U><FONT COLOR=3D"#808080" SIZE=3D2 =
FACE=3D"Arial">[email protected]</FONT></U>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C91D78.22B2B90C--

--===============0010910984==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Compiler-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/compiler-sig

--===============0010910984==--