Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 4322
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: gml4410 [...] ggr.co.uk
Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: wish: INSTALLDIRS={perl|site|vendor},arch
Dear MakeMaker team, for certain reasons on my local setup here, I'd like to be able to force the installation of a pure-perl module into the architecture-specific directories rather than the usual architecture-independent lib path. One example would be the Inline::CPP module, which is pure perl, but it contains the name of the C++ compiler, which in my case is architecture-dependent (CC on Solaris, g++ on Linux), so I'd like to force Inline::CPP into the architecture specific part of the library structure. One way would be to allow a ",arch" or the like option to the INSTALLDIRS macro for Makefile.PL, like e.g. this: perl Makefile.PL INSTALLDIRS=site,arch Does this make any sense? What do you think? Cheers, Marek
Date: Fri, 7 Nov 2003 06:31:22 -0800
From: Michael G Schwern <schwern [...] pobox.com>
To: via RT <bug-ExtUtils-MakeMaker [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #4322": ;
Subject: Re: [cpan #4322] wish: INSTALLDIRS={perl|site|vendor},arch
RT-Send-Cc:
On Fri, Nov 07, 2003 at 07:44:41AM -0500, via RT wrote: Show quoted text
> for certain reasons on my local setup here, I'd like to be able > to force the installation of a pure-perl module into the > architecture-specific directories rather than the usual > architecture-independent lib path. > One example would be the Inline::CPP module, which is pure perl, > but it contains the name of the C++ compiler, which in my case > is architecture-dependent (CC on Solaris, g++ on Linux), so I'd like > to force Inline::CPP into the architecture specific part of the > library structure. > One way would be to allow a ",arch" or the like option to > the INSTALLDIRS macro for Makefile.PL, like e.g. this: > perl Makefile.PL INSTALLDIRS=site,arch > > Does this make any sense? What do you think?
You could simply set INSTALLSITELIB='$(INSTALLSITEARCH)'. -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern/ There is nothing wrong. We have taken control of this sig file. We will return it to you as soon as you are groovy.
I claim this is obsolete since a workable solution was given when this ten-year-old ticket was new.
Closing ticket as requested.