I used this during installation of ExpectPy: ./configure --with-python=/s1/sqa/edwardt/Python/Python-1.5.2--with- expect=/tools/2.5.1/local/lib But it says cannot compile with the python library..... Any heads up? Is there something I need to download before this?? I have got the python from www.python.org. The final release one... But for some reason, the installation program is still trying to look for the network installed Python!!!! Attached below is the config.log: Please help experts!!! This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:568: checking host system type configure:659: checking for gcc configure:736: checking whether the C compiler (gcc ) works configure:750: gcc -o conftest conftest.c 1>&5 configure:770: checking whether the C compiler (gcc ) is a cross- compiler configure:775: checking whether we are using GNU C configure:784: gcc -E conftest.c configure:799: checking whether gcc accepts -g configure:828: checking whether gcc and cc understand -c and -o together configure:843: gcc -c conftest.c -o conftest.o 1>&5 configure:844: gcc -c conftest.c -o conftest.o 1>&5 configure:849: cc -c conftest.c 1>&5 configure:851: cc -c conftest.c -o conftest.o 1>&5 configure:852: cc -c conftest.c -o conftest.o 1>&5 configure:879: checking how to run the C preprocessor configure:900: gcc -E conftest.c >/dev/null 2>conftest.out configure:940: checking for AIX configure:974: checking for a BSD compatible install configure:1026: checking for ranlib configure:1053: checking whether ln -s works configure:1076: checking for rm configure:1116: checking for python configure:1155: checking for expect configure:1202: checking SO configure:1224: checking LDSHARED configure:1256: checking LDEXE configure:1279: checking CCSHARED configure:1341: checking Python version configure:1370: checking Expect version configure:1390: checking Expect library location configure:1435: checking Tcl version (for testing) configure:1473: checking use of Python Setup configure:1548: checking for openpty configure:1576: gcc -o conftest -g -O2 -I/s1/sqa/edwardt/Python/Python-1.5.2/Include -I/tools/2.5.1/local/lib -L/s1/sqa/edwardt/Python/Python-1.5.2 -L/tools/2.5.1/local/lib conftest.c 1>&5 /var/tmp/ccafaaHJ1.o: In function `main': /s1/sqa/edwardt/Python/ExpectPy-1.8/configure:1570: undefined reference to `openpty' configure: failed program was: #line 1553 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char openpty(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char openpty(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_openpty) || defined (__stub___openpty) choke me #else openpty(); #endif ; return 0; } configure:1598: checking for openpty in -lutil configure:1617: gcc -o conftest -g -O2 -I/s1/sqa/edwardt/Python/Python-1.5.2/Include -I/tools/2.5.1/local/lib -L/s1/sqa/edwardt/Python/Python-1.5.2 -L/tools/2.5.1/local/lib conftest.c -lutil 1>&5 /tools/2.5.1/local/sparc-sun-solaris2.5.1/bin/ld: cannot open -lutil: No such file or directory configure: failed program was: #line 1606 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char openpty(); int main() { openpty() ; return 0; } configure:1646: checking for cos in -lm configure:1665: gcc -o conftest -g -O2 -I/s1/sqa/edwardt/Python/Python-1.5.2/Include -I/tools/2.5.1/local/lib -L/s1/sqa/edwardt/Python/Python-1.5.2 -L/tools/2.5.1/local/lib conftest.c -lm 1>&5 configure:1658: warning: conflicting types for built-in function `cos' configure:1693: checking for dlopen in -ldl configure:1712: gcc -o conftest -g -O2 -I/s1/sqa/edwardt/Python/Python-1.5.2/Include -I/tools/2.5.1/local/lib -L/s1/sqa/edwardt/Python/Python-1.5.2 -L/tools/2.5.1/local/lib conftest.c -ldl -lm 1>&5 configure:1741: checking for pthread_create in -lpthread configure:1760: gcc -o conftest -g -O2 -I/s1/sqa/edwardt/Python/Python-1.5.2/Include -I/tools/2.5.1/local/lib -L/s1/sqa/edwardt/Python/Python-1.5.2 -L/tools/2.5.1/local/lib conftest.c -lpthread -ldl -lm 1>&5 configure:1877: checking for exp_expectv in -lexpect5.26 configure:1896: gcc -o conftest -g -O2 -I/s1/sqa/edwardt/Python/Python-1.5.2/Include -I/tools/2.5.1/local/lib -L/s1/sqa/edwardt/Python/Python-1.5.2 -L/tools/2.5.1/local/lib conftest.c -lexpect5.26 -ldl -lm 1>&5 /tools/2.5.1/local/lib/libexpect5.26.a(exp_clib.o): In function `exp_spawnv': /net/wrk/expect-5.26/exp_clib.c:282: undefined reference to `Tcl_ErrnoMsg' /net/wrk/expect-5.26/exp_clib.c:296: undefined reference to `Tcl_ErrnoMsg' /net/wrk/expect-5.26/exp_clib.c:369: undefined reference to `Tcl_ErrnoMsg' /net/wrk/expect-5.26/exp_clib.c:497: undefined reference to `Tcl_ErrnoMsg' /net/wrk/expect-5.26/exp_clib.c:509: undefined reference to `Tcl_ErrnoMsg' /tools/2.5.1/local/lib/libexpect5.26.a(exp_clib.o):/net/wrk/expect- 5.26/exp_clib .c:532: more undefined references to `Tcl_ErrnoMsg' follow /tools/2.5.1/local/lib/libexpect5.26.a(exp_clib.o): In function `expectv': /net/wrk/expect-5.26/exp_clib.c:771: undefined reference to `TclRegError' /net/wrk/expect-5.26/exp_clib.c:772: undefined reference to `TclRegComp' /net/wrk/expect-5.26/exp_clib.c:773: undefined reference to `TclGetRegError' /net/wrk/expect-5.26/exp_clib.c:947: undefined reference to `TclRegError' /net/wrk/expect-5.26/exp_clib.c:948: undefined reference to `TclRegExec' /net/wrk/expect-5.26/exp_clib.c:952: undefined reference to `TclGetRegError' /net/wrk/expect-5.26/exp_clib.c:953: undefined reference to `TclGetRegError' /tools/2.5.1/local/lib/libexpect5.26.a(pty_termios.o): In function `exp_getptyslave': /net/wrk/expect-5.26/pty_termios.c:623: undefined reference to `Tcl_ErrnoMsg' /net/wrk/expect-5.26/pty_termios.c:626: undefined reference to `Tcl_ErrnoMsg' /net/wrk/expect-5.26/pty_termios.c:629: undefined reference to `Tcl_ErrnoMsg' configure: failed program was: #line 1885 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char exp_expectv(); int main() { exp_expectv() ; return 0; } configure:1920: checking for exp_expectv in -lexpect5.26 configure:1939: gcc -o conftest -g -O2 -I/s1/sqa/edwardt/Python/Python-1.5.2/Include -I/tools/2.5.1/local/lib -L/s1/sqa/edwardt/Python/Python-1.5.2 -L/tools/2.5.1/local/lib conftest.c -lexpect5.26 -ltcl -ldl -lm 1>&5 configure:2024: checking for PyObject_GetAttr in -lpython1.5 configure:2043: gcc -o conftest -g -O2 -I/s1/sqa/edwardt/Python/Python-1.5.2/Include -I/tools/2.5.1/local/lib -L/s1/sqa/edwardt/Python/Python-1.5.2 -L/tools/2.5.1/local/lib conftest.c -lpython1.5 -ldl -lm 1>&5 /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `setipaddr': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:404: undefined reference to `gethostbyname' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_accept': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:612: undefined reference to `accept' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_setsockopt': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:719: undefined reference to `setsockopt' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_getsockopt': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:759: undefined reference to `getsockopt' /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:773: undefined reference to `getsockopt' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_bind': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:803: undefined reference to `bind' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_connect': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:854: undefined reference to `connect' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_connect_ex': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:880: undefined reference to `connect' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_getsockname': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:953: undefined reference to `getsockname' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_getpeername': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:980: undefined reference to `getpeername' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_listen': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1008: undefined reference to `listen' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_recv': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1083: undefined reference to `recv' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_recvfrom': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1122: undefined reference to `recvfrom' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_send': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1167: undefined reference to `send' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_sendto': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1199: undefined reference to `sendto' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocketSock_shutdown': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1223: undefined reference to `shutdown' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocket_gethostbyname_ex': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1483: undefined reference to `gethostbyname' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocket_gethostbyaddr': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1551: undefined reference to `gethostbyaddr' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocket_getservbyname': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1583: undefined reference to `getservbyname' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocket_getprotobyname': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1617: undefined reference to `getprotobyname' /s1/sqa/edwardt/Python/Python-1.5.2/libpython1.5.a(socketmodule.o): In function `PySocket_socket': /s1/sqa/poonam/python/Python-1.5.2/Modules/./socketmodule.c:1651: undefined reference to `socket' configure: failed program was: #line 2032 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PyObject_GetAttr(); int main() { PyObject_GetAttr() ; return 0; } configure:2066: checking for PyObject_GetAttr in -lpython1.5 Sent via Deja.com http://www.deja.com/ Before you buy.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4