Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I decided to build Unison on the weekend, and decided to document the process as I went. Before you start you'll need the following packages: binutils, gcc, kernel-headers, make, uclibc
The first step is to build Ocaml from source:
./configure -bindir /ffp/bin -libdir /ffp/lib/ocaml -mandir /ffp/share/man/man1 make world > log.world 2>&1 make opt > log.opt 2>&1 make install
Next, download the source for Unison, then set a temp directory:
export TMPDIR=/ffp/tmp
If the TMPDIR environment variable isn't set, the build will attempt to write to /tmp, and fail due to lack of space. (Come to think of it, is there a /ffp/tmp by default? If there isn't, just point it at any directory you want.)
make NATIVE=false UISTYLE=text
The make will fail at etags, as far as I can tell it isn't required for unison to build. Google unison etags and you'll find other references to ignoring it.
You should now be able to conduct a self test on Unison with the following command:
./unison -selftest
Offline
Thank you very much Luthair for this script.
I tried to compile unison with the ocaml compiler from the "optware", but ocamlopt was missing, so the compilation failed.
I then gave up, as I didn't want to go in the hassle of compiling ocaml from sources, but with the steps detailed it is actually quite simple.
The generated unison binary is there:
http://perso.club-internet.fr/fcd_g/unison-2.27.57.tgz
Binary only, no man -- the program is self-documented with -help or -doc options. tgz file contains ./ffp/bin/unison, so it should be compatible with funpkg, if anyons interested to add it to Fonz packages.
Offline
If the build option of unison is "NATIVE=false", you're actually NOT using ocamlopt, the resulted unison is a bytecode version.
In that case, optware ocaml works just as well, if you have a native gcc.
If ocamlopt is working, you really should use "NATIVE=true".
Offline
The build will fail with NATIVE=true, the error is something about a library using hardware FP , whereas another library uses software FP. The same error happens when attempting to build opt.opt
I wasn't able to find much information on the error /shrug
Offline