5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Installing in a d...
FromSent OnAttachments
Jean-Rene CormierSep 23, 2002 6:49 am 
Peer Oliver SchmidtSep 23, 2002 11:50 am 
Peter C. NortonSep 23, 2002 11:54 am 
Jean-Rene CormierSep 23, 2002 11:55 am 
Sam VarshavchikSep 23, 2002 2:45 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Installing in a different directoryActions...
From:Peer Oliver Schmidt (po@theinternet.de)
Date:Sep 23, 2002 11:50:41 am
List:net.sourceforge.lists.courier-users

Jean-Rene Cormier writes:

I'm trying to compile Courier-IMAP and install it in a temp directory somewhere else on the system so I can just pack it up and copy it on another system. But if I use prefix=/temp/dir in the ./configure when I install it on another system it looks for files installed in /temp/dir.

According to INSTALL, keep your prefix as it should be on the final system. And,
to paste the INSTALL text, DESTDIR is your friend on your test system:

Installation su yourself to root, if you want to do a live install, then run make install or
make install-strip to install Courier. If you use the GNU version of make, and you
would like to see which files Courier installs and where, don't su yourself to root,
but set the make variable named DESTDIR. For example:

make install DESTDIR=/var/tmp/courier-inst

The contents of DESTDIR are prepended to the name of every file installed, so if
-- prefix was set to /usr/lib/courier, the files will be installed in
/var/tmp/courier- inst/usr/lib/courier. This only works if you use GNU make.