== Quote from Iain Buclaw (ibuc...@ubuntu.com)'s article > == Quote from Johannes Pfau (s...@example.com)'s article > > dsimcha wrote: > > >Is there an easy way to compile and install GDC + Phobos, druntime and > > >a few custom libraries to your home directory on a machine that you > > >don't have root access to? > > I think you could just change the "--prefix=/opt/gdc" to > > "--prefix=/home/dsimcha/gdc" and it should work. > > Or you could use --prefix="/usr" and 'DESTDIR="/home/dsimcha" make > > install', I never understood the difference between prefix and DESTDIR. > --prefix is hard coded into the application, DESTDIR is post installation > (make > installs ie: gdc to $(DESTDIR)$(prefix)/bin). > If installing in your home directory, you can get away with configuring with > --prefix=/gdc and installing with DESTDIR=$HOME/apps - alter as needed. > Regards > Iain
Works great, thanks.