mfp changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.11.2 released | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010
travisbrady has quit [Quit: travisbrady]
sgnb` has joined #ocaml
sgnb has quit [Read error: Connection reset by peer]
derdon has quit [Ping timeout: 260 seconds]
joewilliams_away is now known as joewilliams
barismetin has quit [Quit: Leaving...]
joewilliams is now known as joewilliams_away
sshc has joined #ocaml
pad has quit [Remote host closed the connection]
mjonsson has joined #ocaml
enthymeme has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
_unK has quit [Remote host closed the connection]
segmond has quit [Ping timeout: 264 seconds]
jakedouglas has joined #ocaml
MrEvil has joined #ocaml
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
bzzbzz has quit [Quit: leaving]
Shoggoth has joined #ocaml
ReachingFarr has left #ocaml []
jakedouglas has quit [Quit: Leaving.]
MrEvil has quit [Quit: This computer has gone to sleep]
Submarine has joined #ocaml
ikaros has joined #ocaml
ygrek_ has joined #ocaml
jakedouglas has joined #ocaml
ftrvxmtrx has joined #ocaml
vpalle has joined #ocaml
ttamttam has joined #ocaml
oriba has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
ttamttam has quit [Quit: Leaving.]
vpalle_ has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
vpalle has quit [Ping timeout: 264 seconds]
ttamttam has joined #ocaml
sepp2k has joined #ocaml
ttamttam has quit [Quit: Leaving.]
leino has joined #ocaml
derdon has joined #ocaml
grettke has joined #ocaml
grettke has quit [Client Quit]
leino has quit [Quit: leaving]
leino has joined #ocaml
oriba has quit [Quit: Verlassend]
Tianon has quit [Ping timeout: 268 seconds]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
Yoric has joined #ocaml
marteo has joined #ocaml
_unK has joined #ocaml
<marteo> hello
<marteo> does anyone know how to get plplot working with ocaml ?
<marteo> on a debian squeeze system, with the 'ocaml' package installed, and libplplot9 installed ?
<mehdid> These bindings are not packaged in Debian.
<marteo> yes, but what to do with this tarball ?
<marteo> there's a makefile but 'make' does not work
Yoric has quit [Quit: Yoric]
<mehdid> marteo: Actually, you don't need it because these sources are directly included in plplot
<mehdid> Now, the Debian package didn't activate those bindings
<mehdid> that should be easy to do but will require some time to have them in Debian
<mehdid> For now, you should recompile plplot with OCaml bindings
<mehdid> marteo: before calling make, you have to "configure" the sources
<mehdid> thus, calling "cmake $some_flags -DENABLE_ocaml=ON"
<mehdid> then, "make" should work
<marteo> ok, done
<marteo> make, make install
<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]
pimmhogeling has joined #ocaml
Yoric has joined #ocaml
derdon has quit [Ping timeout: 264 seconds]
Arctik has joined #ocaml
Arctik has quit [Ping timeout: 260 seconds]
ftrvxmtrx has joined #ocaml
Yoric has quit [Quit: Yoric]
ygrek_ has quit [Ping timeout: 245 seconds]
Submarine has quit [Ping timeout: 260 seconds]
sepp2k has quit [Ping timeout: 264 seconds]
sepp2k has joined #ocaml
pimmhogeling has quit [Ping timeout: 265 seconds]
leino has joined #ocaml
segmond is now known as eastwind
brendan has joined #ocaml
penny` has joined #ocaml
penny` has quit [Client Quit]
Amorphous has quit [Ping timeout: 252 seconds]
leino has quit [Quit: leaving]
Amorphous has joined #ocaml