1.5.2 Build Snag
Peter A. Koren
pkoren at hex.net
Thu May 6 22:20:28 EDT 1999
Oleg Broytmann wrote:
>
> Hi!
>
> On Thu, 22 Apr 1999, Charles Y. Choi wrote:
> > In trying to build Python 1.5.2 on a Sparc Solaris 2.5.1 machine
> > using gcc 2.8.1 I get this:
>
> I had no problems building on exactly the same environment:
>
> >>> python
> Python 1.5.2 (#1, Apr 15 1999, 12:17:41) [GCC 2.8.1] on sunos5
=====================================================================
I have a similar problem to Charles. I am running (at work) Solaris
2.5.1 and gcc 2.7.2.2 and tried to install the Python 1.5.2 source
tarball. Here is what I get:
ar cr libpython1.5.a getbuildinfo.o
ranlib libpython1.5.a
true
cd Modules; make OPT="-g -O2" VERSION="1.5" \
prefix="/home/files"
exec_prefix="/home/files/sun4-solaris2"
\
LIBRARY=../libpython1.5.a link
/home/pkoren/bin/gcc python.o \
../libpython1.5.a -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 /home/files/DOWNLOAD/Python-1.5.2/Modules
*** Error code 1
make: Fatal error: Command failed for target `python'
Current working directory /home/files/DOWNLOAD/Python-1.5.2
bash$
Any clues?
Thanks,
Peter Koren
--
Remove the '.zap-this' from the email address to reach me.
"One may proceed from absurd premise to ridiculous conclusion with
impeccable
logic." -- Santayana
More information about the Python-list
mailing list