[Tutor] Re: [Python-Help] ExpectPy Installation problem --- problem restated.
Skip Montanaro
skip@mojam.com (Skip Montanaro)
Thu, 30 Sep 1999 11:17:40 -0500 (CDT)
>>>>> "ET" == ET <ed_tsang@yahoo.com> writes:
...
ET> function `exp_spawnv':
ET> /net/wrk/expect-5.26/exp_clib.c:282: undefined
ET> reference to `Tcl_ErrnoMsg'
ET> /net/wrk/expect-5.26/exp_clib.c:296: undefined
ET> reference to `Tcl_ErrnoMsg'
ET> /net/wrk/expect-5.26/exp_clib.c:369: undefined
ET> reference to `Tcl_ErrnoMsg'
ET> /net/wrk/expect-5.26/exp_clib.c:497: undefined
ET> reference to `Tcl_ErrnoMsg'
...
Looks like you're not telling configure that it should link with some Tcl
libraries.
...
ET> In function
ET> `PySocketSock_send':
ET> /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1167:
ET> undefined
ET> reference to `send'
ET> /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o):
ET> In function
ET> `PySocketSock_sendto':
ET> /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1199:
ET> undefined
ET> reference to `sendto'
...
Here it looks like AIX puts the socket functions in a separate library.
Check around for something like libsocket.a or search the libraries in
/usr/lib for the symbols send and/or sendto:
for f in /usr/lib/lib* ; do
echo $f
nm -a $f | egrep sendto
done
Again, it would appear this library needs to be fed to configure.
Skip Montanaro | http://www.mojam.com/
skip@mojam.com | http://www.musi-cal.com/
847-971-7098 | Python: Programming the way Guido indented...