Re: declarative dependencies

2009-02-02 Thread Eric Wilhelm
# from David E. Wheeler # on Monday 02 February 2009 13:01: >> Because I want to be able to build a PAR/exe/whatever for more than >> one platform from a single system.  I could "just" jump through a >> bunch of hoops trying to automate it with ssh, but I've done that >> already and it wasn't fun.

Re: declarative dependencies

2009-02-02 Thread David E. Wheeler
On Feb 2, 2009, at 10:10 AM, Eric Wilhelm wrote: Because I want to be able to build a PAR/exe/whatever for more than one platform from a single system. I could "just" jump through a bunch of hoops trying to automate it with ssh, but I've done that already and it wasn't fun. I think you m

Re: declarative dependencies

2009-02-02 Thread Eric Wilhelm
# from David E. Wheeler # on Monday 02 February 2009 09:26: >>But, if I wanted to determine the win32 >> dependencies from Linux (for e.g. bundled packaging from a single   >> build >> machine), I would have to set $^O to get the right answer -- and >> that might have undesired side-effects. > >Wh

Re: declarative dependencies

2009-02-02 Thread David E. Wheeler
On Feb 1, 2009, at 5:53 PM, Adam Kennedy wrote: The problem here is defining an "environment"... The only two big use cases as for doing arch-level alternate deps (which is a mixture of looking for MSWin32 or (MSWin32||cygwin) and looking for libraries (all those XS modules). The number of thi

Re: declarative dependencies

2009-02-02 Thread David E. Wheeler
On Feb 1, 2009, at 12:35 PM, Eric Wilhelm wrote: So, arbitrary code would check $^O eq 'MSWin32', or possibly something silly like "-d 'c:\\progra~1'" and yield the desired answer on the target environment. But, if I wanted to determine the win32 dependencies from Linux (for e.g. bundled packag

Re: declarative dependencies

2009-02-01 Thread Adam Kennedy
The problem here is defining an "environment"... The only two big use cases as for doing arch-level alternate deps (which is a mixture of looking for MSWin32 or (MSWin32||cygwin) and looking for libraries (all those XS modules). The number of things you have to know about the target environment j

Re: declarative dependencies

2009-02-01 Thread Eric Wilhelm
# from David E. Wheeler # on Thursday 29 January 2009 15:06: >As I said in my previous email, if I'm installing your code, I'm going >   to be running it, anyway. So why can't the build script be written > in Perl? Well, that's the wrong argument. Sure, running arbitrary code requires more trus