python 2.1 install problem

Martin von Loewis loewis at informatik.hu-berlin.de
Fri Jun 8 13:15:32 EDT 2001


jorgenru at jeeves.stud.ntnu.no (Jørgen Ruud) writes:

> I have downloaded python 2.1, and done a configure with the
> --prefix=/local swotch. But I want to install python to another
> directory than /local, because i'll will use it as a package to
> distribute other to machines. With some MAKEFILES you can use: 'make
> DESTDIR=directory install' (where DESTDIR, is the destinationdirectory)
> to install it to another place. Is this possible with python? (I know
> it dosn't use the DESTDIR option)

For Python (and any autoconf-generated project), you do 'make
prefix=directory install'

It always helps to study the makefile to realize your opportunities.

Regards,
Martin



More information about the Python-list mailing list