-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Smiley wrote:
> When I tried to install the unison package, it failed. I am up to date  
> (fink selfupdate).  

And you're on what OS version?

Below is the output towards the end where it
> failed.  The error suggests a problem with the ocaml distribution.   
> FWIW, I found that I could install via "unison-aqua" distribution,

How?  I can't build fink's unison-aqua, either, at least against
ocaml-3.11-1:

 /Developer/usr/bin/gcc-4.0 -arch i386
-
-L/sw/src/fink.build/unison-aqua-2.27.57-1007/unison-2.13.16/uimac/build/Default
-
-F/sw/src/fink.build/unison-aqua-2.27.57-1007/unison-2.13.16/uimac/build/Default
- -filelist
/sw/src/fink.build/unison-aqua-2.27.57-1007/unison-2.13.16/uimac/build/uimac.build/Default/uimac.build/Objects-normal/i386/Unison.LinkFileList
- -mmacosx-version-min=10.5
/sw/src/fink.build/unison-aqua-2.27.57-1007/unison-2.13.16/uimac/../unison-blob.o
- -L/sw/lib/ocaml -lunix -lstr -lasmrun -framework Cocoa -framework
Security -o
/sw/src/fink.build/unison-aqua-2.27.57-1007/unison-2.13.16/uimac/build/Default/Unison.app/Contents/MacOS/Unison
Undefined symbols:
  "_caml_apply2", referenced from:
      _caml_callback2_exn in libasmrun.a(i386.o)
  "_caml_apply3", referenced from:
      _caml_callback3_exn in libasmrun.a(i386.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

> through there is a troubling message when I run it:
> ~$ unison -version
> 2009-08-30 01:15:21.317 Unison[37227:10b] *** _NSAutoreleaseNoPool():  
> Object 0x209df0 of class NSThread autoreleased with no pool in place -  
> just leaking
> Stack: (0x92f98dac 0x92ec5e14 0x92ecb3e0 0xafd4 0x2858 0x2794)
> 2009-08-30 01:15:21.350 Unison[37227:10b] Calling nonGuiStartup
> unison version 2.27.57
> 

That's normal for (this version of) Unison on Leopard; it's not
fink-specific.

> and it segfaults when I try to sync directories.
> ~ David
> ~$ sudo fink install unison
(you never need to use "sudo" before "fink")
> ............
> Linking unison
> ocamlopt -verbose -I lwt -I ubase -I /sw/lib/ocaml/lablgtk2 -o  
> unison   unix.cmxa str.cmxa lablgtk.cmxa str.cmxa       ubase/myMap.cmx  
> ubase/safelist.cmx ubase/uprintf.cmx ubase/util.cmx ubase/rx.cmx ubase/ 
> uarg.cmx ubase/prefs.cmx ubase/trace.cmx lwt/pqueue.cmx lwt/lwt.cmx  
> lwt/lwt_util.cmx lwt/lwt_unix.cmx case.cmx pred.cmx uutil.cmx  
> fileutil.cmx name.cmx path.cmx fspath.cmx fingerprint.cmx osx.cmx  
> props.cmx fileinfo.cmx os.cmx lock.cmx clroot.cmx common.cmx tree.cmx  
> checksum.cmx terminal.cmx transfer.cmx xferhint.cmx remote.cmx  
> copy.cmx globals.cmx update.cmx files.cmx sortri.cmx recon.cmx  
> transport.cmx strings.cmx uicommon.cmx uitext.cmx main.cmx pixmaps.cmx  
> uigtk2.cmx linkgtk2.cmx osxsupport.o pty.o
> File "_none_", line 1, characters 0-1:
> Error: Files /sw/lib/ocaml/str.cmxa and /sw/lib/ocaml/str.cmxa
>         both define a module named Str
> make: *** [unison] Error 2
> ### execution of /var/tmp/tmp.2.X7kJK2 failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-unison-2.27.57-1007
> (Reading database ... 75585 files and directories currently installed.)
> Removing fink-buildlock-unison-2.27.57-1007 ...
> Failed: phase compiling: unison-2.27.57-1007 failed
> 
> 
> 

Our unison doesn't like the current ocaml in Fink.  Ocaml seems not to
keep compatibility when they update.

I get different errors than you do, though.  What version of ocaml do
you have?

- --
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqcEAsACgkQB8UpO3rKjQ90wgCfXZ0kwEGITWT90JfQqWnB0KsF
faUAnRQ3Wg7NZTKzzKegdCszny/ORgV+
=3C0Q
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to