I changed to Xcode 3.2.6, everything is fine. No problem at all. Cheers
Chris > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 4/27/11 11:52 PM, yuan wang wrote: >> Dear Fink users, >> >> I upgrade my OS to 10.6 recently and installed Xcode 4. >> When I tried to install GILDAS using Fink, I faced a problem >> Ocaml is on the dependance list, but cannot be compiled correctly. >> My OS is 10.6.7, Fink version is >> >> ywangdemacbook:~ ywang$ fink --version >> Package manager version: 0.29.21 >> Distribution version: selfupdate-cvs Thu Apr 28 10:19:21 2011, 10.6, i386 >> Trees: local/main stable/main stable/crypto >> >> Copyright (c) 2001 Christoph Pfisterer >> Copyright (c) 2001-2011 The Fink Package Manager Team >> This program is distributed in the hope that it will be useful, >> but WITHOUT ANY WARRANTY; without even the implied warranty of >> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> GNU General Public License for more details. >> >> >> Part of the compiling error message is: >> >> >> for i in unix str num dynlink bigarray systhreads threads graph dbm labltk; >> do \ >> (cd otherlibs/$i; make allopt) || exit $?; \ >> done >> make[1]: Nothing to be done for `allopt'. >> make[1]: Nothing to be done for `allopt'. >> make[1]: Nothing to be done for `allopt'. >> make[1]: Nothing to be done for `allopt'. >> make[1]: Nothing to be done for `allopt'. >> make[1]: Nothing to be done for `allopt'. >> make[1]: Nothing to be done for `allopt'. >> make[1]: Nothing to be done for `allopt'. >> make[1]: Nothing to be done for `allopt'. >> cd support; make opt >> make[2]: Nothing to be done for `opt'. >> cd labltk; make -f Makefile.gen >> make[2]: Nothing to be done for `all'. >> cd labltk; make opt >> make[2]: Nothing to be done for `opt'. >> cd camltk; make -f Makefile.gen >> make[2]: Nothing to be done for `all'. >> cd camltk; make opt >> make[2]: Nothing to be done for `opt'. >> cd lib; make opt >> make[2]: Nothing to be done for `opt'. >> cd jpf; make opt >> make[2]: Nothing to be done for `opt'. >> cd frx; make opt >> make[2]: Nothing to be done for `opt'. >> cd tkanim; make opt >> make[2]: Nothing to be done for `opt'. >> cd lex; make allopt >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A cset.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A >> syntax.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A >> parser.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A lexer.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A table.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A >> lexgen.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A >> compact.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A >> common.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A >> output.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A >> outputbis.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -c -warn-error A main.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -o ocamllex.opt cset.cmx >> syntax.cmx parser.cmx lexer.cmx table.cmx lexgen.cmx compact.cmx common.cmx >> output.cmx outputbis.cmx main.cmx >> cd tools; make opt.opt >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -warn-error A -I >> ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I >> ../driver -c depend.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -warn-error A -I >> ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I >> ../driver -c ocamldep.ml >> ../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib -I ../utils -I >> ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -o >> ocamldep.opt misc.cmx config.cmx clflags.cmx terminfo.cmx linenum.cmx >> warnings.cmx location.cmx longident.cmx syntaxerr.cmx parser.cmx lexer.cmx >> parse.cmx \ >> depend.cmx ocamldep.cmx >> ./build/ocamlbuild-native-only.sh >> + ./boot/ocamlrun boot/myocamlbuild native_stdlib_mixed_mode ocamlopt >> lex/ocamllex ocamlbuild/ocamlbuildlib.cmxa >> ocamlbuild/ocamlbuildlightlib.cmxa ocamlbuild/ocamlbuild.native >> ocamlbuild/ocamlbuildlight.native >> ../ocamlcompopt.sh -nostdlib -c -g -dtypes -w A -warn-error A -w e -I >> ../otherlibs/unix -for-pack Ocamlbuild_pack -I ocamlbuild -I stdlib -o >> ocamlbuild/ocamlbuild.cmx ocamlbuild/ocamlbuild.ml >> ../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.1.4t5VMU failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-ocaml-3.11.1-1 >> (Reading database ... 22346 files and directories currently installed.) >> Removing fink-buildlock-ocaml-3.11.1-1 ... >> Failed: phase compiling: ocaml-3.11.1-1 failed >> >> Cheers >> >> Chris >> >> >> > > One other option is that the maintainer said he got this version of > ocaml to build with Xcode 4, provided that the 10.5 SDK was installed. > Try installing that. > > - -- > 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/ > > iEYEARECAAYFAk25qXoACgkQB8UpO3rKjQ/RKgCeNqU9AaKdUSt1VUMkSwa4FSca > AMwAnRfKyogxC/KO1WyXyKDJ3WJYS3fd > =a9ee > -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
