----- Original Message ----- 
From: "Alan Campbell" <[EMAIL PROTECTED]>
To: <inline@perl.org>
Sent: Tuesday, October 17, 2006 6:10 AM
Subject: simplified Inline::Java install?


> In coming months I'd like to deploy a solution for N>50 users, some of
which simply want to use the solution, and are neither perl nor java
experts. Hence would like to have a simpler install.
> The prerequisite Inline module is simple since 'ppm install Inline'
suffices (we assume a perl dist + HTTP_PROXY setup etc).
> But Inline::Java requires: -
>   % perl Makefile.PL J2SDK=/your/java/dir
>   % make java
>   % make
>   % make test
>   % make install
>
> ..and most of our customers are on windows hence they'd also need to
download nmake 1.5 for install to succeed.

They'd also need a C compiler (which most of them probably won't have) to
handle the XS components - JNI.xs, PerlInterpreter.xs and PerlNatives.xs.

>
> Of course we could supply Java Inline module directly but would rather not
(versioning etc).

Does that last condition mean that having the windows customers do a 'ppm
install http://theoryx5.uwinnipeg.ca/ppms/Inline-Java.ppd' (which would
install Inline::Java-0.51on perl 5.8) is out of the question ?
Or even distribute that ppm package so that Inline::Java-0.51 can be
installed via a local 'ppm install'. Either way, there at least would then
be no need for 'nmake' or the C compiler. (I'm assuming that a C compiler is
not needed to *run* Inline-Java scripts. I think that's the case, but I'm
not very familiar with the way Inline-Java works.)

And you would also want to ensure that the ppm package worked correctly
*irrespective* of the J2SDK location on the customer's machine.

Anyway - basically just wanted to make you aware of the existence of that
package in case you can make good use of it.

Cheers,
Rob



Reply via email to