gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 248 seconds]
ulfdoz_ is now known as ulfdoz
sebz has quit [Quit: Computer has gone to sleep.]
ikaros has quit [Quit: Ex-Chat]
sebz has joined #ocaml
mnabil has quit [Ping timeout: 244 seconds]
mnabil has joined #ocaml
reynir has joined #ocaml
reynir has quit [Ping timeout: 240 seconds]
oriba has quit [Quit: oriba]
bzzbzz has quit [Read error: Connection reset by peer]
bzzbzz has joined #ocaml
arubin has quit [Ping timeout: 260 seconds]
arubin has joined #ocaml
sebz has quit []
Drakken has joined #ocaml
Emmanueloga has left #ocaml []
roconnor has quit [Remote host closed the connection]
milosn has quit [Read error: Operation timed out]
milosn has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
emmanuelux has joined #ocaml
emmanuelux has quit [Ping timeout: 240 seconds]
mjonsson has joined #ocaml
mjonsson has quit [Client Quit]
musically_ut has quit [Ping timeout: 240 seconds]
dnolen has quit [Quit: dnolen]
hto has joined #ocaml
bitbckt has quit [Quit: out]
bitbckt has joined #ocaml
arubin has quit [Quit: arubin]
avsm has joined #ocaml
ygrek has joined #ocaml
ankit9 has joined #ocaml
edwin has joined #ocaml
<Drakken> #define CAMLexport
<Drakken> #define CAMLprim
<Drakken> #define CAMLextern extern
<Drakken> so... CAMLexport and CAMLprim are defined as ..... nothing?
<adrien> but they could
<adrien> on some platforms it's probably going to be defined to not nothing
<adrien> windows for instance I think
<Drakken> hmmmmm...........
avsm has quit [Quit: Leaving.]
Cyanure has joined #ocaml
bitbckt has quit [Quit: out]
bitbckt has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
reynir has joined #ocaml
mnabil has quit [Ping timeout: 252 seconds]
ikaros has joined #ocaml
tommytom has joined #ocaml
tommytom has left #ocaml []
bitbckt has quit [Quit: out]
bitbckt has joined #ocaml
avsm has joined #ocaml
avsm has quit [Client Quit]
alpounet has joined #ocaml
avsm has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
avsm has quit [Ping timeout: 244 seconds]
Anarchos has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
avsm has joined #ocaml
avsm has quit [Quit: Leaving.]
ygrek has joined #ocaml
avsm has joined #ocaml
avsm has quit [Quit: Leaving.]
nixfreak_ has joined #ocaml
<nixfreak_> does anyone use GODI here ?
<nixfreak_> does gmake even exist anymore ?
flx_ has joined #ocaml
flx_ is now known as Guest62862
<adrien> gmake should be for BSDs
<nixfreak_> I get error running godi bootstrap on archlinux
<adrien> I have this: % ls -lh $(which gmake)
<adrien> lrwxrwxrwx 1 root root 4 Apr 29 2011 /usr/bin/gmake -> make*
<nixfreak_> missing gpatch , when I look at the code I see the script is searching for gmake
<adrien> on linux
<nixfreak_> k
<nixfreak_> yeah doesn't exist
<nixfreak_> I can't even find it in the AUR
<adrien> slackware does this during the creation of the make package:
<adrien> # This has been here so long that it should probably stay.
<adrien> # Trying to get rid of ginstall didn't go well, so... :-)
<adrien> ( cd $PKG/usr/bin rm -f gmake ln -sf make gmake )
flux has quit [Ping timeout: 276 seconds]
<nixfreak_> ah ln make to gmake
<nixfreak_> will try that
flux has joined #ocaml
Guest62862 has quit [Ping timeout: 276 seconds]
<nixfreak_> but won't that break other programs looking for make ?
<adrien> "ln -s make gmake"? how would that break anything?
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
flux has quit [Read error: Connection reset by peer]
flux has joined #ocaml
<nixfreak_> so softlink make to godi then ?
<adrien> as root: cd /usr/bin && ln -s make gmake
<adrien> but this can probably be considered a bug in the make package of archlinux
<nixfreak_> why would godi just not use make instead
<adrien> godi is derived from pkgsrc from netbsd
<adrien> on netbsd, make and gmake don't behave the same
<adrien> godi packages have an option to use make or gmake
<adrien> obviously, this one has asked for gmake
<nixfreak_> where can i conf for make ?
<adrien> no
<adrien> _packages_ have this option, it's not a general one
<nixfreak_> yeah that didn't work
<adrien> unless you want to hand-edit half of godi packages, have the arch linux package fixed
<nixfreak_> maybe I should try the archlinux pkg for godi if there is one , i just used the source on the site
<adrien> I doubt there will
<nixfreak_> your right there isn't
<adrien> arch has package from some ocaml libraries however
Kakadu has joined #ocaml
<nixfreak_> yeah I had to install some of them
<nixfreak_> I wonder if i can just update this script to use make instead of gmake
<adrien> gah
<adrien> there are several packages that use gmake
<adrien> you can create the symlink by hand or have the package fixed and update
<nixfreak_> softlink doesn't work
<adrien> same error? and it's still looking for "gmake" and not finding it?
<nixfreak_> gpatch
<nixfreak_> which should be included with gmake
<nixfreak_> *** Configuring the make framework
<nixfreak_> Looking up system commands...
<nixfreak_> Command(s) gpatch patch not found
<adrien> there's something else going wrong then
<adrien> for which package is that?
<adrien> for which godi package?
<nixfreak_> downloaded extracted the rocketboost bootstrap
<nixfreak_> is that not the right one ?
<adrien> but after that? what do you do before it fails? what is on screen?
<nixfreak_> so it goes into the installer and asks where it wants to be installed
<nixfreak_> i just use the default path
<nixfreak_> I'm going to msg you the output
<adrien> use a pastebin
oriba has joined #ocaml
<adrien> pastebin it
<adrien> messages are throttled over IRC
<nixfreak_> k
emmanuelux has joined #ocaml
<adrien> what is the output of the "type patch" command?
flx_ has joined #ocaml
flx_ is now known as Guest8475
<nixfreak_> not found
<nixfreak_> i thought diff tools was for that
flux has quit [Ping timeout: 276 seconds]
Guest8475 is now known as flux
<nixfreak_> I get the same error trying to install react
<nixfreak_> let me try again
<adrien> you don't have the "patch" command _at_ _all_ it seems
<adrien> godi wasn't looking for "gpatch" but for "gpatch" *or* "patch"
<nixfreak_> yeah i see that now , that was a stupid mistake
<nixfreak_> thanks for helping
<adrien> np =)
flx__ has joined #ocaml
nixfreak_ has quit [Read error: Connection reset by peer]
flux has quit [Ping timeout: 252 seconds]
flx__ is now known as flux
sebz has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
ygrek has joined #ocaml
<adrien> gildor: for oasis, re the ability to build tools and run them at build-time: my tool was hopefully quite simple so I've moved everything earlier in the build process; it will compile some things twice (I copy some .ml files to a temp directory and compile them) but it's cleaner and works fine
joewilliams has quit [Max SendQ exceeded]
lopex has quit [Excess Flood]
ankit9 has quit [Ping timeout: 258 seconds]
ankit9 has joined #ocaml
joewilliams has joined #ocaml
lopex has joined #ocaml
lopex has quit [Client Quit]
lopex has joined #ocaml
Anarchos has joined #ocaml
avsm has joined #ocaml
avsm has quit [Quit: Leaving.]
JdpB42 has quit [Quit: JdpB42]
dnolen has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
JdpB42 has joined #ocaml
arubin has joined #ocaml
nixfreak_ has joined #ocaml
EmmanuelOga has joined #ocaml
ttamttam has joined #ocaml
ttamttam has quit [Remote host closed the connection]
oriba_ has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
oriba has quit [Ping timeout: 258 seconds]
oriba_ has quit [Quit: oriba_]
oriba_ has joined #ocaml
sebz has joined #ocaml
ankit9 has quit [Quit: Leaving]
avsm has joined #ocaml
<Drakken> Still trying to figure out this error:
<Drakken> dan[src]$ ocaml benchplot.ml
<Drakken> Module Archimedes loaded and aliased as A.
<Drakken> Exception:
<Drakken> Backend.Error (_,
<Drakken> "The backend \\\"cairo\\\" is not loadable because:\\nerror while linking /home/dan/.odb/lib/archimedes/archimedes_cairo.cma.\\nThe external function `caml_cairo_set_line_width' is not available").
<Drakken> I don't know much about that stuff though.
<Drakken> In <cairo2 project dir>/src, cairo_stubs.c has an entry for cairo_set_line_width and cairo_macros.c defines the macro that adds "caml_" to the name.
sebz has quit [Quit: Computer has gone to sleep.]
The_third_bug has joined #ocaml
The_third_man has quit [Disconnected by services]
avsm has quit [Quit: Leaving.]
<Drakken> Do I need to compile the program instead of using the toplevel? Does dynamic loading work with the toplevel?
<adrien> toplevel is like compiling with ocamlc
<adrien> you'll have the same behaviour for that
<adrien> compiling with ocamlopt won't use the .so however
<adrien> (I'm actually wondering)
<adrien> nope, not using it
EmmanuelOga has quit [Ping timeout: 244 seconds]
The_third_bug has quit [Ping timeout: 252 seconds]
<Kakadu> hi all!
<Kakadu> Does Ocaml guarantee that uncatched exception will be printed to stdout?
ftrvxmtrx has joined #ocaml
<adrien> hi Kakadu
sebz has joined #ocaml
<adrien> gildor: I think the pack patch is not enough yet: I have a file "types0.ml" and I pack it inside a module named "Shared"; but I can still reference Types0 directly: both Shared.Types0 and Types0 are valid
<Drakken> dan[src]$ ocamlfind ocamlc -package archimedes benchplot.ml
<Drakken> File "benchplot.ml", line 1, characters 0-1:
<Drakken> Error: Error while linking benchplot.cmo:
<Drakken> Reference to undefined global `Archimedes'
<Drakken> What else do I need?
<adrien> -linkpkg
<Drakken> thx
<nixfreak_> blah so close in getting ocsigen compiled
<nixfreak_> lol now getting compiler errors for js_of_ocaml
<Drakken> I'm getting tired of this. Can I file a bug report?
ftrvxmtrx has quit [Read error: Connection reset by peer]
<nixfreak_> question is there any other frameworks for web besides ocsigen
<zorun> Django \o/
<zorun> (mmh, sorry)
ftrvxmtrx has joined #ocaml
<nixfreak_> no more ocaml ?
<nixfreak_> err no for ocaml
<zorun> I don't know
<zorun> I tried Ocsigen, but it's far from intuitive...
<nixfreak_> eliom server I like but trying to compile everything of ocsigen is a pain
<zorun> don't you have a package for your distro?
<nixfreak_> no
sebz has quit [Quit: Computer has gone to sleep.]
<nixfreak_> but I can get it to run I just can't build anything
<_habnabit> zorun: Programming is an unnatural act. "intuitive" means nothing.
<zorun> :)
sebz has joined #ocaml
ftrvxmtrx_ has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 240 seconds]
dnolen_ has joined #ocaml
dnolen has quit [Read error: Connection reset by peer]
dnolen_ is now known as dnolen
sebz has quit [Ping timeout: 252 seconds]
<nixfreak_> wish there was a virutal machine like python where you could have all the libs in one place
<zorun> on which distro are you?
<nixfreak_> archlinux
<nixfreak_> debian only has 3.11
<nixfreak_> and even testing is missing features
<zorun> well, ocaml packaging is pretty neat on Archlinux..
<zorun> look up the AUR, there's ocsigen there
<nixfreak_> yeah but you need quite a few dependencies and that is what I am loading
<zorun> which package exactly?
<nixfreak_> Error: Files /usr/lib/ocaml/findlib/findlib.cmxa and /usr/lib/ocaml/stdlib.cmxa make inconsistent assumptions over implementation Filename
<nixfreak_> make[2]: *** [ocsigenserver.opt] Error 2
<nixfreak_> make[2]: Leaving directory `/home/nixfreak/ocsigenserver-2.0.1/src/server'
<nixfreak_> make[1]: *** [all] Error 2
<nixfreak_> make[1]: Leaving directory `/home/nixfreak/ocsigenserver-2.0.1/src'
<nixfreak_> make: *** [all] Error 2
<nixfreak_> I should have all depends installed
rgrinberg has joined #ocaml
<zorun> mmh
<zorun> Filename?
<nixfreak_> trying to compile oscigenserver-2.0.1
<zorun> yes, I guess I noticed that :)
<nixfreak_> this is a make error output, even though the configure says its good to go
<nixfreak_> Error: Files /usr/lib/ocaml/findlib/findlib.cmxa and /usr/lib/ocaml/stdlib.cmxa make inconsistent assumptions over implementation Filename
<nixfreak_> make[2]: *** [ocsigenserver.opt] Error 2
Kakadu has quit [Quit: Konversation terminated!]
nixfreak_ has quit [Ping timeout: 252 seconds]
<flux> does ocsigen come with a file called filename.ml or .mli?
<flux> if not, it sounds like you may have upgraded your ocaml compiler but haven't recompiled findlib
<flux> although it sounsd a bit strange, as it looks like as if both of them come from your distribution
<zorun> oh, that could make sense
<zorun> findlib is a community-provided package
<zorun> so it is maybe a bit outdated
<zorun> flux: you think that rebuilding ocaml-findlib should be enough?
<flux> yes (and reinstalling of course ;))
nixfreak_ has joined #ocaml
<zorun> yes :)
<zorun> crap, nixfreak_ just missed the most important part
nixfreak_ has quit [Ping timeout: 252 seconds]
edwin has quit [Remote host closed the connection]
ftrvxmtrx_ has quit [Read error: Connection reset by peer]
ftrvxmtrx_ has joined #ocaml
<zorun> superbobry: ping
reynir has quit [Ping timeout: 252 seconds]
alpounet has quit [Quit: Bye.]
alpounet has joined #ocaml
alpounet has quit [Quit: Bye.]
alpounet has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
Morphous has quit [Ping timeout: 240 seconds]
avsm has joined #ocaml
ftrvxmtrx_ has quit [Read error: Connection reset by peer]
Morphous has joined #ocaml
lamawithonel_ has joined #ocaml
lamawithonel__ has joined #ocaml
<zorun> flux: thanks, your intuition was right :)
lamawithonel has joined #ocaml
lamawithonel_ has quit [Ping timeout: 260 seconds]
lamawithonel_ has joined #ocaml
lamawithonel__ has quit [Ping timeout: 240 seconds]
lamawithonel__ has joined #ocaml
lamawithonel has quit [Ping timeout: 240 seconds]
lamawithonel_ has quit [Ping timeout: 240 seconds]
lamawithonel has joined #ocaml
lamawithonel__ has quit [Remote host closed the connection]
The_third_man has joined #ocaml
Anarchos has joined #ocaml
hto has quit [Quit: Lost terminal]
EmmanuelOga has joined #ocaml
dnolen has quit [Quit: dnolen]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
avsm has quit [Quit: Leaving.]
dnolen has joined #ocaml
dnolen has quit [Client Quit]
dnolen has joined #ocaml
dnolen has quit [Client Quit]