source: installer/lib/wrapper/freebsd/README.txt @ fa0b7d9a

Last change on this file since fa0b7d9a was 45fb0ad, checked in by kytv <kytv@…>, 9 years ago

Small wrapper-building HOWTO for BSD

  • Property mode set to 100644
File size: 608 bytes
Line 
1Basic instructions for BSD
2--------------------------
3
4Prerequisites for compiling the wrapper can be installed with:
5        pkg_add -r apache-ant gmake openjdk6
6
7One the prereqs are installed, cd into the wrapper source and run
8
9For 32bit:
10        ant -Dbits=32 compile-c-unix
11
12For 64bit:
13        ant -Dbits=64 compile-c-unix
14
15Omit "compile-c-unix" from the command-lines if you want to compile
16wrapper.jar too.
17
18Then strip the binaries:
19        strip --stip-unneeded bin/wrapper lib/libwrapper.so
20
21...and turn off the executable bit:
22        chmod 644 bin/wrapper lib/libwrapper.so
23
24Don't forget to rename the binary "wrapper" to "i2psvc".
Note: See TracBrowser for help on using the repository browser.