[Bucardo-general] Install problems with PREFIX
Don Drake
dondrake at gmail.com
Wed Feb 10 20:29:49 UTC 2010
I'm attempting to install Bucardo using a server that I do not have root
privileges. I was able to install the prerequisite modules using the
PREFIX= option.
When I do the same with Bucardo, the installation of bucardo_ctl seems to
not honor the PREFIX value I pass it.
$ perl Makefile.PL PREFIX=/postgres/zz
Writing Makefile for Bucardo
$ make
Skip blib/lib/Bucardo.pm (unchanged)
cp bucardo_ctl blib/script/bucardo_ctl
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' --
blib/script/bucardo_ctl
Manifying blib/man1/bucardo_ctl.1pm
Manifying blib/man3/Bucardo.3pm
$ make install
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/local/share/bucardo'
mkdir /usr/local/share/bucardo: Permission denied at
/postgres/perl/lib/perl5/5.8.8/ExtUtils/Install.pm line 457
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
make: *** [pure_site_install] Error 13
I took a look at the Makefile that was created and I see that this is using
$DESTDIR, and if I set that with PREFIX, then it duplicates the paths
(/postgres/zz/postgres/zz) for the perl libraries.
Can you offer a fix/work around?
Thanks.
-Don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20100210/bb9ead5a/attachment.html
More information about the Bucardo-general
mailing list