MacPorts で OMake を使おうとしてハマる

OMake を使おうとして少し悩んだのでメモ。

sudo port install 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: --- *** in doc/OMakefile
--- *** (HEVEA DISABLED)
--- Checking for date... (found /bin/date)
*** omake: finished reading OMakefiles (2.49 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 (33.15 sec, 229/229 scans, 337/496 rules, 775/2159 digests)
*** omake: targets were not rebuilt because of errors:
src/main/omake.opt
make: *** [all] Error 2

Error: Status 1 encountered during processing.

なぜ?OMake のインストールに失敗する。

src/main/omake.opt で検索すると、

http://lists.metaprl.org/pipermail/omake/2009-February/002058.html

http://svn.metaprl.org/viewvc/mojave/omake-branches/0.9.8.x/src/exec/omake_exec.ml?r1=10521&r2=12923

Ocaml 3.11.0 に OMake 0.9.8.5 が追随してないのか。

取合えず、通った模様。

external sync : unit -> unit = "caml_sync" は後で調べる。

http://trac.macports.org/attachment/ticket/18786/devel--omake.patch

今日はここまで。

コメント

このブログの人気の投稿

[memo] LibreOffice バージョン: 5.2.6.2 Calc でエラーがでた BASIC を読み込む際の エラー:一般的なエラー.一般的な I/O エラー。

[memo] go get でインストールしたが利用しなくなったパッケージを削除する

[memo] 日本語のファイル名をSafari でダウンロードするとバージョン 10.0.3 (11602.4.8.0.1) でも文字化けするのが辛い