newbie need help on python-2.3.2 installation

matt heagney matt at heagney.com
Fri Nov 21 12:32:05 EST 2003


dave-au <dave-au_member at newsguy.com> wrote in message news:<bp0qqa01dl3 at drn.newsguy.com>...
> Hi:
> 
> I was trying to install python on solaris 9 and failed:
> 
> root at 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




More information about the Python-list mailing list