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

Re: Problem building new perl-tk for unstable.

On Aug 1, Rob Browning wrote
> I used to be able to do the following to trick perl into setting things up
> to run from "/usr", but actually installing in debian/tmp/usr:
> 	perl Makefile.PL INSTALLDIRS=perl
> 	$(MAKE)
> would handle the build, and
> 	make PREFIX=`pwd`/debian/tmp/usr install
> would put everything under debian/tmp/usr
> This no longer works.  Some of it does, but PREFIX is ignored for at least
> manpages.  Is this a broken behavior in perl's installer, or is there some
> other incantation I should be using?

There is no law (or even custom) that says that Makefiles should use PREFIX
for this. There appears to be concensus that "install" targets should 
only install files (not building anything) and that it should be possible to
install into another location than the one the build was configured for,
for example through PREFIX.
If perl-Tk honours PREFIX only part of the time, it could be a misfeature.
You should check the Makefile to be sure though. E.g., it could be using
MANPREFIX for the manpages.

If you are unsure on how to fix this problem, contact the upstream author
and explain what (you're trying to install into a different directory) and
why (to build packages for a distribution), and ask him/her how (s)he thinks
you should do that.

J.H.M. Dassen                 | RUMOUR  Believe all you hear. Your world may  
jdassen@wi.LeidenUniv.nl      | not be a better one than the one the blocks   
                              | live in but it'll be a sight more vivid.      
                              |     - The Hipcrime Vocab by Chad C. Mulligan  

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: