>>>>> "Mark" == Mark Fowler <[EMAIL PROTECTED]> writes:

Mark> Now onto the question...I'm trying to get it to install onto a Mac OS X
Mark> box.  Now, as far as I understand it that (at least with the developer
Mark> tools installed) these have a jdk installed...but it's not in a single
Mark> directory.  'java' and 'javac' are just in /usr/bin...

Mark> The Makefile.PL's not really set up for this.  What should I do?  I can
Mark> probably manually hack the Makefile.PL, but this doesn't seem like a long
Mark> term solution.

    cpan> install Inline
    cpan> look Inline::Java
    $ perl Makefile.PL J2SDK=/usr
    [answer "no" to building JNI]
    $ make java
    $ make
    $ make test
    [all tests pass]
    $ make install
    $ exit
    cpan> exit

Seems to work fine.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <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!

Reply via email to