Problems with ExpectPy 1.8.3
Michael P. Reilly
arcege at shore.net
Sun Nov 5 18:54:16 EST 2000
> 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 ?
Read on below... :)
> 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)
Hi Rodrigo,
Can please you send me the config.log and config.status file? Usually
when I've seen this it has been a problem with pathnames or with
threading. Have you built Python 2.0 with a non-standard thread
library?.
Also, I notice that you are attempting to build with Expect 5.32.
The current stable release of ExpectPy (1.8.x) does _NOT_ support
Expect after 5.30. You have two choices:
* Download and build Expect 5.30 (available from ExpectPy's webpage);
you do not need to install 5.30, just to build it.
* Or, download and build a beta release of ExpectPy 1.9 (which is just
announced this morning), available at
<URL:http://ExpectPy.sourceforge.net/1.9b1/>
But this should not affect the configure error above.
-Arcege
PS: I might be better to use the "Help" forum on the ExpectPy project
site in the future (which you can get to from the project site as
well): <URL:http://sourceforge.net/forum/forum.php?forum_id=39566>.
--
------------------------------------------------------------------------
| Michael P. Reilly, Release Manager | Email: arcege at shore.net |
| Salem, Mass. USA 01970 | |
------------------------------------------------------------------------
More information about the Python-list
mailing list