From: Alexander H. <ale...@gm...> - 2011-06-30 20:33:18
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/30/11 3:29 PM, Amir Reza wrote: > On 6/30/11 12:03 PM, Alexander Hansen wrote: >> xcodebuild -version > Xcode 4.0.2 > Build version 4A2002a > >> fink -V| head -n3 > > Package manager version: 0.29.21 > Distribution version: selfupdate-rsync Thu Jun 30 08:22:08 2011, 10.6, i386 > Trees: local/main stable/main stable/crypto > > fink list ocaml > > Information about 4521 packages read in 0 seconds. > ocaml 3.11.1-1 Latest implementation of Caml > dialect of ML > ocaml-findlib 1.1.2-1 Ocaml library management system > ocaml-lib 1.4-1 Standard library for OCaml > > > and the error is as follows... It seems to be literally the same one.... > > > ../ocamlcompopt.sh -nostdlib unix.cmxa -g -I stdlib -I ../otherlibs/unix > ocamlbuild/ocamlbuild_executor.cmx ocamlbuild/ocamlbuild_pack.cmx > ocamlbuild/ocamlbuild_unix_plugin.cmx ocamlbuild/ocamlbuild.cmx -o > ocamlbuild/ocamlbuild.native > ld: in ocamlbuild/ocamlbuild_pack.o, in section __DATA,__data reloc 56: > sectionForAddress(0x48026FD4) address not in any section for > architecture i386 > collect2: ld returned 1 exit status > File "caml_startup", line 1, characters 0-1: > Error: Error during linking > Exit code 2 while executing this command: > ../ocamlcompopt.sh -nostdlib unix.cmxa -g -I stdlib -I > ../otherlibs/unix ocamlbuild/ocamlbuild_executor.cmx > ocamlbuild/ocamlbuild_pack.cmx ocamlbuild/ocamlbuild_unix_plugin.cmx > ocamlbuild/ocamlbuild.cmx -o ocamlbuild/ocamlbuild.native > make: *** [ocamlbuild.native] Error 2 > ### execution of /var/tmp/tmp.9.McGkpi failed, exit code 2 Thanks. Yeah, it looks like you'd need to install Xcode 3.2.6. Or you could try an unofficial 10.6/stable binary distribution, as per: http://finkers.wordpress.com/2009/06/01/fink-and-binary-distributions/ and only add the "deb http://sage.ucsc.edu/fink_intel_10.6_32bit stable main crypto" line to your /sw/etc/apt/sources.list . This distribution builds gcc44, so I'm pretty sure ocaml is available. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4M3YAACgkQB8UpO3rKjQ+MLACdGH+lOdef0yBPdKePCw0LRqEm 9yMAn0tQfsJgqk77qb8y4p1zg8lvwET/ =Grdm -----END PGP SIGNATURE----- |