Last change
on this file since db34665 was
c68977ca,
checked in by zzz <zzz@…>, 13 years ago
|
- i2ptunnel: Add 3-hop option to edit.jsp to match configtunnels.jsp
- i2psnark: Remove orion and gaytorrents from default tracker list
- Remove orion from jump list and from eepsite_index.html
- Jbigi: Change jbigi version to 4.2.2 in build scripts - tested by amiga
- Capitalize OutboundMessageDistributor? job name
- TunnelPool?: Add a warning if all tunnels are backlogged
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | Prior to building the jbigi library, you will need to fetch the GMP source |
---|
2 | from http://www.swox.com/gmp/, saving it to jbigi/gmp-4.2.2.tar.bz2 (it will |
---|
3 | be unpacked and built as necessary). |
---|
4 | |
---|
5 | Version 4.2.2 has not been extensively tested with I2P. If you would like |
---|
6 | to use a well-tested version, get gmp-4.1.4.tar.bz2, and edit jbigi/build.sh |
---|
7 | to change the version number. |
---|
8 | |
---|
9 | To build the native jbigi and jcpuid libraries for the current host CPU, |
---|
10 | simply run sh build.sh and the results will be packaged up into jbigi.jar |
---|
11 | and the libjbigi.so library. To test, copy jbigi/lib/libjbigi.so |
---|
12 | and jcpuid/lib/freenet/support/CPUInformation/libjcpuid-*.so |
---|
13 | to your i2p/ directory. You can also copy jbigi.jar to the i2p/lib/ directory; |
---|
14 | it will be used only if the router fails to load the native library. |
---|
15 | |
---|
16 | To build the native jbigi libraries for all supported CPUs (on the current OS), |
---|
17 | go into jbigi/ and run build-all.sh (the results will be under jbigi/lib/) |
---|
18 | |
---|
19 | After copying the files to the i2p/ directory, |
---|
20 | to run a speed test comparing the native library to the java library, |
---|
21 | run the shell script below. |
---|
22 | |
---|
23 | ----------------- |
---|
24 | |
---|
25 | #!/bin/sh |
---|
26 | export I2P=~/i2p |
---|
27 | java -cp $I2P/lib/i2p.jar:$I2P/lib/jbigi.jar net.i2p.util.NativeBigInteger |
---|
Note: See
TracBrowser
for help on using the repository browser.