DESTDIR doesn't propagate in makefiles?

Ian Delahorne ian at stacken.kth.se
Thu Nov 25 17:10:53 EST 2004


I'm trying to build cyrus imapd 2.2.10 in our solaris
environment. It's going to be copied into /opt/standalone via package,
but it needs to be installed in AFS. Therefore, I told cyrus
`./configure --prefix=/opt/standalone' and said `make
DESTDIR=/afs/stacken.kth.se/... install'.

Unfortunately, this doesn't play nicely with the Perl libs:

$ make DESTDIR=/afs/.stacken.kth.se/sun4x_59 install
Warning: You do not have permissions to install into /opt/standalone/lib/site_perl/5.8.0/sparc-solaris2.9-thread-multi at /mpkg/perl/5.8.0/lib/5.8.0/ExtUtils/Install.pm line 84.
Cannot forceunlink /opt/standalone/lib/site_perl/5.8.0/sparc-solaris2.9-thread-multi/auto/Cyrus/IMAP/IMAP.so: Permission denied at /mpkg/perl/5.8.0/lib/5.8.0/File/Find.pm line 849
make: *** [pure_site_install] Error 255
$ 

Anybody else having this problem? Other ways to do this?
-- 
/Ian D, Stacken
ian at stacken.kth.se
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list