The errors are probably platform deficiencies... We will try to
incorporate support for OS/X though, since we have a patch for it, and
I'm sure Ian can provide an OS/X binary library to incorporate...

On Thu, Sep 29, 2005 at 11:07:57PM -0700, Paul wrote:
> 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 <squished_squirrel at ...> 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
> Support at freenetproject.org
> http://news.gmane.org/gmane.network.freenet.support
> Unsubscribe at 
> http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
> Or mailto:support-request at freenetproject.org?subject=unsubscribe

-- 
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/support/attachments/20050930/a094d19b/attachment.pgp>

Reply via email to