Take a look at the config.log and try to figure out what is wrong. My guess is that JNI_CreateJavaVM function check has failed for some reason. Check for this line "checking for JNI_CreateJavaVM in -ljvm" and the result of it in your config.log.<br>
<br>Regards<br>Amit<br><div class="gmail_quote">On Sat, Feb 6, 2010 at 10:30 AM, Geoffrey Arnold <span dir="ltr"><<a href="mailto:geoffrey@geoffreyarnold.com">geoffrey@geoffreyarnold.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Florian, any ideas?<br>
<div class="im"><br>
On Feb 4, 2010, at 2:52 PM, Geoffrey Arnold wrote:<br>
<br>
> Message bounced because of attachment size. Here's the bzip'd config.log:<br>
><br>
</div>> <config.log.bz2><br>
<div><div></div><div class="h5">> On Feb 4, 2010, at 2:38 PM, Geoffrey Arnold wrote:<br>
><br>
>> Hi Octo,<br>
>><br>
>> I started fresh and ran collectd-4.9.1/configure with the following options:<br>
>><br>
>> $ export JAVA_CPPFLAGS="-I/Library/Java/Home/include"<br>
>> $ export JAVA_LDFLAGS="-L/Library/Java/Home/bundle/Libraries -Wl,-rpath -Wl,/Library/Java/Home/bundle/Libraries"<br>
>> $ export JAVAC="/Library/Java/Home/bin/javac"<br>
>> $ ./configure --prefix=$HOME/Applications/collectd-4.9.1 --enable-java<br>
>><br>
>> ... and received the same error:<br>
>><br>
>> libjvm . . . . . . . no (libjvm not found)<br>
>> ...<br>
>> configure: error: "Some plugins are missing dependencies - see the summary above for details"<br>
>><br>
>> Attached is config.log.<br>
>><br>
>> Thanks!<br>
>> Geoff.<br>
>><br>
</div></div>>> <config.log><br>
<div class="im">>><br>
>> On Feb 4, 2010, at 3:58 AM, Florian Forster wrote:<br>
>><br>
</div><div class="im">>>> Hi Geoff,<br>
>>><br>
>>> On Wed, Feb 03, 2010 at 05:43:51PM -0500, Geoffrey Arnold wrote:<br>
>>>> I tweaked the configure script to reflect the location of the required<br>
>>>> directories (the issue is that the `find` command used in the<br>
>>>> configure script does not traverse symlinks by default)<br>
>>><br>
>>> Unfortunatly, the option required to follow symbolic links is not<br>
>>> specified by POSIX and failed on some systems, iIrc some BSDs.<br>
>>><br>
>>> But you don't have to edit the configure script to specify the paths<br>
>>> manually. Try this:<br>
>>><br>
</div>>>> JAVA_CPPFLAGS="-I/Library/Java/Home/include" \<br>
>>> JAVA_LDFLAGS="-L/Library/Java/Home/bundle/Libraries -Wl,-rpath -Wl,/Library/Java/Home/bundle/Libraries" \<br>
<div class="im">>>> JAVAC="/Library/Java/Home/bin/javac" \<br>
</div><div class="im">>>> ./configure $MORE_OPTIONS<br>
>>><br>
>>> This way you can manually specify the CPP-, C- and LD-flags used when<br>
>>> compiling the java plugin. It's not nice, but it should work for all<br>
>>> installations of Java.<br>
>>><br>
>>>> I believe that the issue is with finding libjvm.dylib.<br>
>>><br>
>>> Can you provide the "config.log" created by the "configure" script? It<br>
>>> should contain *why* the java plugin was disabled.<br>
>>><br>
>>> Regards,<br>
>>> -octo<br>
>>> --<br>
>>> Florian octo Forster<br>
>>> Hacker in training<br>
>>> GnuPG: 0x91523C3D<br>
>>> <a href="http://verplant.org/" target="_blank">http://verplant.org/</a><br>
>><br>
><br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
</div></div></blockquote></div><br>