Loading ...
Sorry, an error occurred while loading the content.

Re: "ocaml_beginners"::[] bin-prot manual installation problems

Expand Messages
  • Ashish Agarwal
    Also see this previous thread: http://groups.google.com/group/fa.caml/browse_thread/thread/862b90fb07f58773 There were supposed to be some updates to
    Message 1 of 4 , Apr 21, 2009
    • 0 Attachment
      Also see this previous thread:
      http://groups.google.com/group/fa.caml/browse_thread/thread/862b90fb07f58773

      There were supposed to be some updates to bin-prot/jane-street-core, but not
      sure if those are in the version you are using.


      On Mon, Apr 20, 2009 at 2:47 PM, David Koppstein
      <david.koppstein@...>wrote:

      > Hi,
      >
      > I have a 64-bit Ocaml 3.11.0 installation for Mac OS X, which I compiled
      > from source and configured using
      >
      > ./configure -cc "gcc -m64"
      >
      > I'm trying to install Batteries as well. For various reasons, I am not
      > using Godi, since I am using a stow-like package management system and
      > prefer to adhere to that. I've managed to install almost all of the
      > dependencies, including camlzip, which required a Makefile patch from
      > the Gentoo. I'll post the details of the manual installations after I
      > sort out this last problem.
      >
      > However, I can't get bin-prot to install. The install fails with:
      >
      > mx read_c.cmx type_class.cmx map_to_safe.cmx binable.cmx utils.cmx
      > make[2]: Nothing to be done for `bin_prot.o'.
      > ocamlc -c -cc "cc" -ccopt "-fPIC -pipe -g -fPIC -O2 -fomit-frame-pointer
      > -Wall -pedantic -Wextra -Wunused -Werror -Wno-long-long \
      > -DPIC \
      > -I+camlp4 -o common_stubs.o " common_stubs.c
      > ocamlc -c -cc "cc" -ccopt "-fPIC -pipe -g -fPIC -O2 -fomit-frame-pointer
      > -Wall -pedantic -Wextra -Wunused -Werror -Wno-long-long \
      > -DPIC \
      > -I+camlp4 -o read_stubs.o " read_stubs.c
      > cc1: warnings being treated as errors
      > read_stubs.c: In function �safe_read_int64�:
      > read_stubs.c:148: warning: integer constant is too large for �long� type
      > read_stubs.c:148: warning: comparison is always false due to limited
      > range of data type
      > read_stubs.c:148: warning: integer constant is too large for �long� type
      > read_stubs.c:148: warning: comparison is always false due to limited
      > range of data type
      > read_stubs.c: In function �safe_read_nat0_64�:
      > read_stubs.c:196: warning: integer constant is too large for �long� type
      > read_stubs.c:196: warning: comparison is always false due to limited
      > range of data type
      > read_stubs.c: In function �read_string_stub�:
      > read_stubs.c:384: warning: left shift count >= width of type
      > read_stubs.c: In function �read_float_array_stub�:
      > read_stubs.c:420: warning: left shift count >= width of type
      > read_stubs.c:420: warning: comparison between signed and unsigned
      > read_stubs.c: In function �ml_read_float_array_stub�:
      > read_stubs.c:455: warning: left shift count >= width of type
      > read_stubs.c:455: warning: comparison between signed and unsigned
      > read_stubs.c: In function �read_int_64bit_stub�:
      > read_stubs.c:600: warning: integer constant is too large for �long� type
      > read_stubs.c:600: warning: comparison is always false due to limited
      > range of data type
      > read_stubs.c:600: warning: integer constant is too large for �long� type
      > read_stubs.c:600: warning: comparison is always false due to limited
      > range of data type
      > make[2]: *** [read_stubs.o] Error 2
      > make[1]: *** [byte-code-library] Error 2
      > make: *** [all] Error 2
      >
      > I've tried a few things but am still stuck. Interestingly, when I *do*
      > turn to Godi, the bin-prot installation works (but only after symlinking
      > /usr/bin/cpp to /usr/bin/cpp-4.0), but going through the log carefully,
      > it's because of an internal patch which remains obscure to me.
      >
      > Any help would be greatly appreciated, especially since I believe this
      > is the last dependency before I can install Batteries. :)
      >
      > Best,
      > David
      >
      >
      > ------------------------------------
      >
      > Archives up to December 31, 2008 are also downloadable at
      > http://www.connettivo.net/cntprojects/ocaml_beginners/
      > The archives of the very official ocaml list (the seniors' one) can be
      > found at http://caml.inria.fr
      > Attachments are banned and you're asked to be polite, avoid flames
      > etc.Yahoo! Groups Links
      >
      >
      >
      >


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.