Problems with ExpectPy 1.8.3

Rodrigo Senra rodsenra at correionet.com.br
Sun Nov 5 00:53:08 EST 2000


arcege at shore.net 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:http://sourceforge.net/projects/ExpectPy>
> and the new patch is there as well.
> <URL:http://sourceforge.net/project/showfiles.php?group_id=12571>
> 
>   -Arcege
> 
> --
> http://www.python.org/mailman/listinfo/python-list

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 ?
TIA
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 correionet.com.br 
MSc Student of Reflection (IC- UNICAMP) Rodrigo.Senra at ic.unicamp.br
http://www.ic.unicamp.br/~921234 (see also   http://www.gpr.com.br)





More information about the Python-list mailing list