-----Forwarded Message-----
> From: Brian Ingerson <[EMAIL PROTECTED]>
> To: "Abril, Josep F." <[EMAIL PROTECTED]>
> Cc: Brian Ingerson <[EMAIL PROTECTED]>
> Subject: Re: How to run a module using inline but compiling for different perl
> installs from a shared dir...
> Date: Fri, 14 May 2004 11:21:32 -0700
>
> Josep,
>
> I would forward this to the Inline mailing list. Lots of helpful people
> there.
>
> Cheers, Brian
>
> On 14/05/04 19:19 +0200, Abril, Josep F. wrote:
> > Dear Brian,
> >
> > I've been trying to force a module I've written and that uses Inline, to
> > compile into different subdirectories of a shared path. Imagine you have
> > different perl versions in different machines (that may have different
> > perl or compiler versions), and you would like to have the module
> > compiling in a '.inline/$host' or a '.inline/$perlversion'. Is that
> > possible ?
> > I've made several tests, but it seems not to be able to work with paths
> > that are defined within a variable. Something like this:
> >
> > $MYHOST = defined($ENV{HOST}) ? $ENV{HOST} : "generic";
> > $MYPATH = (defined($ENV{BIN}) ? $ENV{BIN} : ".").'/.inline';
> > ( -e $MYPATH && -d _ ) || mkdir($MYPATH);
> > $MYPATH .= '/'.$MYHOST;
> > ( -e $MYPATH && -d _ ) || mkdir($MYPATH);
> > use Inline ( C => 'DATA',
> > FILTERS => 'Strip_POD',
> > DIRECTORY => $MYPATH,
> > );
> >
> > Do you have any hint to workaround that issue, in order to avoid a
> > single installation per machine.
> >
> > Thanks in advance for your help, best wishes... Josep F.
> >
> > --
> > ---->8----->8----->8----->8----->8----->8----->8----->8----->8----->8----->8----
> > Josep Francesc ABRIL FERRANDO http://genome.imim.es/~jabril/
> > GENOME INFORMATICS LAB / GRIB / IMIM-UPF-CRG
> > Pg. Maritim de la Barceloneta 37-49, Ph: +34 93 2240890
> > 08003 - Barcelona - Catalonia - SPAIN Fax: +34 93 2240875
--
---->8----->8----->8----->8----->8----->8----->8----->8----->8----->8----->8----
Josep Francesc ABRIL FERRANDO http://genome.imim.es/~jabril/
GENOME INFORMATICS LAB / GRIB / IMIM-UPF-CRG
Pg. Maritim de la Barceloneta 37-49, Ph: +34 93 2240890
08003 - Barcelona - Catalonia - SPAIN Fax: +34 93 2240875