[Chicago-talk] Passing args to cpan

Randal L. Schwartz merlyn at stonehenge.com
Sun Jan 18 22:30:21 CST 2004

>>>>> "Jay" == Jay Strauss <me at heyjay.com> writes:

Jay> But when I run:
cpan> install Inline::Java

Jay> I get:
Jay> Welcome to the Inline::Java installation procedure.

Jay> A Java 2 SDK is required to install and use Inline::Java. Please
Jay> specify your Java 2 SDK installation directory using the J2SDK
Jay> option to Makefile.PL as such:

Jay>     perl Makefile.PL J2SDK=/path/to/your/j2sdk/installation
Jay> Running make test
Jay>   Make had some problems, maybe interrupted? Won't test
Jay> Running make install
Jay>   Make had some problems, maybe interrupted? Won't install

Yeah, sucks that some people don't "get it" about Makefile.PL, eh?

Here's how I do that:

cpan> look Inline::Java
... % perl Makefile.PL ....
... % make all test install
... % exit

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

More information about the Chicago-talk mailing list