<marteo>
and then, is a module supposed to appear in ocaml ?
maskd has joined #ocaml
<mehdid>
Depending on the prefix (/usr or /usr/local), it should have installed some files in ocaml's path
<mehdid>
otherwise, look for compiled units in bindings/ocaml/
<mehdid>
and see in the Makefile how to install them
<marteo>
i don't see anything in the /usr/share/ocaml directory (which contains "graphics" and so on)
<mehdid>
/usr/lib/ocaml
<mehdid>
or /usr/local/lib/ocaml
<marteo>
s/share/lib
<marteo>
it was a mistake
<mehdid>
ok
<mehdid>
then see what's in bindings/ocaml/
<mehdid>
you may end up installing them by hand
<marteo>
in the given examples, plplot provides two modules : Plplot and Cairo. None of them are available in Ocaml installed modules. I'm going on making searches
<mehdid>
When I said "bindings/ocaml/", I was speaking of the directory with that name in plplot sources, where you made it built
leino has quit [Quit: leaving]
<mehdid>
there, you should find the OCaml compiled units Plplot and Plcairo, if ocaml was correctly enabled by cmake
<marteo>
there is a 'plcairo' directory with a few .ml and .c files, and a .cmake, and no readme or so on
<marteo>
/bindings/ocaml/readme says nothing but "make, make install"
<mehdid>
hum... I see (I was too lazy to actually see the sources)
ygrek_ has quit [Ping timeout: 245 seconds]
<mehdid>
you should have a couple of myocamlbuild.ml files
<marteo>
one in /bindings/ocaml and one in /bindings/ocaml/plcairo
<mehdid>
yes
<mehdid>
using the first one, should built the first level (plplot) : ocamlbuild libplplot_stubs.a
<mehdid>
s/built/build/
<marteo>
"using the first one" ?
<mehdid>
btw, did you install the needed build-dependencies ? :) (camlidl and findlib)
<mehdid>
the one in /bindings/ocaml
<marteo>
no
<mehdid>
yes, sorry for not being clear
<mehdid>
you should install ocaml-findlib and camlidl
<marteo>
done. ocamlbuild libplplot_stubs.a returns tons of errors
<marteo>
the first one being plplotP.h : no such file
<mehdid>
:(
<marteo>
so, maybe we'll search for another 3d plotting module for ocaml
<marteo>
thank you very much
<marteo>
we'll go on making searches in that way too
<adrien>
hcarty should know but I guess he's currently away
<mehdid>
that's the official module, I don't think you'll find another one
<mehdid>
I stopped my laziness and I'm compiling the sources
<mehdid>
(there are a log of build deps to install :()
<mehdid>
marteo: It didn't work for you because when you configured the sources, camlidl was missing.
<mehdid>
and it tells you at the end that "ocaml = OFF" ... that means that ocaml bindings are disable
<mehdid>
d
ygrek_ has joined #ocaml
<mehdid>
besides, you also have to install plplot build deps ("apt-get build-dep plplot" should be enough)
<mehdid>
+ apt-get install camlidl ocaml-findli
<mehdid>
b
derdon has quit [Quit: leaving]
Simon_ has joined #ocaml
Simon_ is now known as Guest68950
Guest68950 has quit [Client Quit]
<mehdid>
marteo: are you still here?
<marteo>
yep
Simon__ has joined #ocaml
<marteo>
I tried to find out what build deps I should install
<marteo>
because there's no package line "build-dep-plplot"
<mehdid>
very simple: 1) apt-get build-dep plplot 2) apt-get install camlidl ocaml-findlib 3) apt-get source plplot; cd plplot-5.9.5 4) sed -i "s/ocaml=OFF/ocaml=ON/" debian/rules
<mehdid>
then, 5) debian/rules build-arch 6) you can find compiled modules in "debian/build_tmp/bindings/ocaml/"
<marteo>
ok
<marteo>
apt-get build-dep plplot needs too muche time, i have to go
<mehdid>
yep
<marteo>
but I noted that
<marteo>
I'll do it
<marteo>
thanks :-)
<mehdid>
you're welcome
marteo has quit [Quit: Quitte]
maskd has quit [Quit: leaving]
Shoggoth has quit [Remote host closed the connection]
leino has joined #ocaml
ygrek_ has quit [Ping timeout: 245 seconds]
ftrvxmtrx has quit [Quit: Leaving]
ygrek_ has joined #ocaml
Simon__ has quit [Quit: leaving]
enthymeme has joined #ocaml
derdon has joined #ocaml
brendan has quit [Ping timeout: 246 seconds]
<derdon>
test test
joewilliams_away is now known as joewilliams
segmond has joined #ocaml
vpalle_ has quit [Ping timeout: 246 seconds]
psnively has joined #ocaml
Yoric has joined #ocaml
joewilliams is now known as joewilliams_away
jakedouglas has joined #ocaml
hyperboreean has quit [Ping timeout: 246 seconds]
psnively has quit [Quit: psnively]
Yoric has quit [Quit: Yoric]
noj has quit [Ping timeout: 276 seconds]
hyperbor1ean has joined #ocaml
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
oriba has joined #ocaml
enthymeme has joined #ocaml
patronus has quit [Ping timeout: 260 seconds]
M| has quit [Ping timeout: 264 seconds]
M| has joined #ocaml
patronus has joined #ocaml
boscop has quit [Ping timeout: 240 seconds]
boscop has joined #ocaml
pimmhogeling has joined #ocaml
pimmhogeling has quit [Client Quit]
pimmhogeling has joined #ocaml
leino has quit [Ping timeout: 240 seconds]
pimmhogeling has quit [Remote host closed the connection]