Re: make install DESTDIR

2010-08-24 Thread aj
On Aug 23, 10:52 pm, "Martin v. Loewis" wrote: > > Thanks Martin. That seems to work. I will file a bug report. Also, can > > you describe what the problem was? > > If you have / as the prefix, you get two leading slashes, e.g. for > //lib/python2.x. Any other prefix would have given you only a si

Re: make install DESTDIR

2010-08-23 Thread Martin v. Loewis
> Thanks Martin. That seems to work. I will file a bug report. Also, can > you describe what the problem was? If you have / as the prefix, you get two leading slashes, e.g. for //lib/python2.x. Any other prefix would have given you only a single slash: e.g. if it had been /usr, then you end up wit

Re: make install DESTDIR

2010-08-23 Thread aj
On Aug 23, 2:23 pm, "Martin v. Loewis" wrote: > > Martin- Asking for help :) > > Ok. Please try the patch below. > > If this works, please make a bug report. > > Regards, > Martin > > Index: Lib/distutils/util.py > === > --- Lib/distu

Re: make install DESTDIR

2010-08-23 Thread Martin v. Loewis
> Martin- Asking for help :) Ok. Please try the patch below. If this works, please make a bug report. Regards, Martin Index: Lib/distutils/util.py === --- Lib/distutils/util.py (Revision 84197) +++ Lib/distutils/util.py

Re: make install DESTDIR

2010-08-23 Thread aj
Thanks for reply Thomas. I am running make install DESTDIR=/home/foo/ bar. Martin- Asking for help :) On Aug 21, 4:43 am, "Martin v. Loewis" wrote: > > The whole point of DESTDIR is that it should be prepended to all > > installed paths, but the binaries should not con

Re: make install DESTDIR

2010-08-21 Thread Martin v. Loewis
> The whole point of DESTDIR is that it should be prepended to all > installed paths, but the binaries should not contain any references to > it.DESTDIR is commonly used by packagers, for example, to allow > installation without superuser privileges. So what is the point of your messages? Do you w

Re: make install DESTDIR

2010-08-21 Thread Thomas Jollans
On Saturday 21 August 2010, it occurred to aj to exclaim: > On Aug 20, 4:39 pm, Thomas Jollans wrote: > > On Saturday 21 August 2010, it occurred to aj to exclaim: > > > I am trying to install python with make install DESTDIR=/home/blah > > > >

Re: make install DESTDIR

2010-08-20 Thread aj
On Aug 20, 4:39 pm, Thomas Jollans wrote: > 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 > &g

Re: make install DESTDIR

2010-08-20 Thread Thomas Jollans
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:

make install DESTDIR

2010-08-20 Thread aj
I am trying to install python with make install DESTDIR=/home/blah ./python -E ./setup.py install \ --prefix=/ \ --install-scripts=//bin \ --install-platlib=//lib/python2.6/lib-dynload \ --root=//home/blah running install running