Can we get this Mac OS X native jbigi library incorporated in to
future Freenet releases?
I've been running Freenet on Mac OS X for about two years now. It
usually runs for 2 to 7 days before it grinds to a halt with either
an out of memory error or some kind of error in the "abstractor loop".
Having better performance while Freenet is up would be great. Fixing
the above errors would also be nice.
Thanks,
Paul
Squished Squirrel <[EMAIL PROTECTED]> writes:
Matthew Toseland <toad <at> ...> writes:
>
> Cool. What code changes?
>
I added a couple case statements to NativeBigInteger.java, similar to those
suggested by Josh Watzman earlier this month. I think his diff also added
support for loading an external jbigi library without having to rebuild the
freenet-ext.jar file. My changes only work if the library is put
into the jar.
I'm *assuming* that his code changes result in a requested library name
of "libjbigi-osx-none.jnilib". I don't know for sure, since I found his diff
after I had already made my changes.
I used the jbigi source from i2p since the build scripts for it had already
been modified to support OSX. The resulting file was libjbigi.jnilib, which
just needed to be renamed to "libjbigi-osx-none.jnilib" and inserted into
freenet-ext.jar.
The i2p_0_6_0_6 source builds the jbigi library static, so I'm hoping that
it will run fine on a Mac that doesn't have gmp installed. Someone else
said they had managed to build the library on the Mac, but their library was
dynamic and would only run on a Mac with gmp already installed (or
something to that effect.)
After the osx jbigi library is inserted in to the freenet-ext.jar, I dropped
that into the lib folder of the current stable source and built the project
using ant.
I won't discuss how many wrong turns I made on the way
And the result on starting freenet...
INFO: Non-optimized native BigInteger library
'net/i2p/util/libjbigi-osx-none.jnilib' loaded from resource
_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]