newbie need help on python-2.3.2 installation

D

dave-au

Hi:

I was trying to install python on solaris 9 and failed:

root@system:~/Python-2.3.2:) make install
../install-sh -c python /usr/local/bin/python2.3
if test -f libpython2.3.so; then \
if test ".so" = .dll; then \
./install-sh -c -m 555 libpython2.3.so /usr/local/bin; \
else \
../install-sh -c -m 555 libpython2.3.so /usr/local/lib/libpython2.3.so; \
(cd /usr/local/lib; ln -sf libpython2.3.so libpython2.3.so); \
fi; \
else true; \
fi
ln: cannot create libpython2.3.so: File exists
make: *** [altbininstall] Error 2

thanks
 
M

matt heagney

dave-au said:
Hi:

I was trying to install python on solaris 9 and failed:

root@system:~/Python-2.3.2:) make install
./install-sh -c python /usr/local/bin/python2.3
if test -f libpython2.3.so; then \
if test ".so" = .dll; then \
./install-sh -c -m 555 libpython2.3.so /usr/local/bin; \
else \
./install-sh -c -m 555 libpython2.3.so /usr/local/lib/libpython2.3.so; \
(cd /usr/local/lib; ln -sf libpython2.3.so libpython2.3.so); \
fi; \
else true; \
fi
ln: cannot create libpython2.3.so: File exists
make: *** [altbininstall] Error 2

thanks


Here's how to fix it:

vi Makefile
Lines 626 -> 628 should look like this:

else \
$(INSTALL_SHARED) libpython$(VERSION)$(SO)$(DESTDIR)$(LIBDIR)/$(INSTSONAME); \
fi; \


Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top