On Feb 16, 2005, at 8:04 AM, John Harrold wrote:
Hello,
I'm trying to compile unison on my powerbook. According to uname this is
what I'm running:
Darwin absent 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST
2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc
When I run the following as root:
/sw/bin/fink install unison
fink chugs alog for a while compiling away till it hits a problem:
<snip>
+ gcc -o 'unison' -I'/sw/lib/ocaml' -L/sw/lib -L/usr/X11R6/lib
'/tmp/camlstartup243e73.o' '/sw/lib/ocaml/std_exit.o' 'linkgtk.o' 'uigtk.o'
'pixmaps.o' 'main.o' 'uitext.o' 'uicommon.o' 'strings.o' 'transport.o'
'recon.o' 'sortri.o' 'files.o' 'update.o' 'globals.o' 'remote.o'
'xferhint.o' 'transfer.o' 'checksum.o' 'tree.o' 'common.o' 'uri.o' 'lock.o'
'os.o' 'fileinfo.o' 'props.o' 'fspath.o' 'path.o' 'name.o''fileutil.o'
'uutil.o' 'pred.o' 'case.o' 'lwt/lwt_unix.o' 'lwt/lwt_util.o' 'lwt/lwt.o'
'lwt/pqueue.o' 'ubase/trace.o' 'ubase/prefs.o' 'ubase/uarg.o' 'ubase/rx.o'
'ubase/util.o' 'ubase/uprintf.o' 'ubase/safelist.o' '/sw/lib/ocaml/str.a'
'/sw/lib/ocaml/lablgtk/lablgtk.a' '/sw/lib/ocaml/str.a'
'/sw/lib/ocaml/unix.a' '/sw/lib/ocaml/stdlib.a' '-Llwt' '-Lubase'
'-L/sw/lib/ocaml/lablgtk' '-L/sw/lib/ocaml' '-lstr' '-llablgtk' '-lgtk'
'-lgdk' '-lgmodule' '-lglib' '-lintl' '-lXext' '-lX11' '-lm' '-lstr'
'-lunix' '/sw/lib/ocaml/libasmrun.a'
ld: warning prebinding disabled because dependent library:
/sw/lib/libgtk-1.2.0.dylib is not prebound
ld: Undefined symbols:
_format_float
_format_int
Error during linking
make: *** [unison] Error 2
### execution of make failed, exit code 2
Failed: compiling unison-2.9.1-12 failed
</snip>
I was wondering if anyone could help me out with this.
--
Unfortunately I believe this is because this version of unison doesn't like ocaml-3.08. Try downgrading to 3.07:
sudo apt-get install ocaml=3.07-1
and see if that works.
-- Alexander Hansen Fink Documentarian [Day Job] Levitated Dipole Experiment http://www.psfc.mit.edu/LDX
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
