On 3/20/14, 2:57 PM, Gary K. Olson wrote: > Ocaml failed to build near beginning after configuration. Looks like a > possible clang error: > >> ** OCaml configuration completed successfully ** >> >> WARNING: the environment variable MACOSX_DEPLOYMENT_TARGET is set. >> This will probably prevent compiling the OCaml system. >> + make world opt opt.opt >> make coldstart >> make[1]: Entering directory >> `/sw/src/fink.build/ocaml-4.01.0-1/ocaml-4.01.0' >> cd byterun; make all >> make[2]: Entering directory >> `/sw/src/fink.build/ocaml-4.01.0-1/ocaml-4.01.0/byterun' >> sed -n -e '/^ /s/ \([A-Z]\)/ \&\&lbl_\1/gp' \ >> -e '/^}/q' instruct.h > jumptbl.h >> gcc -DCAML_NAME_SPACE -O -fno-defer-pop -Wall >> -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/sw/include -c -o interp.o >> interp.c >> clang: error: unknown argument: '-fno-defer-pop' >> [-Wunused-command-line-argument-hard-error-in-future] >> clang: note: this will be a hard error (cannot be downgraded to a >> warning) in the future >> make[2]: *** [interp.o] Error 1 >> make[2]: Leaving directory >> `/sw/src/fink.build/ocaml-4.01.0-1/ocaml-4.01.0/byterun' >> make[1]: *** [coldstart] Error 2 >> make[1]: Leaving directory >> `/sw/src/fink.build/ocaml-4.01.0-1/ocaml-4.01.0' >> make: *** [world] Error 2 >> ### execution of /tmp/fink.xHLQS failed, exit code 2 >> ### execution of /tmp/fink.i5xmp failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-ocaml-4.01.0-1 >> (Reading database ... 191736 files and directories currently >> installed.) >> Removing fink-buildlock-ocaml-4.01.0-1 ... >> Failed: phase compiling: ocaml-4.01.0-1 failed > > I will copy to the maintainer. What is deal with "the environment > variable MACOSX_DEPLOYMENT_TARGET is set. This will probably prevent > compiling the OCaml system”? Hope this helps. > > My kit: > Package manager version: 0.36.3.1 > Distribution version: selfupdate-rsync Thu Mar 20 15:50:11 2014, 10.9, > x86_64 > Trees: local/main stable/main > Xcode.app: 5.1 > Xcode command-line tools: 5.1.0.0.1.1393561416 > ocaml-4.01.0-1 is set to build with only one job. > > Gary K Olson > >
That's an upstream message which presumably doesn't really apply for Fink--no clue what it actually means. Since Xcode 5.1 has introduced widespread breakage in our builds, I've been suggesting that people try to use the binary distribution. If you want to do that: 1) Edit /sw/etc/apt/sources.list as an administrator and add deb http://bindist.finkproject.org/10.9 stable main to it. 2) Run "sudo apt-get update" 3) Use "sudo apt-get install <packagename>" You may also want to edit your /sw/etc/fink.conf as an administrator and change "UseBinaryDist: false" to "UseBinaryDist: true". If you do that then "fink install" will also install prebuilt binaries, provided that the binary distribution contains the newest version that fink knows about. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users