posted on: 2012-07-20 15:21:40
There are a bunch of small patches that need to be done to build unison 2.27 on ubuntu.
>First off after installing the build deps I get this error.
The field `split' is required but not provided The field `choose' is required but not provided The field `max_binding' is required but not provided The field `min_binding' is required but not provided The field `bindings' is required but not provided The field `cardinal' is required but not provided The field `partition' is required but not provided The field `filter' is required but not provided The field `exists' is required but not provided The field `for_all' is required but not provided The field `merge' is required but not provided The field `singleton' is required but not provided make: *** [update.cmx] Error 2
This was fixed by patching the file update.mli
---module NameMap : Map.S with type key = Name.t +++module NameMap : MyMap.S with type key = Name.t
The next error I encountered:
pty.o: In function `c_openpty': pty.c:(.text+0x6d): undefined reference to `openpty' collect2: ld returned 1 exit status File "caml_startup", line 1, characters 0-1: Error: Error during linking make: *** [unison] Error 2
I found a link to fix somethign regarding that on a debian mailing list.
here Bug#641102: unison
Which I fixed by editing the file. "MakeFile.OCaml" at line 367
--- $(CAMLC) -verbose $(CAMLFLAGS) -o $@ $(CFLAGS) $(CAMLLIBS) $(CLIBS) $^ +++ $(CAMLC) -verbose $(CAMLFLAGS) -o $@ $(CFLAGS) $(CAMLLIBS) $^ $(CLIBS)
Lastly I had an error with etags. Installed a related package, and everything built ok. Now it doesn't give a prompt to log onto ssh, so I have to use the text mode. Probably would work if I made a public key.
cheers
Comments
create comment?