tag 483514 unreproducible severity 483514 important kthxbye On Thu, May 29, 2008 at 02:06:59 -0400, Michael Welsh Duggan wrote:
> When running otags, camlp4 is complaining and producing no tags. Here > is a verbose run: > > [EMAIL PROTECTED]:/usr/local/src/lablgtk2-2.10.1$ otags -v src/gtkWindow.ml > camlp4 pa_o.cmo pa_op.cmo /usr/local/lib/ocaml/pr_emacs_tags.cma > src/gtkWindow.ml > Camlp4: Uncaught exception: DynLoader.Error > ("/usr/local/lib/ocaml/pr_emacs_tags.cma", > "/usr/local/lib/ocaml/pr_emacs_tags.cma is not a bytecode object file") > Where does this /usr/local/lib/ocaml/pr_emacs_tags.cma file come from? I suspect it was built for an older version of ocaml, which would explain why it can't be loaded with the current version. Also, you don't seem to be using the packaged version of otags. Trying to reproduce what you're reporting, I get: $ otags -v src/gtkWindow.ml /usr/bin/camlp5o /usr/lib/ocaml/3.10.2/otags//tags.cma /usr/lib/ocaml/3.10.2/otags//pr_emacs_tags.cma -o /tmp/otags2fc4a0 src/gtkWindow.ml cat /dev/null /tmp/otags2fc4a0 > TAGS rm -f /tmp/otags2fc4a0 So here otags uses camlp5o instead of camlp4, and looks for pr_emacs_tags.cma in the right place. Cheers, Julien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]