caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlbuild issue
@ 2011-08-05  9:53 Rémi Dewitte
  2011-08-05 10:23 ` [Caml-list] " Rémi Dewitte
  0 siblings, 1 reply; 3+ messages in thread
From: Rémi Dewitte @ 2011-08-05  9:53 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

Hello,

I have an issue with ocamlbuild.

I type : ocamlbuild -use-ocamlfind sdit.native
I get the following error :
ocamlfind: Error from package `postgresql': This library requires
multi-threading support
Command exited with code 2.

I have checked this :
$ ocamlbuild -documentation | grep thread
flag {. byte, link, ocaml, program, thread .} "threads.cma -thread"
flag {. link, native, ocaml, program, thread .} "threads.cmxa -thread"
flag {. doc, ocaml, thread .} "-I +threads"
flag {. compile, ocaml, thread .} "-thread"

I have checked _build/_log also : tag thread is active
# Target: sdit.native, tags: { dont_link_with, extension:native,
file:sdit.native, link, native, ocaml, package(extlib), package(gsl),
package(postgresql), package(pxp), package(str), program, quiet, thread,
traverse, use_menhir }
/usr/bin/ocamlfind ocamlopt -linkpkg -package extlib -package gsl -package
postgresql -package pxp -package str dependent.cmx sdit.cmx -o sdit.native

I think there is a bug with -use-ocamlfind where -thread is not appended to
the command.

I use ocaml 3.12.0

What do you think ?

Thanks,
Rémi

[-- Attachment #2: Type: text/html, Size: 1925 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-05 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-05  9:53 [Caml-list] ocamlbuild issue Rémi Dewitte
2011-08-05 10:23 ` [Caml-list] " Rémi Dewitte
2011-08-05 18:54   ` ygrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).