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

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



On Thu, 7 Nov 1996, Brian C. White wrote:

bcwhite >> bcwhite >/usr/local/lib
bcwhite >> bcwhite >/usr/local/lib/site_perl
bcwhite >> bcwhite >/usr/local/lib/site_perl/i486-linux
bcwhite >> bcwhite >/usr/local/lib/site_perl/i486-linux/auto
bcwhite >> bcwhite >/usr/local/lib/site_perl/i486-linux/auto/Msql
bcwhite >> bcwhite >/usr/local/lib/site_perl/i486-linux/auto/Msql/Msql.so
bcwhite >> bcwhite >/usr/local/lib/site_perl/i486-linux/auto/Msql/Msql.bs
bcwhite >> bcwhite >/usr/local/lib/site_perl/i486-linux/auto/Msql/.packlist
bcwhite >> bcwhite >/usr/local/lib/site_perl/auto
bcwhite >> bcwhite >/usr/local/lib/site_perl/auto/Msql
bcwhite >> bcwhite >/usr/local/lib/site_perl/auto/Msql/autosplit.ix
bcwhite >> bcwhite >/usr/local/lib/site_perl/Msql
bcwhite >> bcwhite >/usr/local/lib/site_perl/Msql/Statement.pm
bcwhite >> bcwhite >/usr/local/lib/site_perl/Msql.pm
bcwhite >> 
bcwhite >> adbbs also installs files in /usr/local/lib/site_perl. Is there any way
bcwhite >> around this? I noticed that adbbs uses a standard perl module to
bcwhite >> install itself and that standard perl module forced the results (an
bcwhite >> binary program to be called from perl) to be
bcwhite >> installed in /usr/local.
bcwhite >
bcwhite >When compiling Ferret, I have a line like this in "debian/rules":
bcwhite >
bcwhite >	umask 022; make VERBINST=0 PREFIX=$(DEBIAN)/usr install_perl
bcwhite >
bcwhite >This puts it in the correct place.  "$(DEBIAN)" is fully qualified, but
bcwhite >I don't remember if this is strictly necessary or not.

The strange part is the Makefile generator in PERL that
depends on some standard module. No idea how to handle the "MakeMaker"
module. Here is the beginning of that piece:

# Term::ReadKey Makefile.PL Version 2.05

use ExtUtils::MakeMaker;
use Carp;

if( $ExtUtils::MakeMaker::Version < 3.5 ) {
        croak("Sorry, but MakeMaker 3.5 or better is needed to build this
package.");
}

#$Verbose = 0;
&WriteMakefile(
        NAME => "Term::ReadKey",
        DISTNAME => "TermReadKey",
        VERSION => "2.05",
        PM => { "ReadKey.pm" => '$(INST_LIBDIR)/ReadKey.pm'},

# Uncomment these to allow testing of sgtty under Linux. Not needed

...

--- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ ---
PGP Public Key  =  FB 9B 31 21 04 1E 3A 33  C7 62 2F C0 CD 81 CA B5 

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