Has anyone successfully compiled jpl (java perl lingo) on osx? I can get through most of the compile, but then I get the following error:
--- lots of compile stuff snipped ---
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
+ perl Makefile.PL
Writing Makefile <font color = green>for</font> JNI
+ make
cp JNI.pm blib/lib/JNI.pm
AutoSplitting blib/lib/JNI.pm (blib/lib/<font color = green>auto</font>/JNI)
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap -typemap typemap JNI.xs > JNI.xsc && mv JNI.xsc JNI.c
cc -c -I/usr/include -I/usr/include/darwin -I/usr/include/genunix -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -DEMBEDDEDPERL -O3 -DVERSION=\<font color = red>"<font color = blue>0.01</font>\"</font> -DXS_VERSION=\<font color = red>"<font color = blue>0.01</font>\"</font> -I/System/Library/Perl/darwin/CORE JNI.c
JNI.xs: In function `XS_JNI_GetJavaVM':
JNI.xs:<font color = blue>4088</font>: warning: passing arg <font color = blue>2</font> of `JNI_CreateJavaVM' from incompatible pointer type
Running Mkbootstrap <font color = green>for</font> JNI ()
chmod <font color = blue>644</font> JNI.bs
rm -f blib/arch/<font color = green>auto</font>/JNI/JNI.bundle
LD_RUN_PATH=<font color = red>"/System/Library/Perl/darwin/CORE:/usr/local/jpl/lib/darwin"</font> cc -bundle -undefined suppress -L/usr/local/lib JNI.o -o blib/arch/<font color = green>auto</font>/JNI/JNI.bundle -L/usr/local/jpl/lib/darwin -L/System/Library/Perl/darwin/CORE -lperl -lPerlInterpreter
/usr/bin/ld: /usr/local/jpl/lib/darwin/libPerlInterpreter.dylib is input <font color = green>for</font> the dynamic link editor, is not relocatable by the <font color = green>static</font> link editor again
make: *** [blib/arch/<font color = green>auto</font>/JNI/JNI.bundle] Error <font color = blue>1</font>
</font>[/code]
Any help would be greatly appreciated - I'm trying to use perl and java for my master's project (perl for all the string and database manipulation, java for the aqua interface) and I need to get this to work so I can glue them together!
Thanks in advance!
Sarah