02:03
clog has joined #ocaml
02:21
suricator has joined #ocaml
02:31
valross has quit ["Ex-Chat"]
02:32
minddog has quit [Read error: 113 (No route to host)]
02:33
suricator has quit []
02:59
suricator has joined #ocaml
03:11
Pimm has joined #ocaml
03:21
ikaros has joined #ocaml
03:33
suricator has quit []
04:21
Submarine has quit ["Leaving"]
04:29
munga_ has quit [Read error: 113 (No route to host)]
04:44
Pimm has quit [Read error: 110 (Connection timed out)]
04:45
sgnb` has joined #ocaml
04:47
sgnb has quit [farmer.freenode.net irc.freenode.net]
04:51
Submarine has joined #ocaml
05:03
<
Submarine >
hi there
05:04
* Submarine
is looking for interns and grad students.
05:05
albacker has joined #ocaml
05:05
* Alpounet
is an undergrad
05:19
tmaeda is now known as tmaedaZ
05:33
Pimm has joined #ocaml
05:52
ttamttam has quit ["Leaving."]
06:10
_andre has joined #ocaml
06:26
Snark has joined #ocaml
06:29
zarvok has joined #ocaml
06:35
_unK has joined #ocaml
06:41
Submarine has quit ["Leaving"]
06:44
Dodek_ has joined #ocaml
06:44
<
Dodek_ >
i have a problem with ocaml compilation
06:45
<
Dodek_ >
ocamlc -o anagramy.byte anagramy.cmo klasy.cmo
06:45
<
Dodek_ >
Error while linking anagramy.cmo: Reference to undefined global `Klasy'
06:45
<
Dodek_ >
'Klasy' is the module i defined in klasy.ml/mli
06:47
ikaros has quit ["Leave the magic to Houdini"]
06:49
<
Yoric >
Change the order.
06:49
<
Yoric >
klasy.cmo should appear before anagramy.cmo
06:51
jimmyb2187 has left #ocaml []
06:54
jimmyb2187 has joined #ocaml
06:56
ttamttam has joined #ocaml
06:58
<
Dodek_ >
that works, thanks Yoric
06:58
<
Dodek_ >
it seems something is wrong with my Makefile
07:09
eldragon has joined #ocaml
07:17
tmaedaZ is now known as tmaeda
07:41
rwmjones has quit [Read error: 60 (Operation timed out)]
07:46
rwmjones has joined #ocaml
07:47
ikaros has joined #ocaml
07:58
Pimm has quit [Read error: 110 (Connection timed out)]
08:07
suricator has joined #ocaml
08:40
dmentre has quit ["Leaving."]
09:00
_zack has quit ["Leaving."]
09:04
Pimm has joined #ocaml
09:07
Alpounet has quit ["``Do what you think you can't do.'' -- E. Roosevelt"]
09:19
struktured has quit [Read error: 110 (Connection timed out)]
09:26
minddog has joined #ocaml
09:28
middayc has joined #ocaml
09:32
mishok13 has quit ["Stopping IRC chat... [OK]"]
09:59
suricator has quit [Read error: 110 (Connection timed out)]
10:19
lutter has joined #ocaml
10:23
minddog has quit [Read error: 60 (Operation timed out)]
10:39
joewilliams has joined #ocaml
10:57
slash_ has joined #ocaml
11:04
Amorphous has quit [Read error: 110 (Connection timed out)]
11:07
Amorphous has joined #ocaml
11:12
Associat0r has quit []
11:14
minddog has joined #ocaml
11:14
Asmadeus has quit [Read error: 60 (Operation timed out)]
11:18
Asmadeus has joined #ocaml
11:27
_andre has quit [Read error: 104 (Connection reset by peer)]
11:33
smimou has quit ["bli"]
11:46
struktured has joined #ocaml
11:52
_unK has quit [farmer.freenode.net irc.freenode.net]
11:52
tarbo2 has quit [farmer.freenode.net irc.freenode.net]
11:52
mehdid has quit [farmer.freenode.net irc.freenode.net]
11:53
_unK has joined #ocaml
11:54
mehdid has joined #ocaml
11:56
tarbo2 has joined #ocaml
11:57
slash_ has quit [farmer.freenode.net irc.freenode.net]
11:57
lutter has quit [farmer.freenode.net irc.freenode.net]
11:57
ikaros has quit [farmer.freenode.net irc.freenode.net]
11:57
jimmyb2187 has quit [farmer.freenode.net irc.freenode.net]
11:57
zarvok has quit [farmer.freenode.net irc.freenode.net]
11:57
Snark has quit [farmer.freenode.net irc.freenode.net]
11:57
schme has quit [farmer.freenode.net irc.freenode.net]
11:57
thieusoai has quit [farmer.freenode.net irc.freenode.net]
11:57
bzzbzz has quit [farmer.freenode.net irc.freenode.net]
11:58
jonafan_ has joined #ocaml
12:00
flx_ has joined #ocaml
12:01
minddog has quit [farmer.freenode.net irc.freenode.net]
12:01
jonafan has quit [farmer.freenode.net irc.freenode.net]
12:01
RSchulz has quit [farmer.freenode.net irc.freenode.net]
12:01
orbitz has quit [farmer.freenode.net irc.freenode.net]
12:01
mbishop has quit [farmer.freenode.net irc.freenode.net]
12:01
flux has quit [farmer.freenode.net irc.freenode.net]
12:08
jonafan_ is now known as jonafan
12:08
orbitz has joined #ocaml
12:08
minddog has joined #ocaml
12:08
RSchulz has joined #ocaml
12:08
diginux has quit [Remote closed the connection]
12:08
diginux has joined #ocaml
12:08
flx_ is now known as flux
12:09
acatout has quit [Read error: 110 (Connection timed out)]
12:17
albacker has quit ["k"]
12:28
acatout has joined #ocaml
12:28
slash_ has joined #ocaml
12:28
ikaros has joined #ocaml
12:28
jimmyb2187 has joined #ocaml
12:28
zarvok has joined #ocaml
12:28
Snark has joined #ocaml
12:28
schme has joined #ocaml
12:28
thieusoai has joined #ocaml
12:28
bzzbzz has joined #ocaml
12:32
ulfdoz has joined #ocaml
12:36
Alpounet has joined #ocaml
12:37
suricator has joined #ocaml
12:47
rbancroft has quit [Read error: 110 (Connection timed out)]
12:53
Snark has quit ["Ex-Chat"]
12:58
ulfdoz has quit [farmer.freenode.net irc.freenode.net]
12:58
flux has quit [farmer.freenode.net irc.freenode.net]
12:58
trav has quit [farmer.freenode.net irc.freenode.net]
12:58
tonyIII has quit [farmer.freenode.net irc.freenode.net]
12:58
tab_ has quit [farmer.freenode.net irc.freenode.net]
12:58
noj has quit [farmer.freenode.net irc.freenode.net]
12:58
safire has quit [farmer.freenode.net irc.freenode.net]
12:58
det has quit [farmer.freenode.net irc.freenode.net]
12:58
joewilliams has quit [farmer.freenode.net irc.freenode.net]
12:58
ttamttam has quit [farmer.freenode.net irc.freenode.net]
12:58
mrvn has quit [farmer.freenode.net irc.freenode.net]
12:58
shr3kst3r has quit [farmer.freenode.net irc.freenode.net]
12:58
Camarade_Tux has quit [farmer.freenode.net irc.freenode.net]
12:58
sgnb` has quit [farmer.freenode.net irc.freenode.net]
12:58
suricator has quit [farmer.freenode.net irc.freenode.net]
12:58
diginux has quit [farmer.freenode.net irc.freenode.net]
12:58
RSchulz has quit [farmer.freenode.net irc.freenode.net]
12:58
minddog has quit [farmer.freenode.net irc.freenode.net]
12:58
mehdid has quit [farmer.freenode.net irc.freenode.net]
12:58
Asmadeus has quit [farmer.freenode.net irc.freenode.net]
12:58
WuJiang has quit [farmer.freenode.net irc.freenode.net]
12:58
hyperboreean has quit [farmer.freenode.net irc.freenode.net]
12:58
nimred has quit [farmer.freenode.net irc.freenode.net]
12:58
infoe_ has quit [farmer.freenode.net irc.freenode.net]
12:58
lanaer has quit [farmer.freenode.net irc.freenode.net]
12:58
Mr_Awesome has quit [farmer.freenode.net irc.freenode.net]
12:58
Leonidas has quit [farmer.freenode.net irc.freenode.net]
13:02
suricator has joined #ocaml
13:02
ulfdoz has joined #ocaml
13:02
diginux has joined #ocaml
13:02
RSchulz has joined #ocaml
13:02
minddog has joined #ocaml
13:02
flux has joined #ocaml
13:02
mehdid has joined #ocaml
13:02
Asmadeus has joined #ocaml
13:02
joewilliams has joined #ocaml
13:02
ttamttam has joined #ocaml
13:02
sgnb` has joined #ocaml
13:02
trav has joined #ocaml
13:02
WuJiang has joined #ocaml
13:02
tonyIII has joined #ocaml
13:02
safire has joined #ocaml
13:02
tab_ has joined #ocaml
13:02
noj has joined #ocaml
13:02
det has joined #ocaml
13:02
mrvn has joined #ocaml
13:02
shr3kst3r has joined #ocaml
13:02
Camarade_Tux has joined #ocaml
13:02
Leonidas has joined #ocaml
13:02
Mr_Awesome has joined #ocaml
13:02
hyperboreean has joined #ocaml
13:02
nimred has joined #ocaml
13:02
lanaer has joined #ocaml
13:02
infoe_ has joined #ocaml
13:02
ulfdoz has quit [Read error: 60 (Operation timed out)]
13:06
suricator has quit []
13:10
eldragon has left #ocaml []
13:16
ikaros has quit ["Leave the magic to Houdini"]
13:20
lutter has joined #ocaml
13:26
Pimm has quit [Read error: 110 (Connection timed out)]
13:30
ulfdoz has joined #ocaml
13:31
sgnb` is now known as sgnb
13:34
tarbo2 has quit [farmer.freenode.net irc.freenode.net]
13:34
slash_ has quit [Client Quit]
13:37
jimmyb2187 has quit [farmer.freenode.net irc.freenode.net]
13:37
thieusoai has quit [farmer.freenode.net irc.freenode.net]
13:37
zarvok has quit [farmer.freenode.net irc.freenode.net]
13:37
bzzbzz has quit [farmer.freenode.net irc.freenode.net]
13:37
schme has quit [farmer.freenode.net irc.freenode.net]
13:37
acatout has quit [farmer.freenode.net irc.freenode.net]
13:38
Yoric has joined #ocaml
13:39
tarbo2 has joined #ocaml
13:41
acatout has joined #ocaml
13:41
bzzbzz has joined #ocaml
13:41
schme has joined #ocaml
13:43
tarbo2 has quit [farmer.freenode.net irc.freenode.net]
13:43
Submarine has joined #ocaml
13:44
tarbo2 has joined #ocaml
13:46
aklt has joined #ocaml
13:50
thieusoai has joined #ocaml
13:54
ttamttam has quit ["Leaving."]
13:54
zarvok has joined #ocaml
13:55
ikaros has joined #ocaml
13:55
acatout has quit [farmer.freenode.net irc.freenode.net]
13:55
ulfdoz has quit [farmer.freenode.net irc.freenode.net]
13:55
flux has quit [farmer.freenode.net irc.freenode.net]
13:55
trav has quit [farmer.freenode.net irc.freenode.net]
13:55
tab_ has quit [farmer.freenode.net irc.freenode.net]
13:55
tonyIII has quit [farmer.freenode.net irc.freenode.net]
13:55
noj has quit [farmer.freenode.net irc.freenode.net]
13:55
safire has quit [farmer.freenode.net irc.freenode.net]
13:55
det has quit [farmer.freenode.net irc.freenode.net]
13:55
mrvn has quit [farmer.freenode.net irc.freenode.net]
13:55
shr3kst3r has quit [farmer.freenode.net irc.freenode.net]
13:55
Camarade_Tux has quit [farmer.freenode.net irc.freenode.net]
13:55
joewilliams has quit [farmer.freenode.net irc.freenode.net]
13:55
sgnb has quit [farmer.freenode.net irc.freenode.net]
13:55
aklt has quit [farmer.freenode.net irc.freenode.net]
13:55
WuJiang has quit [farmer.freenode.net irc.freenode.net]
13:55
mehdid has quit [farmer.freenode.net irc.freenode.net]
13:55
hyperboreean has quit [farmer.freenode.net irc.freenode.net]
13:55
Leonidas has quit [farmer.freenode.net irc.freenode.net]
13:55
RSchulz has quit [farmer.freenode.net irc.freenode.net]
13:55
nimred has quit [farmer.freenode.net irc.freenode.net]
13:55
infoe_ has quit [farmer.freenode.net irc.freenode.net]
13:55
lanaer has quit [farmer.freenode.net irc.freenode.net]
13:55
Mr_Awesome has quit [farmer.freenode.net irc.freenode.net]
13:55
diginux has quit [farmer.freenode.net irc.freenode.net]
13:55
minddog has quit [farmer.freenode.net irc.freenode.net]
13:55
Asmadeus has quit [farmer.freenode.net irc.freenode.net]
13:56
aklt has joined #ocaml
13:56
acatout has joined #ocaml
13:56
ulfdoz has joined #ocaml
13:56
diginux has joined #ocaml
13:56
RSchulz has joined #ocaml
13:56
minddog has joined #ocaml
13:56
flux has joined #ocaml
13:56
mehdid has joined #ocaml
13:56
Asmadeus has joined #ocaml
13:56
sgnb has joined #ocaml
13:56
trav has joined #ocaml
13:56
WuJiang has joined #ocaml
13:56
infoe_ has joined #ocaml
13:56
lanaer has joined #ocaml
13:56
nimred has joined #ocaml
13:56
hyperboreean has joined #ocaml
13:56
Mr_Awesome has joined #ocaml
13:56
Leonidas has joined #ocaml
13:56
Camarade_Tux has joined #ocaml
13:56
shr3kst3r has joined #ocaml
13:56
mrvn has joined #ocaml
13:56
det has joined #ocaml
13:56
noj has joined #ocaml
13:56
tab_ has joined #ocaml
13:56
safire has joined #ocaml
13:56
tonyIII has joined #ocaml
13:59
jimmyb2187 has joined #ocaml
14:06
my007ms has joined #ocaml
14:07
ulfdoz has quit [Read error: 60 (Operation timed out)]
14:10
_unK has quit [Remote closed the connection]
14:11
middayc has quit ["ChatZilla 0.9.85 [Firefox 3.5.5/20091102152451]"]
14:15
ulfdoz has joined #ocaml
14:16
_unK has joined #ocaml
14:22
ezyang has joined #ocaml
14:23
zarvok has left #ocaml []
14:42
Submarine has quit [Read error: 60 (Operation timed out)]
14:56
thrasibule has joined #ocaml
15:07
sramsay has joined #ocaml
15:17
lutter has quit ["Leaving."]
15:28
catmouse has joined #ocaml
15:53
toast-opt has joined #ocaml
15:55
Alpounet has quit [Read error: 113 (No route to host)]
16:10
Alpounet has joined #ocaml
16:18
ulfdoz has quit [Read error: 110 (Connection timed out)]
16:20
suricator has joined #ocaml
16:30
smimou has joined #ocaml
16:33
schme has quit [Read error: 104 (Connection reset by peer)]
16:33
schme has joined #ocaml
16:37
thrasibule has quit [Read error: 110 (Connection timed out)]
16:40
Alpounet has quit ["``Do what you think you can't do.'' -- E. Roosevelt"]
16:41
Alpounet has joined #ocaml
16:57
Boney has joined #ocaml
16:57
<
Boney >
Hi, I don't know ocaml, I can (almost) read it and I havn't tried writing it.
16:57
<
Boney >
Someone has shared their code with me and I'm trying to build it.
16:57
<
Boney >
It uses xml-light.
16:58
<
Boney >
I've installed xml-light with apt-get install libxml-light-ocaml-dev
16:58
<
Boney >
I'm trying to build the project with 'ocamlbuild main.native'.
16:58
ezyang has left #ocaml []
17:01
<
Boney >
You can see how it fails.
17:02
<
Boney >
I tried the -I and -lib options for ocamlbuild also, it still fails, this is also shown in the paste.
17:02
<
Boney >
How am I supposed to build ocaml projects that depend on libraries.
17:12
sramsay has quit [Read error: 145 (Connection timed out)]
17:16
<
pad >
try ocamlc -c -I /usr/lib/ocaml/xml-light Fluid.mli
17:16
<
pad >
do you get some error too ?
17:19
<
Boney >
pbone@taura:/home/taura/workspaces/pbone/kidney/src_ocaml$ ocamlc -I /usr/lib/ocaml/xml-light/ Fluid.mli
17:19
<
Boney >
pbone@taura:/home/taura/workspaces/pbone/kidney/src_ocaml$ echo $?
17:19
<
Boney >
so that works.
17:19
<
Boney >
it puts a cmi file in my local directory.
17:19
<
pad >
it was just to check that you actually have the xml-light ocaml library
17:20
<
Boney >
yep. fair enough, so we know I've got the right library, and that that is the right path, and I can compile against it.
17:20
<
pad >
I dont know ocamlbuild so I can not help about your other issue
17:20
<
Boney >
what do you use?
17:20
<
pad >
there is no Makefile in your source ?
17:20
<
Boney >
I don't know what I'm supposed to be using.
17:20
<
Boney >
nope. this was sent to me without a Makefile.
17:21
<
pad >
then ask for one ...
17:21
<
Boney >
.ml .mli files, _build directory (created by ocamlbuild) and I was also sent some data files.
17:22
<
pad >
otherwise ocamlc -o mybinary module1.ml module2.ml ... -I ... xml.cma should work
17:22
<
Boney >
Okay, I'll do that, I didn't know what was normal for the ocaml community.
17:22
<
pad >
make is normal
17:22
ikaros has quit ["Leave the magic to Houdini"]
17:22
<
Boney >
(honnestly, I'm a little annoyed that I didn't receive a Makefile or README file).
17:31
<
mfp >
Boney: have you tried ocamlbuild -I +xml-light -lib xml-light main.native ?
17:32
toast-opt has quit []
17:32
<
mfp >
doesn't work with dummy test prog :-( /me doesn't like ocamlbuild
17:39
<
mfp >
this might work ocamlbuild -cflags -I,+xml-light -lflags -I,+xml-light -lib xml-light main.native
17:54
<
Boney >
mfp: Thankyou!
17:54
<
Boney >
that second one worked.
17:54
<
Boney >
pbone@taura:/home/taura/workspaces/pbone/kidney/src_ocaml$ file _build/main.native
17:54
<
Boney >
_build/main.native: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
18:34
minddog has quit [Remote closed the connection]
18:34
pad has quit [Remote closed the connection]
18:35
rumbleca has joined #ocaml
18:40
minddog has joined #ocaml
19:20
<
WuJiang >
Is there any OCaml project going on here
19:23
<
mrvn >
No, all ocaml projects are done in #haskell.
19:23
<
WuJiang >
thanks, mrvn
19:25
<
WuJiang >
what are you guys using OCaml to work on
19:25
<
WuJiang >
anything interesting
19:25
<
mrvn >
fuse filesystem
19:26
<
WuJiang >
sounds cool
19:27
<
WuJiang >
anything else
19:28
<
WuJiang >
what web browser
19:29
<
julm >
it is a
_young_ project though
19:30
<
WuJiang >
is this one
19:33
<
julm >
by the way if you want to have a list of what is done in ocaml, browsing ocamlforge.org is a good start
19:33
<
WuJiang >
thank you very much, this really helps a lot
19:40
minddog has quit [Read error: 110 (Connection timed out)]
19:44
suricator has quit []
19:51
mbishop has joined #ocaml
20:02
ozzloy has quit [Remote closed the connection]
20:02
ozzloy has joined #ocaml
20:41
Associat0r has joined #ocaml
20:46
aklt has quit ["leaving"]
20:54
minddog has joined #ocaml
21:30
bogen has joined #ocaml
21:51
_unK has quit [Remote closed the connection]
22:40
<
det >
How to allocate an array of X strings from C?
22:40
<
mrvn >
Error: Unbound value erm
22:40
<
det >
caml_alloc(X, No_scan_tag)
22:40
<
det >
is that right ?
22:42
<
mrvn >
"Arrays of integers and pointers are represented like tuples, that is, as pointers to blocks tagged 0. They are accessed with the Field macro for reading and the modify function for writing."
22:42
<
det >
I just read that :-)
22:42
<
det >
caml_alloc_tuple(X) it is :-)
22:43
<
det >
That's the beauty of asking on IRC
22:43
<
det >
it guarentees I will figure it out myself seconds to minutes after asking
22:43
<
mrvn >
or caml_alloc_array
22:44
<
det >
That seems more like SML's tabulate
22:44
<
mrvn >
oh no. never mind. That does something else.
22:44
<
det >
I forget what Ocaml calls it
22:44
<
det >
maybe init or create
22:45
<
mrvn >
Its more like Array.map, except it takes a C array with NULL terminator as input.
22:46
<
det >
that is far different
22:47
<
mrvn >
Probably only there because it is used to create the Sys.argv or something. Doesn't seem to usefull.
22:48
<
mrvn >
So caml_alloc_tuple(X) and then caml_alloc_string + modify for each element.
22:48
<
det >
I've done it before, but this knowledge just doesnt stick. :<
23:57
jlouis has quit [Remote closed the connection]
23:57
jlouis has joined #ocaml