gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
dnolen has joined #ocaml
BiDOrD has quit [Remote host closed the connection]
lopex has quit []
lamawithonel_ has quit [Remote host closed the connection]
lamawithonel_ has joined #ocaml
joewilliams_away is now known as joewilliams
romildo has joined #ocaml
<romildo> Hi.
<romildo> I want to install lambda-term on my gentoo linux system. I have downloaded the source from https://forge.ocamlcore.org/projects/lambda-term/, but I do not know how to install it. It comes with a setup.ml file, but it does not compile on my system. Any clues on how to install this package?
<thelema> romildo: ocaml setup.ml -configure && ocaml setup.ml -build && ocaml setup.ml -install
<thelema> (possibly the last one as root)
<romildo> $ ocaml setup.ml -configure
<romildo> I: Running command 'oasis setup-dev -run /usr/bin/ocaml setup.ml -configure'
<romildo> sh: oasis: command not found
<thelema> doh, it's the source controlled version, not a release.
<thelema> You'll need oasis installed to generate its build system properly
<thelema> you can download a binary release of oasis or use odb to install it (and its many deps) from source.
<thelema> first link is latest oasis (w/o binary release), second is previous release with binary release, last is odb, which can auto-build oasis (and other packages uploaded to oasis-db)
<thelema> sorry for the trouble - like autotools, oasis is meant to create an independent build system for others to use
<romildo> thelema, thanks for the info. I will try installing them another day.
<thelema> fair enough.
joewilliams is now known as joewilliams_away
dnolen has quit [Quit: dnolen]
romildo has left #ocaml []
mjonsson has joined #ocaml
RAW has joined #ocaml
impy has quit [Ping timeout: 276 seconds]
mjonsson has quit [Remote host closed the connection]
jamii has joined #ocaml
jamii has quit [Ping timeout: 240 seconds]
philtor has joined #ocaml
philtor has quit [Ping timeout: 240 seconds]
axiles has joined #ocaml
edwin has joined #ocaml
ygrek has joined #ocaml
nejimban has quit [Remote host closed the connection]
lpereira has joined #ocaml
Amorphous has quit [Read error: Connection reset by peer]
lpereira1 has joined #ocaml
lpereira has quit [Ping timeout: 258 seconds]
avsm has joined #ocaml
lpereira1 has quit [Read error: Connection reset by peer]
lpereira has joined #ocaml
edwin has quit [Remote host closed the connection]
edwin has joined #ocaml
Amorphous has joined #ocaml
ikaros has joined #ocaml
shachaf has quit [Ping timeout: 260 seconds]
lpereira has quit [Read error: Connection reset by peer]
lpereira has joined #ocaml
lpereira has quit [Quit: Leaving.]
ikaros has quit [Quit: Ex-Chat]
dnolen has joined #ocaml
ulfdoz has quit [Ping timeout: 258 seconds]
ulfdoz has joined #ocaml
lopex has joined #ocaml
robocop has joined #ocaml
<robocop> hey
<robocop> I'm trying to launch the cairo exemple ( http://cairographics.org/cairo-ocaml/ )
<robocop> do you know what command i 've to use ?
<robocop> i try ocaml -I +lablgtk2 -I +cairo cairotest.ml
<robocop> but it doesn't work
<mfp> robocop: try w/ #use "topfind";; #require "cairo";; (or whatever the lib is named) at the top of the file
<mfp> if you want to run it in the toplevel, that is. Otherwise, just compile with something like ocamlfind ocamlopt -package cairo -o cairotest cairotest.ml -linkpkg
<robocop> okey thanks
<robocop> i don't know why but i've this error : #use "topfind";;
<robocop> Cannot find file topfind.
<mfp> do you have ocaml-findlib installed?
<robocop> okey fixed :D
<robocop> thanks
<mfp> np
dnolen has quit [Quit: dnolen]
Tobu_ has quit [Quit: No Ping reply in 180 seconds.]
Tobu has joined #ocaml
lopex has quit [Ping timeout: 240 seconds]
lopex has joined #ocaml
ftrvxmtrx has joined #ocaml
ruien has joined #ocaml
rothwell has joined #ocaml
<rothwell> 'lo. quick question. i've defined a helper function in some C FFI code:
<rothwell> it's never called from ocaml directly (obviously), only by other ffi functions
<rothwell> i'm getting a warning "unused variable 'caml__frame'" when compiling it
<rothwell> it does appear to work correctly... is it anything to worry about?
shachaf has joined #ocaml
<adrien> can you show the complete code instead?
<rothwell> one sec...
<rothwell> io_error_code.h just defines a few constants, nothing special
<adrien> do you get the warning for the helper function or for the functions using it?
<rothwell> oh, for the functions using it, bizarrely... didn't notice that
<rothwell> i'm more concerned whether it's correct in the general case or not, rather than this piece of code i'm going to throw away anyway
<rothwell> can see myself needing to do this quite a bit
<rothwell> the manual does warn about spurious warnings
<adrien> I think you need to CAMLreturn, not return
<rothwell> ah yes, that squashed them
<rothwell> silly mistake
<rothwell> thanks
<adrien> :-)
rdouglass has joined #ocaml
explodus has quit [Ping timeout: 276 seconds]
explodus has joined #ocaml
ftrvxmtrx has quit [Read error: Operation timed out]
ftrvxmtrx has joined #ocaml
ztfw has joined #ocaml
eb4890 has joined #ocaml
rdouglass has quit [Quit: Leaving]
joewilliams_away is now known as joewilliams
ski has quit [Ping timeout: 258 seconds]
cizra2 has quit [Ping timeout: 250 seconds]
joewilliams is now known as joewilliams_away
cizra2 has joined #ocaml
ski has joined #ocaml
RAW is now known as impulse
ftrvxmtrx has quit [Read error: Connection reset by peer]
ftrvxmtrx has joined #ocaml
jamii has joined #ocaml
jamii has quit [Ping timeout: 252 seconds]
dnolen has joined #ocaml
ulfdoz has quit [Quit: deprecated]
* thelema is surprised batteries doesn't have a binary search
<thelema> (on arrays)
ulfdoz has joined #ocaml
Smerdyakov has joined #ocaml
ruien has quit [Quit: Leaving.]
Smerdyakov has quit [Quit: Leaving]
Tobu has quit [Ping timeout: 258 seconds]
jamii has joined #ocaml
ikaros has joined #ocaml
lamawithonel__ has joined #ocaml
lamawithonel_ has quit [Ping timeout: 240 seconds]
cthuluh has quit [Quit: !]
cthuluh has joined #ocaml
smerz has joined #ocaml
jamii has quit [Read error: Operation timed out]
<edwin> doesn't everyone use trees yet? :D
jderque has joined #ocaml
axiles has quit [Remote host closed the connection]
jamii has joined #ocaml
<thelema> edwin: I guess I could tree-ify the data, but I want to quickly find how many values in a collection are less than a given value
<thelema> and the data is originally in an array, so...
lopex has quit [Ping timeout: 255 seconds]
lopexx has joined #ocaml
jderque has quit [Quit: leaving]
lamawithonel has joined #ocaml
lamawithonel__ has quit [Ping timeout: 255 seconds]
lopexx has quit []
lopex has joined #ocaml
robocop has quit [Remote host closed the connection]
edwin has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 250 seconds]
jamii has quit [Ping timeout: 258 seconds]
jamii has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
jamii has quit [Ping timeout: 258 seconds]
jamii has joined #ocaml
ftrvxmtrx has joined #ocaml
avsm has quit [Quit: Leaving.]
lamawithonel_ has joined #ocaml
lamawithonel has quit [Ping timeout: 255 seconds]
lamawithonel_ has quit [Excess Flood]
dnolen has quit [Quit: dnolen]
lamawithonel_ has joined #ocaml
lamawithonel__ has joined #ocaml
lamawithonel_ has quit [Ping timeout: 255 seconds]
lamawithonel__ has quit [Excess Flood]
lamawithonel__ has joined #ocaml
lamawithonel__ has quit [Read error: Operation timed out]
lamawithonel__ has joined #ocaml
fraggle_ has quit [Quit: -ENOBRAIN]
fraggle_ has joined #ocaml
dnolen has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
dnolen has quit [Client Quit]
jamii has quit [Ping timeout: 258 seconds]
eb4890 has quit [Ping timeout: 250 seconds]
smerz has quit [Quit: Ex-Chat]
ulfdoz_ has joined #ocaml
jamii has joined #ocaml
ulfdoz has quit [Ping timeout: 246 seconds]
ulfdoz_ is now known as ulfdoz
ztfw has quit [Remote host closed the connection]