Quote:
Originally Posted by thomega
What is the output of irext ls -l for the files that contain scribbles? Does it report them? (Which would be odd, because both use the same SQLite3 interface).
From the error message, it appears that you don't have ocamlfind installed and ocaml-sqlite3 depends on it for moving the libraries to a place where ocamlc and ocamlopt can find them. Therefore sqlite3.cmxa and sqlite3.cma are never installed. Why irext and ism are linked anyway is not easy to understand, but there might be an incompatible version somewhere.
|
Ah. I hadn't realized that ocamlfind is a separate entity, as opposed to being an integral part of a typical ocaml system. I found it and installed it, and irextool now compiles without any error messages. I had to patch Makefile.in first, however, since the OSX ld doesn't understand -rpath=…:
Code:
--- Makefile.in.ORIG 2009-01-17 14:21:58.000000000 +0100
+++ Makefile.in 2009-04-24 09:28:25.000000000 +0200
@@ -83,13 +83,13 @@
OCAML_SQLITE3_OCAMLC = $(INCFLAGS) -cclib -L$(OCAML_SQLITE3_PATH) \
$(OCAML_SQLITE3_DLL) sqlite3.cma
OCAML_SQLITE3_OCAMLOPT = $(INCFLAGS) -cclib -L$(OCAML_SQLITE3_PATH) \
- -cclib -Wl,-rpath=$(OCAML_SQLITE3_PATH) sqlite3.cmxa
+ -cclib "-Wl,-rpath $(OCAML_SQLITE3_PATH)" sqlite3.cmxa
CAMLPDF_DLL = -dllpath $(CAMLPDF_PATH)
CAMLPDF_OCAMLC = $(INCFLAGS) -cclib -L$(CAMLPDF_PATH) \
$(CAMLPDF_DLL) camlpdf.cma
CAMLPDF_OCAMLOPT = $(INCFLAGS) -cclib -L$(CAMLPDF_PATH) \
- -cclib -Wl,-rpath=$(CAMLPDF_PATH) unix.cmxa bigarray.cmxa str.cmxa camlpdf.cmxa
+ -cclib "-Wl,-rpath $(CAMLPDF_PATH)" unix.cmxa bigarray.cmxa str.cmxa camlpdf.cmxa
Anyway, here are the outputs of both ism and irext ls -l:
Code:
; ism /Volumes/IREX16G/Temporary/ARentydighet.pdf
ism: not scribbles for /Volumes/IREX16G/Temporary/ARentydighet.pdf in /Volumes/IREX16G/Temporary/metadata.db
; irext ls -l /Volumes/IREX16G/Temporary/ARentydighet.pdf
--- pdf ---- 20s 1b 0u 477688 2009-02-23 19:17:02 /Volumes/IREX16G/Temporary/ARentydighet.pdf
scribble @ page 1, layer , title " ", 44 strokes, 966 points, 12688 bytes
scribble @ page 2, layer , title " ", 48 strokes, 851 points, 11404 bytes
scribble @ page 3, layer , title " ", 30 strokes, 478 points, 6496 bytes
scribble @ page 4, layer , title " ", 11 strokes, 201 points, 2716 bytes
scribble @ page 5, layer , title " ", 35 strokes, 724 points, 9568 bytes
scribble @ page 6, layer , title " ", 42 strokes, 1268 points, 16264 bytes
scribble @ page 7, layer , title " ", 14 strokes, 298 points, 3952 bytes
scribble @ page 8, layer , title " ", 64 strokes, 1319 points, 17404 bytes
scribble @ page 9, layer , title " ", 120 strokes, 3065 points, 39700 bytes
scribble @ page 10, layer , title " ", 59 strokes, 1135 points, 15076 bytes
scribble @ page 11, layer , title " ", 48 strokes, 1023 points, 13468 bytes
bookmark @ page 11, layer , title " Page 11", 254412 bytes
scribble @ page 12, layer , title " ", 91 strokes, 2110 points, 27544 bytes
scribble @ page 13, layer , title " ", 65 strokes, 1239 points, 16468 bytes
scribble @ page 14, layer , title " ", 30 strokes, 670 points, 8800 bytes
scribble @ page 15, layer , title " ", 105 strokes, 2147 points, 28324 bytes
scribble @ page 16, layer , title " ", 82 strokes, 1542 points, 20512 bytes
scribble @ page 17, layer , title " ", 26 strokes, 557 points, 7348 bytes
scribble @ page 18, layer , title " ", 14 strokes, 590 points, 7456 bytes
scribble @ page 19, layer , title " ", 124 strokes, 2647 points, 34780 bytes
scribble @ page 20, layer , title " ", 117 strokes, 1914 points, 25816 bytes
This is after I recompiled, but the result was the same before I did.