make install DESTDIR

Thomas Jollans thomas at jollybox.de
Fri Aug 20 19:39:47 EDT 2010


On Saturday 21 August 2010, it occurred to aj to exclaim:
> I am trying to install python with make install DESTDIR=/home/blah
> 

>                 --prefix=/ 

...

> creating /lib/python2.6
> error: could not create '/lib/python2.6': Permission denied
> make: *** [sharedinstall] Error 1

Obviously, the flags you specified didn't have the effect you intended. 

  --prefix=$HOME

should do the trick.



More information about the Python-list mailing list