ayrnieu changed the topic of #ocaml to: OCaml 3.08.4 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/
mlh_ has joined #ocaml
booyaa has quit [Read error: 104 (Connection reset by peer)]
cmeme has quit [Read error: 104 (Connection reset by peer)]
cmeme has joined #ocaml
booyaa has joined #ocaml
__DL__ has quit ["Bye Bye"]
gremlin has quit ["This computer has gone to sleep"]
booyaa has quit ["leaving"]
mlh_ has quit [niven.freenode.net irc.freenode.net]
Gueben has quit [Remote closed the connection]
mlh_ has joined #ocaml
gremlin has joined #ocaml
gremlin has quit [Client Quit]
gremlin has joined #ocaml
mlh_ has quit [Client Quit]
vezenchio has quit [""The law, in its majestic equality, forbids the rich as well as the poor to sleep under bridges, to beg in the streets, and t]
mlh_ has joined #ocaml
pango_ has joined #ocaml
pango has quit [Read error: 60 (Operation timed out)]
gremlin has quit ["This computer has gone to sleep"]
Nutssh has joined #ocaml
mfurr has left #ocaml []
Snark has joined #ocaml
lispy_ has quit [Read error: 104 (Connection reset by peer)]
mfurr has joined #ocaml
mlh_ has quit [Client Quit]
juri has quit [niven.freenode.net irc.freenode.net]
mlh_ has joined #ocaml
juri has joined #ocaml
Codename_V has joined #ocaml
<Codename_V> so I get this when I try and compile the lablgtk examples that come with my junk:
<Codename_V> Error on dynamically loaded library: dlllablgtk.so: cannot open shared object file: No such file or directory
<Codename_V> anyone have any ideas?
<Codename_V> I'm guessing suse is just broken or something
Submarine has joined #ocaml
<Nutssh> Sounds like it can't find the library. Did you run ldconfig after installing it? Is the library put in some well-known location?
<Codename_V> well no file by that name exists for one thing
<Nutssh> Nowhere on the HD? Sounds like your lablgtk install is incomplete.
threeve has quit []
juri has quit [niven.freenode.net irc.freenode.net]
<Codename_V> rpm -V says lablgtk is a-ok
<Codename_V> I figure it's like I say. it's just broken on suse or something.
<Codename_V> or maybe me not knowing what the heck I'm doing when it comes to compiling ocaml apps is the problem. =)
<Nutssh> There should be a lablgtk.so somewhere on the system.
<Codename_V> nope. and that file isn't available at all in any suse package.
<Nutssh> 'find / | grep lablgtk' returns nothing?
<Codename_V> locate lablgtk.so returns nothing
<Codename_V> and "pin lablgtk.so" returns nothing as well
<Nutssh> The locate database may be out of date if you just installed.
<Codename_V> I have a lablgtk.a though
<Codename_V> nah, locate isn't out of date
<Codename_V> and pin would show me anything available, even if it wasn't installed
<Nutssh> Dunno, though I'd say do the find, just in case.
<Codename_V> hehe, nah
<Nutssh> Whatever.
<Codename_V> what's the difference between .a and .so files? I forget...
<Codename_V> something you link statically vs. dynamically?
<Nutssh> Yes. Sounds like you got an incomplete install. Maybe one out of two packages. Or, you do have the files, on the drive but you don't know that because you haven't actually run a find /.
<Codename_V> dude, locate -i would show me whats up. I'm not that dumb.
<Codename_V> and rpm -ql lablgtk
<Codename_V> the file isn't there. that I'm sure of. like I say, the closest thing I have is lablgtk.a
<Nutssh> Nope. As I said, Those check databases which may or may not match what's really on the drive.
<Codename_V> and as I said my locate database is up to date
<Nutssh> You mean that you think it is up to date.
<Codename_V> no dude, I mean I know. and even if it isn't, pin would show me that file
<Codename_V> and even if pin wouldn't show me that file, listing what's in the lablgtk package shows me the files that come with that package
<Codename_V> jesus, I don't know why I'm even having this conversation...
ejt has joined #ocaml
__DL__ has joined #ocaml
<Nutssh> You trust computers more than I,
<Nutssh> YOu might have an incomplete install. Maybe one out of two packages. ''
<Codename_V> rpm -V would tell me that
<Nutssh> You really trust your software. :)
<Codename_V> sure. rpm has never let me down
mlh_ has quit [Client Quit]
_fab has joined #ocaml
<jave> im trying out the tuareg emacs mode for ocaml, but there seems to be no fontlocking. anyone use tuareg?
<Nutssh> I do. Try 'M-x font-lock-mode' once or twice.
<jave> k
<jave> did that didnt help much. ill try again though
<Nutssh> Dunno. I've never had a problem that wasn't fixed with that.
<jave> k
<jave> theres a newer version i notice. ill try that
<ejt> jave: I think upgrading will fix it, with older versions the font locking only works with X-emacs
<jave> ah, thats the problem then
<jave> the download site seems down now
<ejt> it's easy to fix, just hunt through the .el files for some init code that checks which window system is being used
<jave> ah ok
Skal has joined #ocaml
juri has joined #ocaml
juri has quit [niven.freenode.net irc.freenode.net]
juri has joined #ocaml
revision17_ has joined #ocaml
calvin_ has quit [Remote closed the connection]
revision17 has quit [Read error: 110 (Connection timed out)]
_fab has quit [Remote closed the connection]
Codename_V has quit [Read error: 110 (Connection timed out)]
bacam has joined #ocaml
ramkrsna has joined #ocaml
Gueben has joined #ocaml
Snark has quit ["Leaving"]
ramkrsna has quit [No route to host]
mikeX has joined #ocaml
ulfdoz has left #ocaml []
Skal has quit ["Client exiting"]
mikeX has quit ["Leaving"]
Hadaka has quit ["memory install"]
Naked has joined #ocaml
Naked is now known as Hadaka
vezenchio has joined #ocaml
ejt has quit [Remote closed the connection]
Skal has joined #ocaml
Snark has joined #ocaml
CruX has joined #ocaml
<twobitsprite> what kind of parsers can one describe in camlp4?
CruX has quit [Nick collision from services.]
CruX_ has joined #ocaml
zigong has joined #ocaml
Msandin has joined #ocaml
vodka-goo has joined #ocaml
vodka-goo has quit []
faigo has joined #ocaml
__DL__ has left #ocaml []
gremlin has joined #ocaml
threeve has joined #ocaml
Msandin has quit [Read error: 110 (Connection timed out)]
gremlin is now known as letaris
letaris is now known as teiax
humasect has joined #ocaml
exa has joined #ocaml
Snark has quit ["Leaving"]
Msandin has joined #ocaml
TeXitoi has joined #ocaml
Msandin has quit [Read error: 104 (Connection reset by peer)]
mikeX has joined #ocaml
Submarine has quit [Client Quit]
mikeX has quit ["Leaving"]
jMCg has joined #ocaml
<jMCg> good morning boys and girls
<jMCg> i'm experiencing some bit of a problem with the ocaml build system.. caused by sheer unknowledge.
<jMCg> i'm trying to package the mtasc compiler for ArchLinux, but so far, i haven't found out what results of the compile i need and what i can 'throw away'
mikeX has joined #ocaml
<Smerdyakov> Is 'mtasc' an OCaml thing?
<jMCg> Smerdyakov, http://www.mtasc.org/#download it's written in OCaml.
<Smerdyakov> OK. And you would like one native executable as the final result?
<jMCg> yesls
<jMCg> bin extlib-dev install.ml ocaml
<jMCg> s/yesls/ls/
<jMCg> in bin, i've got the native executable..
<jMCg> in ocaml i've got some... stuff.
<Smerdyakov> If the binary packages you find elsewhere only contain this one executable, then that is probably all you need.
<Smerdyakov> I do understand mostly how OCaml building works, but I hope you see how your original question is not answerable unless you explain what you desire as the final product.
<jMCg> ACK.
<jMCg> and i guess you are right.
<Smerdyakov> OCaml native compilation by default introduces no dependencies in its executables to anything but very standard stuff like libc.
<jMCg> hmm.. found some interresting stuff :D
<jMCg> the stuff i've been searching for.
<jMCg> now i just need an actionscript 2.0 vim syntax file :D
<jMCg> thanks Smerdyakov
<Smerdyakov> vim? Ew.
<jMCg> hm?
<jMCg> what'd you use for coding?
<Smerdyakov> emacs
<jMCg> emacs? Ew.
<jMCg> ;)
<Smerdyakov> vim is pretty much a non-option for using either non-mainstream languages or formal methods tools.
<jMCg> well.. does emacs come with ActionScript 2.0 syntax files?
<jMCg> what are formal method tools?
<Smerdyakov> By "formal methods," I mean formal methods for specifying and verifying systems.
<Smerdyakov> Many ML users are also interested in that.
<jMCg> ML?
<jMCg> man.. i feel like the dictionary of stupidity in person tonight..
<Smerdyakov> ML is the family of languages that OCaml belongs to.
<jMCg> might be the reason why i don't know what that is..
_fab has joined #ocaml
zigong has quit [Remote closed the connection]
Skal has quit ["Client exiting"]
AndroFlux has joined #ocaml
Schmurtz has quit [Read error: 104 (Connection reset by peer)]
Codename_V has joined #ocaml
<Codename_V> hi there. maybe someone would be able to help me out today? I can't get the lablgtk examples that came with my system compiled.
<Codename_V> here's what the readme tells me to do: ocamlc -I /usr/lib/ocaml/lablgtk -w s lablgtk.cma gtkInit.cmo hello.ml -o hello
<Codename_V> but when I run that, it tells me this: Error on dynamically loaded library: dlllablgtk.so: cannot open shared object file: No such file or directory
<Codename_V> I was thinking the lablgtk package is broken or something, but I dunno, because mldonkey seems to build just fine.
<mikeX> Codename_V, try lablgtk2?
<mikeX> in the -I path
<mikeX> btw, what's with the -w flag?
<Codename_V> well /usr/lib/ocaml/lablgtk is where everything seems to reside. there's no lablgtk2 directory
<Codename_V> dunno what the w is. as I say, that's just what the readme says to do.
<mfurr> the -w s disables warnings about non-unit statements
<mfurr> Codename_V: does /usr/lib/ocaml/lablgtk/stublibs/dlllablgtk.so exist?
<Codename_V> mfurr: nope. that directory doesn't even exist. closest thing I can find is /usr/lib/ocaml/lablgtk/lablgtk.a
<mfurr> what os/distro are you using?
<Codename_V> suse
<mikeX> maybe you didn't install the development package?
<Codename_V> there isn't one
<Codename_V> hmm. or maybe my mirror is just messed up...
_fab has quit []
<mikeX> hmm, can't say for sure about suse, but there should be a runtime library package, and a development ('header' files etc) package
<mfurr> although, the .so would be in the runtime package
<mikeX> hm, indeed
<Codename_V> shoot. I should just use that thingy that compiles ocaml for you
<Codename_V> what's that called again?
<mfurr> godi?
<Codename_V> yeah, that's it
<mfurr> I use it on my mac. It works pretty well IMO
<Codename_V> I was really liking suse up until this point...
mebaran151 has joined #ocaml
<Codename_V> there's a lablgtk-debuginfo package. that can't be the one though...
<mikeX> yeah, probably not
mebaran151 has quit ["Leaving"]
faigo has quit ["Leaving"]
mikeX has quit ["Leaving"]
Gueben has quit [Read error: 104 (Connection reset by peer)]