Re: Odd Error when Trying to Install Core

10 views
Skip to first unread message

Anil Madhavapeddy

unread,
Jun 3, 2015, 8:37:58 PM6/3/15
to Shankar Athinarayanan, ocaml...@googlegroups.com
I'm afraid I've not seen this error before -- CCing the Jane Street Core mailing list in case someone else has.

-anil

On 21 May 2015, at 00:38, Shankar Athinarayanan <shankar...@gmail.com> wrote:

Hi Anil,

My name is Shankar Athinarayanan and I am a student here in the United States. 

I am trying to install core using "opam install core" but I get this odd error: 

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

[ERROR] The compilation of core failed at "make".

Processing  1/1: [core: ocamlfind remove]

#=== ERROR while installing core.112.06.02 ====================================#

# opam-version 1.2.1

# os           darwin

# command      make

# path         /Users/shankar/.opam/system/build/core.112.06.02

# compiler     system (4.02.1)

# exit-code    2

# env-file     /Users/shankar/.opam/system/build/core.112.06.02/core-77700-e7966f.env

# stdout-file  /Users/shankar/.opam/system/build/core.112.06.02/core-77700-e7966f.out

# stderr-file  /Users/shankar/.opam/system/build/core.112.06.02/core-77700-e7966f.err

### stdout ###

# lib/unix_stubs.c:1396:49: warning: passing 'gid_t [16]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]

# [...]

#                                                 ^~~~~~

# /usr/include/unistd.h:648:43: note: passing argument to parameter here

# int      getgrouplist(const char *, int, int *, int *);

#                                               ^

# lib/unix_stubs.c:1691:2: warning: "_POSIX_PRIORITY_SCHEDULING not present; sched_setscheduler undefined" [-W#warnings]

# #warning "_POSIX_PRIORITY_SCHEDULING not present; sched_setscheduler undefined"

#  ^

# 8 warnings and 7 errors generated.

# Command exited with code 2.

### stderr ###

# [...]

# #  warning "cpp test --defined(_POSIX_SYNCHRONIZED_IO) && _POSIX_SYNCHRONIZED_IO > 0-- was false"

#    ^

# config/test.c:56:4: warning: "Feature FDATASYNC will not be available" [-W#warnings]

# #  warning "Feature FDATASYNC will not be available"

#    ^

# 12 warnings generated.

# config/discover.sh: line 61: cc: command not found

# W: Cannot find source file matching module 'core' in library core

# E: Failure("Command ''/usr/local/bin/ocamlbuild' lib/libcore_stubs.a lib/dllcore_stubs.so lib/core.cma lib/core.cmxa lib/core.a lib/core.cmxs top/core_top.cma top/core_top.cmxa top/core_top.a top/core_top.cmxs -use-ocamlfind -tag debug' terminated with error code 10")

# make: *** [build] Error 1


=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

The following actions failed

  ∗  install core 112.06.02


I am currently using gcc version 4.9.2 (Homebrew gcc49 4.9.2_1). If 

you have any suggestions on how to fix this please let me know.


Thanks!

Sincerely,
Shankar

Reply all
Reply to author
Forward
0 new messages