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

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

Fix typo (s/stip/strip/), thanks k0e

  • Property mode set to 100644
File size: 609 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 --strip-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.