<raphael-p>
also, in case of confirmation, where should it be reported?
<ygrek>
raphael-p, indeed
<raphael-p>
I'll send a mail on the ocaml list (thx for confirmation ygrek)
jimmyrcom has joined #ocaml
<hcarty>
flux: Do you know of a list of configuration options for utop/lamdba-term?
<flux>
hcarty, no, but I put C-w: kill-prev-word\nM-b: prev-word\nM-f: next-word\n into ~/.lambda-term-inputrc
<flux>
hcarty, lambda-term-actions lists which actions are available
<hcarty>
flux: lambda-term-actions where?
<flux>
hcarty, it's a binary lambda-term module installs
<flux>
(ie. it's /usr/local/bin/lambda-term-actions for me)
lpereira has joined #ocaml
Anarchos has quit [Ping timeout: 240 seconds]
pdhborges has joined #ocaml
pdhborges has quit [Quit: Leaving.]
iratsu has quit [Remote host closed the connection]
fraggle_ has quit [Ping timeout: 240 seconds]
fraggle_ has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
ftrvxmtrx has joined #ocaml
fraggle_ has quit [Read error: Connection timed out]
fraggle_ has joined #ocaml
Anarchos has joined #ocaml
yroeht has quit [Read error: Operation timed out]
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
ftrvxmtrx has joined #ocaml
yroeht has joined #ocaml
ftrvxmtrx has quit [Client Quit]
BiDOrD_ has joined #ocaml
BiDOrD has quit [Ping timeout: 240 seconds]
ztfw has joined #ocaml
dnolen has joined #ocaml
<hcarty>
flux: Ah, it looks like my zed, lambda-term and utop are not the most up to date versions.
<hcarty>
Time to update oasis-db with the latest.
lpereira has quit [Quit: Leaving.]
sebz has joined #ocaml
Associat0r has quit [Quit: Associat0r]
surikator has joined #ocaml
ftrvxmtrx has joined #ocaml
surikator_ has joined #ocaml
surikator has quit [Read error: Connection reset by peer]
surikator_ is now known as surikator
surikator has quit [Quit: Scientific discovery is just maximal compression of random strings. Nothing more, nothing less.]
Reaganomicon has quit [Read error: Connection reset by peer]
joewilliams_away is now known as joewilliams
ocurl has joined #ocaml
<ocurl>
i try to use curl in my ocaml code, downloaded libcurl-ocaml and libcurl-ocaml-dev, but when using Curl.init() in my code i receive a unbound module exception
Reaganomicon has joined #ocaml
<raphael-p>
ocurl: using the top level or compiling module?
<ocurl>
i used this ocamlc -I +curl curl.cma simple.ml -o simple
<raphael-p>
I'd advised to use ocamlfind
<raphael-p>
the error happens at compile or run time ?
<ocurl>
at compile time
<ocurl>
how would you write that compile command with ocamlfind?
<raphael-p>
ocamlfind list |grep curl <-- to check ocamlfind can find the package
<ocurl>
doesnt find anything
<ocurl>
what did you install?
<raphael-p>
I'm on Archlinux and I simply installed ocaml-curl
<ocurl>
i downloaded the libcurl-ocaml is that wrong?
<hcarty>
ocurl: dpkg -l |grep ocaml lists libcurl-ocaml and libcurl-ocaml-dev?
<hcarty>
(assuming Debian or Ubuntu)
<ocurl>
ubuntu
<raphael-p>
ocurl: you need the -dev package
<ocurl>
it lists both
<hcarty>
ocurl: Do you have multiple OCaml installs by any chance?
<ocurl>
how can i see that?
<raphael-p>
slocate
<ocurl>
?
<raphael-p>
there's a useful command line tool called locate/slocate/mlocate (depending on which implementation you use) that allow you to locate files by name
<raphael-p>
you can use it to find every file named "ocamlc" on your computer
<ocurl>
this dpkg -l | grep ocaml found that my ocaml interp is version 3.11.2 but if i call ocaml i get 3.12?
<hcarty>
ocurl: Or 'which ocamlfind' to see if you are running something other than /usr/bin/ocamlfind
<hcarty>
Then you have multiple versions installed :-)
<ocurl>
how can i get rid of the old ones?
<hcarty>
It depends on what you want to keep and how you installed each version
<hcarty>
It sounds like one was installed with the Ubuntu packages (3.11.2) and 3.12.0 was installed some other way.
<hcarty>
If you want to use Ubuntu's packaged libraries then you should stick with the Ubunut-supplied version. If not, stick with however you installed 3.12.0
<ocurl>
i want to get rid of the ubuntu version and use the manually installed version
Snark has quit [Quit: Quitte]
<hcarty>
Remove any Ubuntu packages with ocaml (or caml) in the name
<ocurl>
sudo apt-get remove ocaml?
<hcarty>
ocurl: Along with all of the other OCaml-related packages you have installed (libraries, etc.)
<ocurl>
and then he finds my manually installed stuff?
<hcarty>
Your manually installed stuff seems to be found anyway
<ocurl>
but whats causing the problem then?
<hcarty>
You don't have ocurl installed manually
<hcarty>
You can't use the Ubuntu packages with your manually installed OCaml
<ocurl>
so my steps are now, calling apt-get remove ocaml (for all the ocaml things he finds) and then manually install libcurl-ocaml-dev
<ocurl>
?
<hcarty>
Manually install ocurl
<hcarty>
Not the Ubuntu package, but ocurl from source (assuming you installed OCaml from source)
<ocurl>
i installed now curl manually but still package curl not found
<ocurl>
if i compile like that:ocamlc -I +curl curl.cma simple.ml -o simple it works now
Smerdyakov has joined #ocaml
<ygrek>
you need to do : make OCAMLFIND=findlib install
<ygrek>
and I recommend you to stick to ubuntu packages
<ocurl>
not possible, have to work with ocaml 3.12 and thats not provided by ubuntu
<ygrek>
I bet there is some testing repo with 3.12
<ocurl>
i didnt found anything so i did it this way