[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#5316: msqlperl installs into /usr/local



-----BEGIN PGP SIGNED MESSAGE-----

Christoph Lameter, in an immanent manifestation of deity, wrote:
>adbbs also installs files in /usr/local/lib/site_perl. Is there any way
>around this? I noticed that adbbs uses a standard perl module to

Well, if you're using MakeMaker (and it sounds like you are), you can
just say:
perl Makefile.PL INSTALLDIRS=perl

This will build the Makefile with the install target set up for
/usr/lib/perl5/...

You should use pure_install as your install target so that MakeMaker
(Makefile) doesn't try to write to perllocal.pod.  This documents what
modules have been installed locally...  Since you are building a
package, you should of course also set PREFIX to $(pwd)/debian/tmp/usr.

So, the full install line in the Makefile would be:
make PREFIX=$(pwd)/debian/tmp/usr pure_install

Darren
- -- 
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Do you have your clothes on? I probably don't. Take yours off. Feel better. @
@ Sysadmin, webweaver, postmaster for hire.  C/Perl/CGI programmer and tutor. @

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMoOCE44wrq++1Ls5AQGr9AQApPksEz2foW6rwrBOwNf+qxoim/z5SP7n
yrBpzfNesWvjpDUGRT676O51AQvJXKdh3u2jV5cor2XMI7Zw3V6a50eGIoi9XbfS
gc2hYLLBZ1XI0UPLhOy41CIps2WPeCmyxL3ntNdW5u5x+6IkdKkSOLKGIZlXR9Tm
EGxzni0twGQ=
=3cmv
-----END PGP SIGNATURE-----

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: