On Wednesday, February 20, 2013 8:30:34 PM UTC, Jason Zhang wrote:
Hi Joao,
I am using unison all the time for my backups. However, I can't find one under alt-f.
ah, unison, excellent program, I used it for years,and I found no replacement for it.
So I have to do a remote NFS to export my nas-323 share to a Debian machine and run unison on Debian. However, this is really slow since unison has to transfer the files over the network just to check if it has been modified. I have a lot of huge files which seldom change, and it just waste time to transfer them over the network for modification checking.
Is it possible to have a version of unison running on alt-f?
Not currently.
Unison is written in Caml and needs the camlc compiler. As most compilers, ocamlc compiles itself, so cross-compiling is generally a pain (you have to compile a compiler that runs on the host cpu but that generates code to be executed in the target cpu)
The best is for you to fill in an issue request, so I will not forget it. You can help if you research for cross-compiling patches.
I have unison v2.32.52-1 on Debian. Is it possible that I can compile my version of unison on alt-f?
Yes, but it is a pain, as you have to compile it in the box -- you need to install the dev-bundle and make packages in the box, then recursively compile everything that unison needs (Caml is the first and most important dependency)
Someone who wanted eMule (that I think that also needs Ocaml) did that.
Thanks,
Jason
---------------------------------------------------------
Where can I fill an issue request?
I have found this guy using a Ocaml patch and cross compile successfully.
http://www.cs.cmu.edu/~ecc/ocaml-cross-compiler.htmlI have no experience of cross compiling. I was trying to use this wiki for the toolchain:
http://dns323.kood.org/howto:crosscompileBut I failed to compile ocaml with armv5l-gcc errors.
There is another one compile unison natively on dns-323:
http://forum.dsmg600.info/viewtopic.php?id=2813I followed the instruction, but could not even get the configure running correctly.
Jason
---------------------------------------------------------
On Thursday, February 21, 2013 3:32:02 AM UTC, Jason Zhang wrote:
Where can I fill an issue request?
This issue is not high in my priority list (as if I had one)...
Thanks for this. Please add the link in the issue request.
Logs are necessary when reporting, "does not works" is useless... :-)
Have you installed the "dev-bundle" (binutils, gcc and base system header files) and the "make" Alt-F packages?
---------------------------------------------------------
Since it is hard to compile unison locally. Is there any alternative way to use already built unison package under Alt-f?
The way I can think of:
(1) Can we just use Debian's Armel package and install inside of Alt-f?
(2) I was trying to install Debian Squeeze under Alt-f but could not find any instructions. The information that I can find was two years ago posted by dhub, however, his site which hosted his packages was down, so I don't know where to find a proper Debian package to install.
(3) I also have tried to put Debian Squeeze package that was posted for NAS-320, unzip to /mnt/sda2/,
export debdir=/mnt/sda2/squeeze
and then run
/usr/sbin/debian -chroot
I can get into debian environment, using apt-get to install packages. However, I could not get the sshd running under debian.
I guess there is already running sshd under alt-f, so I can't start another service?
Thanks,
Jason