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
ikaros has joined #ocaml
tmaeda is now known as tmaedaZ
bzzbzz has quit [Quit: Lost terminal]
tmaedaZ is now known as tmaeda
dark has quit [Remote host closed the connection]
threeve has joined #ocaml
tmaeda is now known as tmaedaZ
tmaedaZ is now known as tmaeda
ikaros has quit [Quit: Leave the magic to Houdini]
avsm has quit [Quit: Leaving.]
threeve has quit [Quit: threeve]
Mr_Awesome has joined #ocaml
maskd has quit [Quit: leaving]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
_unK has quit [Remote host closed the connection]
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 246 seconds]
pad has quit [Remote host closed the connection]
cognizant-cog has joined #ocaml
caligula_ has quit [Read error: Connection reset by peer]
caligula_ has joined #ocaml
cognizant-cog has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.8/20100214235838]]
bzzbzz has joined #ocaml
Associat0r has joined #ocaml
toast-opt has joined #ocaml
Associat0r has quit [Quit: Associat0r]
seafood has joined #ocaml
Submarine has joined #ocaml
bzzbzz has quit [Quit: leaving]
<toast-opt> hiya. i found some nice looking web tutorials, but i like to have a hard-copy reference around as well.
<toast-opt> is there a good ocaml book?
<flux> Introduction To Objective Caml, but I'm not sure if that's for sale at the moment/yet :-)
<flux> O'Caml For Scientists is apparently a decent book, but expensive
<flux> (I may mix up O'Caml <-> Objective Caml in the book names, btw..)
seafood has quit [Read error: Connection reset by peer]
<Submarine> you can print out the manual
toast-opt has quit [Quit: toast-opt]
toast-opt has joined #ocaml
<flux> not to mention, you can also print that Intro to O'Caml, it's available online
<toast-opt> yeah, i've been using intro to O'Caml
<toast-opt> sucks it isn't published yet. i'd buy it
toast-opt has quit [Quit: toast-opt]
tmaeda is now known as tmaedaZ
yakischloba has quit [Quit: Leaving.]
avsm has joined #ocaml
Jedai has joined #ocaml
ttamttam has joined #ocaml
joewilliams is now known as joewilliams_away
seafood has joined #ocaml
ttamttam has quit [Quit: Leaving.]
_zack has joined #ocaml
derdon has joined #ocaml
Submarine has quit [Read error: Connection reset by peer]
ikaros has joined #ocaml
ttamttam has joined #ocaml
maskd has joined #ocaml
avsm has quit [Quit: Leaving.]
albacker has joined #ocaml
Associat0r has joined #ocaml
boscop_ has left #ocaml []
boscop has joined #ocaml
seafood has quit [Quit: seafood]
ttamttam has quit [Quit: Leaving.]
_unK has joined #ocaml
naufraghi has joined #ocaml
_unK has quit [Remote host closed the connection]
ttamttam has joined #ocaml
smimou has quit [Ping timeout: 246 seconds]
smimou has joined #ocaml
_unK has joined #ocaml
pimmhogeling has joined #ocaml
rwmjones has quit [Ping timeout: 256 seconds]
Smerdyakov has joined #ocaml
ttamttam has quit [Quit: Leaving.]
Yoric has joined #ocaml
Yoric has quit [Client Quit]
Modius has quit [Quit: I'm big in Japan]
Yoric has joined #ocaml
Yoric has quit [Quit: Yoric]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
Modius has joined #ocaml
Modius has quit [Max SendQ exceeded]
Modius has joined #ocaml
threeve has joined #ocaml
Submarine has joined #ocaml
yakischloba has joined #ocaml
yakischloba has quit [Quit: Leaving.]
elehack has joined #ocaml
threeve has quit [Quit: threeve]
Plouj has joined #ocaml
<Plouj> hi
<Plouj> I'm unfamiliar with ocaml and I'm getting this error when building something with omake: http://fpaste.org/i3QW/
<Plouj> can someone help me figure out the problem? I actually have these files installed on my system: /usr/lib64/ocaml/caml/memory.h and /usr/lib64/ocaml/caml/fail.h
pimmhogeling has quit [Ping timeout: 272 seconds]
<mrvn> And where do you tell gcc to look there?
<Camarade_Tux> not sure why but: "gcc -I. -c -o ometastore_stub.o ometastore_stub.c" <- there should be a "-I/usr/lib64/ocaml", now, I'm not very familiar with omake unfortunately
<mrvn> You should have /usr/include/[x86_64-linux-gnu/]/caml/fail.h
<Camarade_Tux> does omake check "ocamlc -where"?
<Plouj> $ ocamlc -where
<Plouj> /usr/lib64/ocaml
<Plouj> mrvn: I don't know how that happens
yakischloba has joined #ocaml
<Plouj> the git repo is visible here:
<Plouj> I think this line: + gcc -I. -c -o ometastore_stub.o ometastore_stub.c
<Plouj> is missing -I/usr/lib64/ocaml
<Plouj> but I wouldn't know how to add that using OMakeFile
ned- has joined #ocaml
<Plouj> oh, got it
<Plouj> now the only error:
<Plouj> ocamlfind ocamlopt -package fileutils,unix -warn-error A -dtypes -warn-error x -inline 10 -S -I . -o find-git-repos.opt str.cmxa util.cmx folddir.cmx find-git-repos.cmx ometastore_stub.a -linkpkg
<Plouj> File "_none_", line 1, characters 0-1:
<Plouj> Error: Cannot find file /usr/lib64/ocaml/fileutils/fileutils.cmxa================================= ] 00038 / 00055
<Plouj> oh, I need the ocaml-fileutils-devel package
<Camarade_Tux> yup :-)
<Plouj> ok...
<Plouj> + ocamlfind ocamlopt -package fileutils,unix -warn-error A -dtypes -warn-error x -inline 10 -S -I . -o find-git-repos.opt str.cmxa util.cmx folddir.cmx find-git-repos.cmx ometastore_stub.a -linkpkg
<Plouj> File "_none_", line 1, characters 0-1:
<Plouj> that's an interesting error
<Plouj> Error: Files /usr/lib64/ocaml/str.cmxa and /usr/lib64/ocaml/str.cmxa============================== ] 00038 / 00055
<Plouj> both define a module named Str
<Camarade_Tux> there shouldn't be 'str.cmxa util.cmx' on the command-line
<Camarade_Tux> errr, on str.cmxa shouldn't be there, I misread the other one
<Plouj> shouldn't be where?
<Plouj> I tried commenting out: +#OCAML_OTHER_LIBS += str
<Plouj> but it lead to another error
<Plouj> + ocamlfind ocamlopt -package fileutils,unix -warn-error A -dtypes -warn-error x -inline 10 -S -I . -c ometastore.ml
<Plouj> File "ometastore.ml", line 263, characters 20-24:
<Plouj> Error: Expecting function has type Unix.file_perm -> unit==================================================================== ] 00049 / 00055
<Plouj> This argument cannot be applied with label ~parent
yakischloba has quit [Quit: Leaving.]
yakischloba has joined #ocaml
<Smerdyakov> Maybe you chose the non-labelly version of the Unix library, when you should have done the opposite?
yakischloba has quit [Ping timeout: 272 seconds]
<Plouj> Smerdyakov: I don't undrestand that that means :)
<Smerdyakov> How do you come to be figuring out how to build an OCaml package whose code you don't understand?
<Plouj> just following instructions on how to use gibak
<Plouj> thats what happens with crappy opensouce software
<Smerdyakov> I guess they should fix their build process.
<Smerdyakov> (and/or documentation)
<Plouj> yeah, it hasn't been updated for 2 years
<Smerdyakov> There are two versions of the Unix library. You may be linking the wrong one.
ikaros has quit [Quit: Leave the magic to Houdini]
ikaros has joined #ocaml
<Smerdyakov> Maybe you should follow the advice on the first line here: http://caml.inria.fr/pub/docs/manual-ocaml/libref/UnixLabels.html
<Smerdyakov> Or maybe there's some compiler flag to get the labels version by default.
<Smerdyakov> Or maybe you're already getting labels, and it's some weird API change.
threeve has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
smimou has quit [Quit: bli]
ikaros has quit [Quit: Leave the magic to Houdini]
elehack has quit [Ping timeout: 272 seconds]
smimou has joined #ocaml
yakischloba has joined #ocaml
DaveS has joined #ocaml
Modius has quit [Ping timeout: 248 seconds]
Yoric has joined #ocaml
joewilliams_away is now known as joewilliams
derdon has quit [Quit: derdon]
smimou has quit [Ping timeout: 246 seconds]
threeve has quit [Quit: threeve]
smimou has joined #ocaml
ikaros has joined #ocaml
Yoric has quit [Ping timeout: 248 seconds]
threeve has joined #ocaml
Yoric has joined #ocaml
sshc has quit [Ping timeout: 246 seconds]
sshc has joined #ocaml
ulfdoz_ has quit [Quit: Reconnecting]
ulfdoz has joined #ocaml
derdon has joined #ocaml
Yoric has quit [Quit: Yoric]
sshc_ has joined #ocaml
sshc has quit [Ping timeout: 252 seconds]
naufraghi has quit [Quit: naufraghi]
Yoric has joined #ocaml
thrasibule has joined #ocaml
_zack has quit [Quit: Leaving.]
Modius has joined #ocaml
Modius has quit [Max SendQ exceeded]
Modius has joined #ocaml
sshc_ has quit [Ping timeout: 252 seconds]
_unK has quit [Remote host closed the connection]
_unK has joined #ocaml
sshc has joined #ocaml
sshc has quit [Ping timeout: 240 seconds]
ned- has quit [Remote host closed the connection]
sshc has joined #ocaml
sshc has quit [Ping timeout: 246 seconds]
Yoric has quit [Quit: Yoric]
elehack has joined #ocaml
pimmhogeling has joined #ocaml
mjonsson has quit [Ping timeout: 246 seconds]
sshc has joined #ocaml
boscop has quit [Ping timeout: 240 seconds]
boscop has joined #ocaml
boscop has quit [Read error: Connection reset by peer]
boscop has joined #ocaml
<flux> plouj, if you hang around sufficiently, mfp might react..
Yoric has joined #ocaml
<Camarade_Tux> flux: that's what I thought too but I haven't seend mfp in days, he's maybe away
pimmhogeling has quit [Remote host closed the connection]
pimmhogeling has joined #ocaml
Drk-Sd has joined #ocaml
joewilliams is now known as joewilliams_away
smimou has quit [Quit: bli]
smimou has joined #ocaml
thrasibule has quit [Ping timeout: 260 seconds]
thrasibule has joined #ocaml
seafood has joined #ocaml
seafood has quit [Client Quit]
seafood has joined #ocaml
derdon has quit [Ping timeout: 248 seconds]
thrasibule has quit [Ping timeout: 240 seconds]
Amorphous has quit [Read error: Operation timed out]
Yoric has quit [Quit: Yoric]
thrasibule has joined #ocaml
derdon has joined #ocaml
elehack is now known as elehack|afk
seafood has quit [Quit: seafood]
Amorphous has joined #ocaml
ikaros_ has joined #ocaml
ikaros has quit [Ping timeout: 245 seconds]
boscop has quit [Read error: Connection reset by peer]
boscop has joined #ocaml
Submarine has quit [Quit: Leaving]
<flux> he was on on monday the last time, apparently