Cyrus-IMAP perl libs installing in WRONG LOCATION (via PERLPREFIX)

OpenMacNews cyrus-info.20.openmacnews at spamgourmet.com
Tue Nov 2 14:59:06 EST 2004


hi,

i've installed cyrus-imapd-2.2.8 on OSX 10.3.5.

OSX's perl (5.8.5) libs are installed below "/System/Library/Perl/5.8.5"

in the cyrus build, PERLPREFIX = $(PREFIX) ( found in 'perl/imap/Makefile' & 'perl/sieve/managesieve/Makefile' *after* makde depend, make all) defines where the Cyrus Perl libs are installed

however the PERLPREFIX is apparently incorrectly (?) appended to the install prefix.

i.e., if left at default:

        PERLPREFIX = $(PREFIX)

with a configure prefix of /usr/local/cyrus-imap, the libs are incorrectly installed in:

        % ls /usr/local/cyrus-imap/usr/local/cyrus-imap/lib/perl5/site_perl/5.8.5/darwin-thread-multi-2level/
                Cyrus  auto

if, however i change both instances of:

	---	PERLPREFIX = $(PREFIX)
	+++	PERLPREFIX = /

with a configure prefix of /usr/local/cyrus-imap, the libs are installed as:

        % /usr/local/cyrus-imap/lib/perl5/site_perl/5.8.5/darwin-thread-multi-2level/
                Cyrus  auto

which is better, but STILL not where I want them to be: below /System/Library/Perl/5.8.5/...

of course, changing

	---	PERLPREFIX = $(PREFIX)
	+++	PERLPREFIX = /System/Library/Perl/5.8.5/...

will only result in the install of:

        % ls /usr/local/cyrus-imap/System/Library/Perl/5.8.5/.../lib/perl5/site_perl/5.8.5/darwin-thread-multi-2level/
                Cyrus  auto

so, QUESTION:

what/where do i need to CHANGE to get the libs properly installed?

thx,

richard

---
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