Compiling Python on Solaris 7
Andrew Holt
andrew.holt at uk.sun.com
Thu Jan 20 04:24:49 EST 2000
Hi all,
I am having a problem building pythne for Solaris 7 & NetBSD.
I have built "vanilla" python on both these platforms.
My problems begin when I try to add the tkinter stuff.
After adjusting the Setup file and then running make
I get the following message:
cd Modules; make OPT="-g -O2" VERSION="1.5" \
prefix="/usr/local" exec_prefix="/usr/local" \
LIBRARY=../libpython1.5.a link
gcc python.o \
../libpython1.5.a -L/usr/local/lib -ltk8.2 -ltcl8.2 -L/usr/openwin/lib
-lX11 -lsocket -lnsl -ldl -lm -o python
Undefined first referenced
symbol in file
Py_Main python.o
ld: fatal: Symbol referencing errors. No output written to python
*** Error code 1
make: Fatal error: Command failed for target `link'
Current working directory /opt/home/andrewh/src/python/Python-1.5.2/Modules
*** Error code 1
make: Fatal error: Command failed for target `python'
I have just done the same on the NetBSD box, so I can at least start to learn
the language. However Solaris is going to be my target so I need to get this
going.
Any help will be much apreciated.
Rgds Andrew
More information about the Python-list
mailing list