[Unison-hackers] Mac GUI

David Abrahams dave at boost-consulting.com
Sun Apr 16 10:49:52 EDT 2006


Benjamin Pierce <bcpierce at cis.upenn.edu> writes:

>> http://www.cis.upenn.edu/~bcpierce/unison/status.html
>>
>> Makes it pretty clear that development on Unison has officially
>> stopped, but it seems like there are all sorts of new goodies
>> appearing now.
>
> The true story is that, although official development has stopped,  
> all the original developers still use Unison every day, and  
> occasionally we get hack attacks; also, occasionally someone like Ben  
> gets interested in looking under the hood (and then gets a hack  
> attack :-), and more good things happen.
>
>> I am really excited about Unison's potential to help
>> me maintain a single home directory across my stable machines and my
>> laptops.  Should I download an official release or build from a branch
>> of SVN, or...?
>
> 2.17 seems to be working well for most people.  If you're using a
> Mac  

I am, among other things

> or experience problems with the backup functionality (where we've  
> fixed some bugs since 2.17), you may want to build yourself a new  
> version from the latest svn.

Well, trying on my intel-based Mac has been interesting: GOBI doesn't
install at all (some problem recognizing the Clambda module) and their
bug tracker seems to be completely busted, OCaml will only build
unoptimized...

...I don't see any instructions for building Unison, and there's no
configure, but plain "make" yields:

  ocamlc -o src/mkProjectInfo src/mkProjectInfo.ml
  src/mkProjectInfo > src/Makefile.ProjectInfo
  make -C src
  UISTYLE = mac
  Building for Unix
  NATIVE = true
  THREADS = false
  STATIC = false
  OSTYPE =
  OSARCH = osx
  echo 'let myName = "'unison'";;' > ubase/projectInfo.ml
  echo 'let myVersion = "'2.19.42'";;' >> ubase/projectInfo.ml
  echo 'let myMajorVersion = "'2.19'";;' >> ubase/projectInfo.ml
  ocamlopt: ubase/projectInfo.ml ---> ubase/projectInfo.cmx
  ocamlopt -I lwt -I ubase -c /Users/dave/src/unison/src/ubase/projectInfo.ml
  make[1]: ocamlopt: Command not found
  make[1]: *** [ubase/projectInfo.cmx] Error 127
  make: *** [src] Error 2

(ocamlopt didn't build, so this should be no surprise) and the xcode
project yields:

  Building target “uimac” of project “uimac” — (2 errors)
      Checking DependenciesInfo.plist file at /Users/dave/src/unison/src/uimac/Info.plist missing; build setting may be incorrect.
          Info.plist file at /Users/dave/src/unison/src/uimac/Info.plist missing; build setting may be incorrect.
          mkdir /Users/dave/src/unison/src/uimac/build/Development/Unison.app/Contents
      cd /Users/dave/src/unison/src/uimac
      /System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks /Users/dave/builds/uimac.build/Development/uimac.build/Info.plist /Users/dave/src/unison/src/uimac/build/Development/Unison.app/Contents
  pbxcp: Info.plist: No such file or directory
          pbxcp: Info.plist: No such file or directory
  Build failed (2 errors)

Not sure where to go from here.  Any clues for me?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com



More information about the Unison-hackers mailing list