hcarty changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html
tmaeda is now known as tmaedaZ
jeddhaberstro has quit [Client Quit]
jeddhaberstro has joined #ocaml
onigiri has quit []
tmaedaZ is now known as tmaeda
slash_ has quit [Client Quit]
julm_ has joined #ocaml
tmaeda is now known as tmaedaZ
julm__ has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
julm__ is now known as julm
julm_ has quit [Read error: 113 (No route to host)]
orbitz has quit [hubbard.freenode.net irc.freenode.net]
nimred has quit [hubbard.freenode.net irc.freenode.net]
xevz has quit [hubbard.freenode.net irc.freenode.net]
|Jedai| has quit [hubbard.freenode.net irc.freenode.net]
authentic has quit [hubbard.freenode.net irc.freenode.net]
tarbo2 has quit [hubbard.freenode.net irc.freenode.net]
orbitz has joined #ocaml
authentic has joined #ocaml
xevz has joined #ocaml
Jedai has joined #ocaml
tarbo2 has joined #ocaml
nimred has joined #ocaml
jeddhaberstro has quit [Client Quit]
verte has joined #ocaml
caligula_ has joined #ocaml
caligula__ has quit [Read error: 145 (Connection timed out)]
kaustuv_ has joined #ocaml
kaustuv_` has quit [Read error: 110 (Connection timed out)]
Foolish has joined #ocaml
<hcarty> Sedrikov: The GODI Cairo package should not depend on lablgtk, only lablgtk2.
pandamonial has joined #ocaml
caligula__ has joined #ocaml
Foolish has quit [Client Quit]
ski_ has joined #ocaml
caligula_ has quit [Read error: 110 (Connection timed out)]
verte has quit ["~~~ Crash in JIT!"]
ttamttam has joined #ocaml
f[x] has joined #ocaml
ttamttam has quit ["Leaving."]
ttamttam has joined #ocaml
onigiri has joined #ocaml
onigiri has quit []
smimou has joined #ocaml
hkBst has joined #ocaml
mjs22 has joined #ocaml
yurug has quit ["KVIrc Insomnia 4.0.0, revision: , sources date: 20090115, built on: 2009/03/07 02:39:30 UTC http://www.kvirc.net/"]
Alpounet has joined #ocaml
_zack has joined #ocaml
mjs22 has quit []
dmentre has joined #ocaml
f[x] has quit [Read error: 110 (Connection timed out)]
_zack has quit ["Leaving."]
_zack has joined #ocaml
Jedai has quit ["KVIrc Insomnia 4.0.0, revision: , sources date: 20090115, built on: 2009/03/07 00:45:02 UTC http://www.kvirc.net/"]
_zack has quit [Read error: 113 (No route to host)]
_zack has joined #ocaml
_zack has quit ["Leaving."]
julm has quit ["patacrayp \o/"]
nimred has quit ["leaving"]
nimred has joined #ocaml
_zack has joined #ocaml
Camarade_Tux has quit [Remote closed the connection]
_zack has quit ["Leaving."]
_zack has joined #ocaml
Camarade_Tux has joined #ocaml
dmentre1 has joined #ocaml
dmentre has quit [Read error: 104 (Connection reset by peer)]
_zack has quit ["Leaving."]
kaustuv_ is now known as kaustuv
Snark has joined #ocaml
stan_ has joined #ocaml
deavid has quit [SendQ exceeded]
deavid has joined #ocaml
kaustuv_ has joined #ocaml
sergeykish has joined #ocaml
komar__ has quit [Read error: 113 (No route to host)]
kaustuv has quit [Read error: 110 (Connection timed out)]
komar__ has joined #ocaml
_andre has joined #ocaml
komar__ has quit [Read error: 110 (Connection timed out)]
mehdid_ is now known as mehdid
stan_ has quit [Client Quit]
komar__ has joined #ocaml
ttamttam has quit ["Leaving."]
f[x] has joined #ocaml
Snark has quit ["Ex-Chat"]
Snark has joined #ocaml
ttamttam has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
abiogenesis has joined #ocaml
munga has quit [Read error: 104 (Connection reset by peer)]
verte has joined #ocaml
Narrenschiff has joined #ocaml
julm has joined #ocaml
verte_ has joined #ocaml
verte has quit [Nick collision from services.]
verte_ is now known as verte
ski_ has quit ["Lost terminal"]
sergeykish_ has joined #ocaml
Narrenschiff has quit []
ski_ has joined #ocaml
<sergeykish_> Hello, I want to install LisFS http://lfs.irisa.fr/. It require Ocaml 3.0[8,9] and BerkleyDB 4.3. Current OS (Ubuntu 9.04) doesn't have db4.3 in repos, so I build packages from source.
<sergeykish_> Now ./configure say "Berkley DB is present", but make ...
dmentre1 has quit ["Leaving."]
<sergeykish_> Here is the make output http://pastie.org/613652
<sergeykish_> One more thing - I use Ocaml 3.10.2
<thelema> that's unlikely the problem.
<thelema> BDB references something that ocamlc isn't finding.
<thelema> it's missing a .ml file
<thelema> (or somehow some part of bdb.ml is missing)
<thelema> try going to lfs0.4b3/ocamlbdb and running ocamlbuild bdb.byte
sergeykish has quit [Read error: 110 (Connection timed out)]
sergeykish has joined #ocaml
<sergeykish> Sorry, disconnected
<sergeykish> I'll retype
<sergeykish> I want to install LisFS http://lfs.irisa.fr/. It require Ocaml 3.0[8,9] and BerkleyDB 4.3. Current OS (Ubuntu 9.04) doesn't have db4.3 in repos, so I build packages from source.
<sergeykish> Also I comment version check in configure (use OCaml 3.10.2). Now ./configure say "Berkley DB is present", but make return error http://pastie.org/613652. How can I fix it? There I can find Berkley DB OCaml bindings?
<thelema> 11:31 < thelema> try going to lfs0.4b3/ocamlbdb and running ocamlbuild bdb.byte
<sergeykish> Unbound constructor DB_NOTFOUND
<sergeykish> same
<thelema> same command line?
<thelema> anyway, it's missing a .ml file somewhere (possibly a dependency)
<sergeykish> same result
<thelema> try grepping for that string
<thelema> is there a line "type ... = | DB_NOTFOUND | ...
<sergeykish> there is no such line
<thelema> what files does that string appear in?
sergeykish_ has quit [Read error: 110 (Connection timed out)]
<sergeykish> a lot of DB_NOTFOUND can be found in BerkleyDB
<sergeykish> ok, I have several versions
<sergeykish> fust to check "!!!! The program ocaml is missing or is not a good version. We need at least 3.08 !!!!" is a stupid error mean "person does't look at the future" right?
<thelema> yes
<thelema> using a 3.08 compiler wouldn't affect the error you're getting.
Sedrikov has quit ["Page closed"]
<sergeykish> here is the output of make 0.3 http://pastie.org/613688
verte has quit [Read error: 60 (Operation timed out)]
blue_prawn has joined #ocaml
<blue_prawn> hello
<thelema> hi
<blue_prawn> the batteries rpm is now in mandriva-cooker
<thelema> yay!
verte has joined #ocaml
<blue_prawn> but it doesn't include the documentation, I couldn't get it generated
<thelema> the documentation generation is oddly ugly
<blue_prawn> would you have time now to check the error message ?
<thelema> sure
smimou has quit ["bli"]
abiogenesis has quit ["ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 *** Segmentation fault ***"]
<blue_prawn> here is the error message I get : http://pastebin.com/m2c32e0ae
<thelema> wow, that's a good error.
<thelema> I think yoric will know more about this.
<blue_prawn> OK, I will ask him then
<blue_prawn> in the readme of batteries it says that for inclusion GPL is not right, but ocaml-pcre is GPL, so would other GPL libs could be accepted for inclusion ?
<thelema> we want batteries available under the same license as ocaml stdlib.
<thelema> if ocaml-pcre is GPL, we'd avoid it. A fork could be done for license reasons, that would include GPLed libraries as well as LGPL+ libraries
<sergeykish> Version 0.4b2 compiled, but Segmentation fault
<blue_prawn> I've just checked ocaml-pcre is right LGPL, it is an error in the license field of the mandriva package
willb has quit [Read error: 110 (Connection timed out)]
tmaedaZ is now known as tmaeda
robocop has joined #ocaml
<robocop> hello
<thelema> hi
<robocop> Do you have a file myocamlbuild to use sdl with ocamlbuild ?
<robocop> *myocamlbuild.ml
<robocop> I don't now how to do this
* thelema is finding
<robocop> thanks :)
<thelema> try this: http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=batteries/batteries.git;a=blob_plain;f=myocamlbuild.ml;hb=master
<robocop> else, I've got this file : http://paste.pocoo.org/show/139251/
<thelema> I assume sdl is installed using findlib
<thelema> your myocamlbuild will do the same for sdl
<thelema> run [ocamlfind list | grep sdl] to find the name of the ocamlfind package
<robocop> ok
<thelema> and then add "<*>: pkg_<packagename>" into your _tags file
<robocop> I've got this : sdl (version: 0.7.2)
<robocop> sdl.sdlimage (version: n/a)
<robocop> sdl.sdlmixer (version: n/a)
<robocop> sdl.sdlttf (version: n/a)
<thelema> pkg_sdl
<robocop> ok
<robocop> on my file, or on your file ?
<thelema> in _tags
<thelema> either will work, yours is likely better for you because it's not so complex
<robocop> okey, thanks
<robocop> hum
<robocop> I had to add here : List.iter begin fun pkg -> flag ["ocaml"; "compile"; "pkg_"^pkg] & S[A"-package"; A pkg]; ?
<thelema> eh? don't edit the myocamlbuild file
<robocop> ha ok :p
<thelema> edit a file called "_tags", and put "<*>: pkg_sdl" in it.
<robocop> okey, thanks :p
<thelema> if you need sdlimage, sdlmixer, or sdlttf, there's more, but you might guess
ttamttam has quit ["Leaving."]
onigiri has joined #ocaml
onigiri has quit []
onigiri has joined #ocaml
onigiri has quit [Client Quit]
sramsay has joined #ocaml
ulfdoz has joined #ocaml
verte has quit ["~~~ Crash in JIT!"]
willb has joined #ocaml
mol has joined #ocaml
pandamonial has quit [Read error: 113 (No route to host)]
ttamttam has joined #ocaml
slash_ has joined #ocaml
tmaeda has quit ["Quit Nadoka 0.7.1-trunk (rev: 187) - http://www.atdot.net/nadoka/"]
Snark has quit ["Ex-Chat"]
ttamttam has quit ["Leaving."]
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
ttamttam has joined #ocaml
julm_ has joined #ocaml
Jedai has joined #ocaml
ttamttam has quit ["Leaving."]
ttamttam has joined #ocaml
ttamttam has quit [Remote closed the connection]
julm has quit [Nick collision from services.]
julm_ is now known as julm
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
ttamttam has joined #ocaml
Yoric[DT] has joined #ocaml
Yoric[DT] has quit [Client Quit]
peddie has quit [Read error: 113 (No route to host)]
tmaedaZ has joined #ocaml
tmaedaZ is now known as tmaeda
ttamttam has quit ["Leaving."]
ttamttam has joined #ocaml
komar__ has quit [Read error: 110 (Connection timed out)]
blue_prawn has quit ["Client exiting"]
ttamttam has quit ["Leaving."]
hsuh has joined #ocaml
skinnylover has joined #ocaml
komar__ has joined #ocaml
_andre has quit ["leaving"]
Associat0r has joined #ocaml
kaustuv_` has joined #ocaml
skinnylover has left #ocaml []
schme has quit [Read error: 104 (Connection reset by peer)]
schme has joined #ocaml
f[x] has quit [Read error: 60 (Operation timed out)]
robocop has quit [Remote closed the connection]
|Jedai| has joined #ocaml
kaustuv_ has quit [Read error: 110 (Connection timed out)]
skinnylover has joined #ocaml
|Jedai| has quit [Read error: 60 (Operation timed out)]
|Jedai| has joined #ocaml
patronus has quit ["leaving"]
Jedai has quit [Read error: 110 (Connection timed out)]
Ori_B_ is now known as Ori_B
<sergeykish> I've compiled lfs0.3 (using git clean -fd && rm commons/common.mli) but again get Segmentation fault :(
patronus has joined #ocaml
<sergeykish> How can I find problem?
<kaustuv_`> sergeykish: what is lfs?
<flux> I tried lfs out too, some time ago
sramsay has quit [Remote closed the connection]
<flux> its stability indeed wasn't impressive
<flux> and as ocaml programs sigsegv very, very rarely, I'm thinking their c-library interfaces need some love..
mol has quit ["Leaving"]
<sergeykish> It shipped with BDB and FUSE bindings, I want remove it
hsuh has left #ocaml []
<sergeykish> also what you think about OCamlMakeFile?
<flux> in general?
<flux> I've used it many times, it's quite nice
<flux> once discovering a proper myocamlbuild.ml for ocamlfind support I've just used ocamlbuild
<kaustuv_`> ugh, it has hardcoded dependencies on ocaml 3.0[89].
<kaustuv_`> it being LFS 0.4beta3
<sergeykish> yes, and I compile it
Associat0r has quit []
<kaustuv_`> make coredemo produces something that runs
<kaustuv_`> without a segfault
<sergeykish> * yes, and I can't compile it - http://pastie.org/613678
<sergeykish> coredemo runs on both 0.3 and 0.4b2
<kaustuv_`> you need to track down the author, I think.
kaustuv_` is now known as kaustuv
<flux> sergeykish, you could possibly make out something of the segv too
<flux> sergeykish, enable core dumps with ulimit -c unlimited and run gdb binary core once you have the crash
<flux> mind you, likely only the author is able to help you with that, but it's likely something he'd like to see :)
|Jedai| has quit [Read error: 110 (Connection timed out)]
monadic_kid has joined #ocaml
monadic_kid has quit ["Leaving"]
<sergeykish> thanks
pandamonial has joined #ocaml
<flux> sergeykish, oh, right, after running gdb you also want to issue 'bt'
<sergeykish> flux: I run gdb first time in the life, 'bt' ...
<sergeykish> googling
<Camarade_Tux> how to quit gdb after a segfault : ^D^D^D :)
pandamonial has quit []
<sergeykish> Amazing! It just working http://pastie.org/614139
<flux> I'm guessing it hasn't registed the exception before ending that point
Smerdyakov has joined #ocaml
<flux> in any case
<flux> it's already failing :-)
<flux> so instead of raising BDBSystemError it segfaults
<flux> maybe you can fix the reason why BDB is failing
alp_ has joined #ocaml
alp_ has quit [Read error: 54 (Connection reset by peer)]
<Camarade_Tux> anyone used ocaml-dbus?
<Camarade_Tux> I'm just curious ;)
<Camarade_Tux> (and there is no godi package for it I think :P )
ulfdoz has quit [Read error: 110 (Connection timed out)]
hkBst has quit [Read error: 104 (Connection reset by peer)]
skinnylover has left #ocaml []
willb has quit [Read error: 60 (Operation timed out)]
mal`` has quit [Remote closed the connection]
ergodick has joined #ocaml
mal`` has joined #ocaml
julm_ has joined #ocaml
onigiri has joined #ocaml
julm has quit [Nick collision from services.]
julm_ is now known as julm
Ppjet6 has joined #ocaml
Ppjet6 is now known as Pepe_
ergodick has left #ocaml []
<sergeykish> I have a problem with Godi install - PCRE not found, add flag to godi.conf doesn't help
<kaustuv> GODI depends on the pcre library (apt-get install libpcre3-dev or equivalent)
Smerdyakov has quit ["Leaving"]
th1_ has quit [Remote closed the connection]
<sergeykish> thanks