smimou changed the topic of #ocaml to: OCaml 3.08.3 available! | Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
MisterC has quit ["Client exiting"]
mrsolo_ has quit [Read error: 104 (Connection reset by peer)]
mrsolo_ has joined #ocaml
mrsolo_ has quit [Client Quit]
mrsolo_ has joined #ocaml
Enveigler has joined #ocaml
<Enveigler> Anyone got lablgtk2 working on win?
vezenchio has quit ["Ayn Rand encapsulates the rage that every teenager feels on finding that his first paycheque has had taxes taken out of it"]
Smerdyakov has joined #ocaml
<Enveigler> Are there any more active ocaml rooms on other servers?
<Smerdyakov> I doubt it.
<Smerdyakov> I don't know of any.
<Smerdyakov> BTW, "other networks" would be more appropriate than "other servers."
<Enveigler> {sigh} Point taken about networks v servers
<Smerdyakov> While this channel isn't a non-stop conversation machine, it is reasonably responsive if you bring up a subject.
<Smerdyakov> We're too busy writing ML code all day for constant chatter. I know I am! :)
wpaulson has joined #ocaml
mrsolo_ has quit ["Leaving"]
<Enveigler> I did above. I have attempted to install lablgtk2, but am getting "Unbound module GMain" which obviously means I haven't done something, but ?
<Smerdyakov> I wouldn't know. I use Debian, where everything always works magically every time.
<Enveigler> I wonder what their secret is :)
<Smerdyakov> Nothing more complicated than dependency information in packages!
<Smerdyakov> And installation scripts, so you only have to learn one interface.
<mlh> Enveigler, what's the command line you use to run your ocaml program?
<Enveigler> mlh ocamlc -g -w s -I +lablgtk2 lablgtk.cma gtkInit.cmo simple.ml -o simple.exe
<mlh> I get that Unbound ... message if I run with ocamlc .... But you should use lablgtk2 command
<Enveigler> It that the .bat file?
<Smerdyakov> .bat? You're in WINDOWS! O_O
<Enveigler> Yep.
<mlh> I just ran your command line for hello.ml and it works fine.
<Smerdyakov> Don't use Windows. No one in ML-land cares about Windows as a first priority, so you will just keep getting burned. :P
<mlh> (I'm using fedora4)
<Enveigler> Hmm. I must be missing something. gimp works, so that's okay. I'll just have to track it through step by step.
<Enveigler> Smerdykov: The trials and tribs of using OSS on win. Nothing unusual.
<Smerdyakov> That's right, and the commonality of it is why you shouldn't use Windows.
<Enveigler> If I told you that you shouldn't use Debian cos RH is better, will it influence you?
<mlh> i must say though that getting the right incantation and the right libraries installed and found is one of the more frustrating aspects of ocaml
<Enveigler> I got beyond the unbound problem. Just a few missing dll's to sort out now.
<Smerdyakov> Enveigler, not at all. RH makes it much harder to manage packages seamlessly than Debian does.
<Enveigler> Semerdyakov: And any flavour of (z|c|ba)sh drives me nuts! :)
<Enveigler> :{ Hmm. fixed th emissing dll's, but now I'm getting a missing entrypoint. Delete the lot and start over.
<Smerdyakov> Why aren't you using Linux?
<Enveigler> See above. I hate the shells (amongst other things).
<Smerdyakov> You prefer cmd.exe?
<Enveigler> Yep. Strange huh!
<Smerdyakov> Very. What are you concrete issues with bash?
<Enveigler> It ain't cmd :)
* Demitar shudders at the thought of no tab-completion...
Sonarman has quit [Read error: 104 (Connection reset by peer)]
* Enveigler has tab completion
<Demitar> Then it just might be bearable for simple tasks... :)
<Enveigler> And unix tools and perl and CUA keyboard. What more do I need :)
<Demitar> Unix?
<Enveigler> I've got 15 yrs under my belt with OS/2 / NT. On unix, I'm just another noob.
<Demitar> Well, it sounds to me like you've reinvented unix under NT anyway. :)
<Enveigler> In some ways yes. I've I could configure readline to a cua layout it might be more tolorable, but then I'd just be a unix user rather than an NT programmer.
<Enveigler> s/I've/If/
<Enveigler> Hmm. I just found a warning about using lablgtk-2.4.x *not* 2.4.0--guess which one i've got :(
Enveigler_ has joined #ocaml
araujo has joined #ocaml
<Enveigler_> What is camlp4?
Sonarman has joined #ocaml
<Enveigler_> Yea! All works now.
Enveigler has quit [Read error: 110 (Connection timed out)]
Enveigler_ has left #ocaml []
ulfdoz has joined #ocaml
mlh has quit [brown.freenode.net irc.freenode.net]
ulfdoz_ has quit [Read error: 110 (Connection timed out)]
Herrchen_ has joined #ocaml
Herrchen has quit [Read error: 60 (Operation timed out)]
mlh has joined #ocaml
Saulzar has joined #ocaml
Smerdyakov has quit []
<ulfdoz> re
__DL__ has joined #ocaml
wpaulson has quit []
Saulzar has quit [brown.freenode.net irc.freenode.net]
mlh has quit [brown.freenode.net irc.freenode.net]
mlh has joined #ocaml
Saulzar has joined #ocaml
Amorphous has joined #ocaml
Enveigler_ has joined #ocaml
m3ga has joined #ocaml
m3ga has quit [Client Quit]
dan2 has quit [Connection timed out]
dan2 has joined #ocaml
pango has quit [Remote closed the connection]
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
<Saulzar> Hmm, I guess functors can do a lot of the same stuff as type classes for 'library' type uses... I can imagine a functor taking a monad and providing generic monad functions foldM mapM etc..
Snark has joined #ocaml
mlh has quit [Client Quit]
Msandin has joined #ocaml
_shawn has joined #ocaml
Enveigler has joined #ocaml
shawn_ has quit [Connection timed out]
Enveigler_ has quit [Read error: 110 (Connection timed out)]
MisterC has joined #ocaml
Saulzar has quit ["Leaving"]
pango has joined #ocaml
Msandin_ has joined #ocaml
Msandin has quit [Read error: 110 (Connection timed out)]
Enveigler has quit [Read error: 110 (Connection timed out)]
vezenchio has joined #ocaml
Submarine has joined #ocaml
MisterC has quit [Remote closed the connection]
Submarine has quit [Remote closed the connection]
Submarine has joined #ocaml
Msandin_ has quit [Read error: 145 (Connection timed out)]
MisterC has joined #ocaml
Submarine has quit ["Leaving"]
Submarine has joined #ocaml
Submarine has quit [Remote closed the connection]
pango has quit ["Leaving"]
ffdd has joined #ocaml
mauke has quit [Remote closed the connection]
mauke has joined #ocaml
Herrchen_ has quit ["leaving"]
Msandin has joined #ocaml
<ffdd> I'm
<ffdd> having a strange problem with caml_copy_string()
<ffdd> the function is very simple:
<ffdd> int set_range_altpath(const char * c_path) {
<ffdd> CAMLparam0();
<ffdd> CAMLlocal3(caml_result, caml_path, caml_ex);
<ffdd> caml_path = caml_copy_string(c_path);
<ffdd> gdb says: #2 0x4021da7e in set_range_altpath (c_path=0x8124cd0 "foobar")
<ffdd> then caml_copy_string() calls caml_alloc_string(), and segvs
<ulfdoz> wyrg
<ulfdoz> conlusio: don't use C. *scnr*
<ffdd> If only ocaml would interface with ruby natively :)
<ulfdoz> From my limited experience with C, I'd double check mallocs.
<mellum> ulfdoz: that looks OK. The proble is probably elsewhere.
<ffdd> I sort of suspect a symbol problem, because that C code is the interface for the ocaml code to become a C shared library
<ffdd> and it works fine with C, python, perl
<ffdd> but when I call from ruby, it segvs, but I can see with gdb that it's calling it properly on the ruby side
<ffdd> I don't know a whole lot about the ocaml internals
<__DL__> ffdd: are you sure the caml part have been initialized ?
<ffdd> oh holy crap
<ffdd> I left that out of the ruby module
<ffdd> this is "one of those times"
Msandin has quit [Read error: 104 (Connection reset by peer)]
<ffdd> __DL__: that was it. I can't believe I overlooked that
<ffdd> Had it in the python and perl implementations, of course
_fab has quit [Remote closed the connection]
<__DL__> well, a segvs in an allocation fonction can only be a bug in the caml GC or a unitialized caml interpreter. I belive more in the latter...
<__DL__> (well it could also be a strange things in an ocaml value)
<ulfdoz> bye
pango has joined #ocaml
monochrom has joined #ocaml
systems has joined #ocaml
<systems> wussup
Snark has quit [Read error: 113 (No route to host)]
Enveigler_ has joined #ocaml
vodka-goo has joined #ocaml
MisterC has quit [Read error: 104 (Connection reset by peer)]
Skal has joined #ocaml
mrsolo has quit [Read error: 104 (Connection reset by peer)]
Enveigler has joined #ocaml
systems has quit [Remote closed the connection]
Enveigler_ has quit [Read error: 110 (Connection timed out)]
mlh has joined #ocaml
Skal has quit [Remote closed the connection]
vodka-goo has quit []
monochrom has quit ["good morning, sweet dream"]