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

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



Ok. It seems to do it. I had almost the same line but used the target
"install" instead of "install_perl". The $(DEBIAN) must be fully qualified
BTW.

I am still not very satisfied with the strange version number 5.00307 that
appears in the files:

drwxr-xr-x root/root         0 Nov  7 15:27 1996 usr/lib/perl5/
drwxr-xr-x root/root         0 Nov  7 15:27 1996 usr/lib/perl5/i386-linux/
drwxr-xr-x root/root         0 Nov  7 15:27 1996 
usr/lib/perl5/i386-linux/5.00307/
drwxr-xr-x root/root         0 Nov  7 15:27 1996
usr/lib/perl5/i386-linux/5.00307/auto/
drwxr-xr-x root/root         0 Nov  7 15:27 1996
usr/lib/perl5/i386-linux/5.00307/auto/Term/
drwxr-xr-x root/root         0 Nov  7 15:27 1996
usr/lib/perl5/i386-linux/5.00307/auto/Term/ReadKey/
-r-xr-xr-x root/root     18028 Nov  7 15:27 1996
usr/lib/perl5/i386-linux/5.00307/auto/Term/ReadKey/ReadKey.so
-r--r--r-- root/root         0 Nov  7 15:27 1996
usr/lib/perl5/i386-linux/5.00307/auto/Term/ReadKey/ReadKey.bs
-rw-r--r-- root/root       480 Nov  7 15:27 1996
usr/lib/perl5/i386-linux/5.00307/auto/Term/ReadKey/.packlist
-rw-r--r-- root/root       251 Nov  7 15:27 1996
usr/lib/perl5/i386-linux/5.00307/perllocal.pod
-rw-r--r-- root/root       924 Nov  7 15:27 1996 usr/lib/perl5/ansi.ph
-rw-r--r-- root/root      6928 Nov  7 15:27 1996 usr/lib/perl5/bbs-lib.pl
-rw-r--r-- root/root      4528 Nov  7 15:27 1996 usr/lib/perl5/fbase.ph
-rw-r--r-- root/root      2178 Nov  7 15:27 1996 usr/lib/perl5/fsearch.ph
drwxr-xr-x root/root         0 Nov  7 15:27 1996 usr/lib/perl5/Term/
-r--r--r-- root/root     12509 Mar 12 16:07 1996
usr/lib/perl5/Term/ReadKey.pm
drwxr-xr-x root/root         0 Nov  7 15:27 1996 usr/lib/perl5/auto/
drwxr-xr-x root/root         0 Nov  7 15:27 1996 usr/lib/perl5/auto/Term/
drwxr-xr-x root/root         0 Nov  7 15:27 1996
usr/lib/perl5/auto/Term/ReadKey/
-r--r--r-- root/root       111 Nov  7 15:27 1996
usr/lib/perl5/auto/Term/ReadKey/autosplit.ix

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

bcwhite >> bcwhite >When compiling Ferret, I have a line like this in "debian/rules":
bcwhite >> bcwhite >
bcwhite >> bcwhite >       umask 022; make VERBINST=0 PREFIX=$(DEBIAN)/usr install_perl
bcwhite >> bcwhite >
bcwhite >> bcwhite >This puts it in the correct place.  "$(DEBIAN)" is fully qualified, but
bcwhite >> bcwhite >I don't remember if this is strictly necessary or not.
bcwhite >> 
bcwhite >> The strange part is the Makefile generator in PERL that
bcwhite >> depends on some standard module. No idea how to handle the "MakeMaker"
bcwhite >> module. Here is the beginning of that piece:
bcwhite >
bcwhite >You don't actually have to.  "MakeMaker" generates a makefile and then
bcwhite >that is the only thing you have to deal with.  If you look through it,
bcwhite >you'll find an rule for "install_perl" that places binaries (such as
bcwhite >Ferret or Msql) in the write sub-dir.  Setting the PREFIX just puts it
bcwhite >in "debian/tmp/usr" instead of "/usr".  The "VERBINST" setting was just
bcwhite >a personal preference.

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