読者です 読者をやめる 読者になる 読者になる

omakeのインストールに失敗する

yoshida-yasushihisashi-no-macbook:omake-0.9.8.5 yasuhisa$ sudo port clean omake
--->  Cleaning omake
yoshida-yasushihisashi-no-macbook:omake-0.9.8.5 yasuhisa$ sudo port install -d omake
--->  Fetching omake
--->  Verifying checksum(s) for omake
--->  Extracting omake
--->  Applying patches to omake
--->  Configuring omake
--->  Building omake
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_omake/work/omake-0.9.8.5" && make all " returned error 2
Command output: --- Checking if ocamldep understands -modules... (yes)
--- Checking for hevea... (FAILED - no hevea found)
--- Checking for date... (found /bin/date)
*** omake: finished reading OMakefiles (2.99 sec)
*** omake: warning: stdout is not a tty, disabling the progress bar
   (use --progress to override).
- build src/clib clib.a
+ ar cq clib.a lm_heap.o lm_channel.o lm_printf.o lm_ctype.o lm_uname_ext.o lm_unix_cutil.o lm_compat_win32.o readline.o omake_shell_sys.o fam_win32.o fam_kqueue.o fam_inotify.o lm_notify.o lm_termsize.o lm_terminfo.o lm_fs_case_sensitive.o
ranlib: file: clib.a(fam_win32.o) has no symbols
ranlib: file: clib.a(fam_inotify.o) has no symbols
- build src/clib clib.a
+ ranlib clib.a
/usr/bin/ranlib: file: clib.a(fam_win32.o) has no symbols
/usr/bin/ranlib: file: clib.a(fam_inotify.o) has no symbols
*** omake: saved .omakedb
*** omake: saved .omakedb
- build src/main omake.opt
+ ocamlopt.opt -warn-error A -w Aez -I . -I ../libmojave -I ../util -I ../magic -I ../ast -I ../ir -I ../env -I ../exec -I ../eval -I ../shell -I ../build -I ../builtin -o omake.opt unix.cmxa ../libmojave/lm.cmxa ../util/util.cmxa ../magic/magic.cmxa ../ast/ast.cmxa ../ir/ir.cmxa ../env/env.cmxa ../exec/exec.cmxa ../eval/eval.cmxa ../shell/shell.cmxa ../build/build.cmxa ../builtin/builtin.cmxa omake_shell.cmx omake_main.cmx ../clib/clib.a -cclib -lncurses -cclib -lreadline
Undefined symbols:
  "_caml_sync", referenced from:
      _camlOmake_exec__28 in exec.a(omake_exec.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
File "caml_startup", line 1, characters 0-1:
Error: Error during linking
*** omake: 1154/1159 targets are up to date
*** omake: failed (34.06 sec, 229/229 scans, 337/496 rules, 775/2157 digests)
*** omake: targets were not rebuilt because of errors:
   src/main/omake.opt
make: *** [all] Error 2

Error: Status 1 encountered during processing.
yoshida-yasushihisashi-no-macbook:omake-0.9.8.5 yasuhisa$ 

追記

依存しているocamlのバージョンが以前入れたときに比べて上がっていたんだけど、それにomake側が対応できていないということでした。