ExpectPy

Scott Pakin pakin at uiuc.edu
Tue Aug 1 06:12:23 EDT 2000


Timothy Grant wrote:
> On trying to configure ExpectPy v1.8, I get the following error on
> configure:
> 
> checking for PyObject_GetAttr in -lpython1.5... no
> checking for PyObject_GetAttr in -lpython1.5... (cached) no
> configure: error: Cannot compile with the Python library

I've been getting those same errors!  I eventually got past that point by
hacking the configure script (yuck!).  There's a line that reads:

    LIBS="-lpython${PYTH_VERS}  $LIBS"

a little before line 2123.  I changed it to:

    LIBS="-L/usr/lib/python1.5/config -lpthread -lpython${PYTH_VERS}  $LIBS"

and that worked.

*However*, I'm now stuck on make.  expect.c is using a constant called
"CBAUDEXT" that I can't find anywhere.  (I actually stumbled across your
message while searching Deja.com for a solution to that.)  Sigh.

-- Scott



More information about the Python-list mailing list