Problems with ExpectPy 1.8.3

Rodrigo Senra rodsenra at
Sun Nov 5 06:53:08 CET 2000

arcege at wrote:
> I've made a patch to ExpectPy 1.8.2 to handle incompatibilities with
> Python 2.0's PCRE module ("re").  If you would like to upgrade to
> Python 2.0, please install this patch.
> I have also starting using SourceForge for development of ExpectPy.
> User lists, bug reporting, tarfiles, etc. are hosted there for the
> ExpectPy code.  I hope this encourages people to help me improve the
> module.
> The URL at sourceforge is <URL:>
> and the new patch is there as well.
> <URL:>
>   -Arcege
> --

I have applied the patch. However, the problem I'm
having to 'marry' ExpectPy with Python 2.0 is related
somehow to PyObject_GetAttr. Follows my configure output
and some sys info. Did anybody have simmilar problems ?
Rod Senra
Linux Max 2.2.14-15mdk #1 Tue Jan 4 22:24:20 CET 2000 i686 unknown
Python 2.0 (#6, Oct 26 2000, 16:42:29) 
[GCC 2.95.2 19991024 (release)] on linux2

[rodrigo at Max ExpectPy-1.8]$ ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for rm... /bin/rm
checking for python... /usr/local/bin/python
checking for expect... /usr/local/bin/expect
checking SO... .so
checking LDSHARED... gcc -shared
checking LDEXE... $(LD)
checking CCSHARED... -fpic
checking Python version... 2.0
checking Expect version... 5.32.1
checking Expect library location... -lexpect5.32
checking Tcl version (for testing)... 8.3
checking use of Python Setup... no
checking for openpty... no
checking for openpty in -lutil... yes
checking for cos in -lm... yes
checking for dlopen in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for exp_expectv in -lexpect5.32... yes
checking for PyObject_GetAttr in -lpython2.0... no
checking for PyObject_GetAttr in -lpython2.0... (cached) no
configure: error: Cannot compile with the Python library
^----- Here is the problem ;o)

Rodrigo Senra         
Computer Engineer   (GPr Sistemas Ltda)  rodsenra at 
MSc Student of Reflection (IC- UNICAMP) Rodrigo.Senra at (see also

More information about the Python-list mailing list