Re: [freenet-support] Native FEC support
On Thu, Jan 30, 2003 at 12:04:38PM -0500, Gianni Johansson spake thusly: > The Nubile info on Native FEC support is completly obsolete. > > Look here instead: > >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/freenet/Contrib/fecimpl/onion/README?rev=HEAD&content-type=text/vnd.viewcvs-markup > > The zip file that the readme refers to is in CVS (in the Contrib module, > *not* the main freenet module). > > You can access it on the web here: > > >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/freenet/Contrib/fecimpl/onion/alien/fec-1.0.3.zip > > (Do a "Save link as..." on the "(download)" link from your browser) I've got fec-1.0.3.zip and I have unpacked it. I read the first link you posted but it is far from clear. It says: >Install the correct native libraries and JNI support jars >for your system. > >The plugin implementations will automatically use the native >libraries if they are present. Well, that sounds easy. But install the correct native libraries where? And which of the many files in that zipfile are the correct native libraries? Just for kicks I copied *.jar from /lib into the freenet dir and restarted fred and still got the "Unable to find native library" messages. What did I miss? -- Tracy Reed http://www.ultraviolet.org msg02764/pgp0.pgp Description: PGP signature
Re: [freenet-support] Native FEC support
On Thu, Jan 30, 2003 at 11:54:02AM +0100, Niklas Bergh spake thusly: > Do you get this immediately when you start up really? It looks like it > should be the result of a request? Actually, it is the result of a request. I've got frost running and uploading constantly so as soon as frost was able to reconnect to freenet it started uploading stuff to be encoded. > Is this during startup or when you try to fetch a fec encoded file? When I try to upload a file to fred for encoding. -- Tracy Reed http://www.ultraviolet.org msg02752/pgp0.pgp Description: PGP signature
[freenet-support] Native FEC support
I noticed that some people on the support list are struggling with Native FEC support. The Nubile info on Native FEC support is completly obsolete. Look here instead: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/freenet/Contrib/fecimpl/onion/README?rev=HEAD&content-type=text/vnd.viewcvs-markup The zip file that the readme refers to is in CVS (in the Contrib module, *not* the main freenet module). You can access it on the web here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/freenet/Contrib/fecimpl/onion/alien/fec-1.0.3.zip (Do a "Save link as..." on the "(download)" link from your browser) I didn't deploy native FEC support by default because I didn't want to deal with the per platform configuration issues. The instructions in the file given above are geared toward people who already know about JNI libraries. If someone out there wants to write per platform (*nix, Windows) end user install doc, suitable for inclusion in the generic Freenet README, that would be a valuable contribution to the project. -- gj ___ support mailing list [EMAIL PROTECTED] http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support
RE: [freenet-support] Native FEC support
>But when I start up freenet I get this: > >java.io.IOException: Couldn't get FECEncoder: OnionFEC_a_1_2 > at freenet.client.FECTools.getEncoder(FECTools.java:643) > at freenet.client.FECTools.segmentFile(FECTools.java:166) > at >freenet.node.states.FCP.NewFECSegmentFile.received(NewFECSegmentFile.ja va:24) > at freenet.node.StateChain.received(StateChain.java:161) > at freenet.node.StateChain.received(StateChain.java:52) > at >freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.j ava:212) > at >freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHand ler.java:159) > at >freenet.node.StandardMessageHandler$Ticket.access$0(StandardMessageHand ler.java) > at >freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java: 68) > at freenet.Ticker$Event.run(Ticker.java:214) > at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:212) Do you get this immediately when you start up really? It looks like it should be the result of a request? >Jan 29, 2003 10:55:51 PM (freenet.client.FECFactory, main): Couldn't load >class: NativeOnionFECEncoder. >Jan 29, 2003 10:55:51 PM (freenet.client.FECFactory, main): Couldn't load >class: NativeOnionFECDecoder. Is this during startup or when you try to fetch a fec encoded file? /N ___ support mailing list [EMAIL PROTECTED] http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support
Re: [freenet-support] Native FEC support
On Wed, Jan 29, 2003 at 02:11:55PM +0100, Stef spake thusly: > Am 29.01.2003 12:22:05, schrieb "Niklas Bergh" <[EMAIL PROTECTED]>: > > >This just appeared in my console: > >Unable to find native library for fec8 > >Unable to find native library for fec16 > > AFAIK you can find something on the Nubile-freesite, but it's perhaps outdated. > (I never used this native code) I have been trying for ages to get native FEC to work. Thanks for the pointer to the Nubile website. It is the ONLY place on the entire net that I have been able to find that actually documents how to set up native FEC! I have copied fec-linux-x86.jar into the freenet dir, changed the CLASSPATH, and set the freenet.conf as specified: # Default FEC encoder implementation. FEC.Encoders.0.class=NativeOnionFECEncoder # Default FEC decoder implementation. FEC.Decoders.0.class=NativeOnionFECDecoder But when I start up freenet I get this: java.io.IOException: Couldn't get FECEncoder: OnionFEC_a_1_2 at freenet.client.FECTools.getEncoder(FECTools.java:643) at freenet.client.FECTools.segmentFile(FECTools.java:166) at freenet.node.states.FCP.NewFECSegmentFile.received(NewFECSegmentFile.java:24) at freenet.node.StateChain.received(StateChain.java:161) at freenet.node.StateChain.received(StateChain.java:52) at freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.java:212) at freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHandler.java:159) at freenet.node.StandardMessageHandler$Ticket.access$0(StandardMessageHandler.java) at freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:68) at freenet.Ticker$Event.run(Ticker.java:214) at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:212) I have installed FEC 1.0.3. Does OnionFEC_a_1_2 indicate that it is looking for 1.0.2? I can't find 1.0.2 for download on the onion website anymore. It used to be in /fec/fec-1.0.2.zip as specified by the Nubile page but no longer. Ah-ha...I found it in /developers/fec-1.0.2.zip. I replaced the 1.0.3 fec-linux-x86.jar with the one from 1.0.2 and this appears on the console: Jan 29, 2003 10:55:51 PM (freenet.client.FECFactory, main): Couldn't load class: NativeOnionFECEncoder. Jan 29, 2003 10:55:51 PM (freenet.client.FECFactory, main): Couldn't load class: NativeOnionFECDecoder. This is driving me crazy. Any hints? -- Tracy Reed http://www.ultraviolet.org msg02733/pgp0.pgp Description: PGP signature
Re: [freenet-support] Native FEC support
Am 29.01.2003 12:22:05, schrieb "Niklas Bergh" <[EMAIL PROTECTED]>: >This just appeared in my console: > > >C:\Program Files\Freenet 0.5>java -Xmx200m -jar freenet.jar >Sending redirect: /servlet/SFRequest/__ID_626c9c3e_ID__/status_main > >htl: 15 >blockHtl : 15 >retries: 4 >retryHtlIncrement : 5 >healHtl: 15 >healPercentage : 20 >threads: 10 >doParanoidChecks : true >forceSave : true >skipDS : false >useUI : true >runFilter : true >filterParanoidStringCheck : false > >Unable to find native library for fec8 >Unable to find native library for fec16 > > >Should fred be able to find a native library for fec (and if so where)? Fred uses a own library. If you want to use a fast platform specific native implementation, then you have to use the Onion FEC library: http://onionnetworks.com/developers/ AFAIK you can find something on the Nubile-freesite, but it's perhaps outdated. (I never used this native code) >I ran updatesnapshot about 2 hrs ago. It's not a problem in fred builds, this "Unable to find native library for fecX" is a status message; there's nothing wrong. Greetings, Stef > >/N > > >___ >support mailing list >[EMAIL PROTECTED] >http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support > ___ support mailing list [EMAIL PROTECTED] http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support
[freenet-support] Native FEC support
This just appeared in my console: C:\Program Files\Freenet 0.5>java -Xmx200m -jar freenet.jar Sending redirect: /servlet/SFRequest/__ID_626c9c3e_ID__/status_main htl: 15 blockHtl : 15 retries: 4 retryHtlIncrement : 5 healHtl: 15 healPercentage : 20 threads: 10 doParanoidChecks : true forceSave : true skipDS : false useUI : true runFilter : true filterParanoidStringCheck : false Unable to find native library for fec8 Unable to find native library for fec16 Should fred be able to find a native library for fec (and if so where)? I ran updatesnapshot about 2 hrs ago. /N ___ support mailing list [EMAIL PROTECTED] http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support