andir has quit [Remote host closed the connection]
andir has joined #ocaml
<elehack>
krankkatze: hi
<andir>
hello?
<andir>
hmm, guess I had to register first... anyway: Have some newb questions if anyone is interested in helping me out.
<elehack>
andir: fire away, we'll see what we can do!
<andir>
well, I was reading through the documents at http://www.ocaml-tutorial.org/the_structure_of_ocaml_programs and there's a sample (grtest1.ml) about halfway down... I put this into a file called grtest1.ml and ran the compile script they give me and I get a permissions error: Error: I/O error: grtest1.cmo: Permission denied
<andir>
I was able to run the "famous" raytracer in OCaml vs. C example and it worked fine... so I don't think it's an environment issue, but this one "opens" Graphics so I just don't know
__marius__ has quit [Remote host closed the connection]
<elehack>
the permissions error sounds like more of an environment problem rather than an OCaml problem.
<elehack>
for some reason it can't create or modify the file 'grtest1.cmo'
<elehack>
in the current directory (or same dir as grtest1.ml)
Obfuscate has quit [Ping timeout: 240 seconds]
Tianon has quit [*.net *.split]
Amorphous has quit [*.net *.split]
f[x] has quit [*.net *.split]
bitbckt has quit [*.net *.split]
<andir>
hmm, I just created the folder ~/Projects/Programming/OCaml and created the test file in there
<elehack>
that does sound strange.
jjong has quit [Quit: 전 이만 갑니다.]
<andir>
just tried sudo before the ocamlc command with the same result... so it should be creating a new file called grtest1.cmo in the same folder as the ml file? I'll fiddle with it some more...
<andir>
thanks for helping
<elehack>
The .cmo file will be in either the directory the .ml file is in or in the current directory (usually they're the same)
<elehack>
no problem.
<andir>
yeah, I'm running this from a terminal from within that folder
__marius__ has joined #ocaml
<andir>
oh damn, I feel stupid! I wasn't in the right folder... wow, haven't made that mistake in a while.
__marius__ has quit [Remote host closed the connection]
<gildor>
skrewla: follow th order in series for application
<gildor>
(the debian patch is not mandatory)
<skrewla>
awesome gildor
<skrewla>
thank you.
andir has left #ocaml []
andir_ has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
__marius__ has joined #ocaml
alexyk has joined #ocaml
__marius__ has quit [Remote host closed the connection]
__marius__ has joined #ocaml
andir_ has quit [Quit: leaving]
andir has joined #ocaml
Obfuscate has quit [Ping timeout: 260 seconds]
__marius__ has quit [Remote host closed the connection]
Associat0r has joined #ocaml
Obfuscate has joined #ocaml
neorab has quit [Quit: brb]
jakedouglas has joined #ocaml
neorab has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
marius_ has joined #ocaml
marius_ has quit [Remote host closed the connection]
marius_ has joined #ocaml
andir has quit [Quit: andir]
marius_ has quit [Remote host closed the connection]
marius_ has joined #ocaml
Associat0r has quit [Read error: Connection reset by peer]
marius_ has quit [Remote host closed the connection]
emmanuelux has quit [Remote host closed the connection]
marius_ has joined #ocaml
marius_ has left #ocaml []
elehack has quit [Quit: not a typewriter]
_unK has quit [Remote host closed the connection]
_andir has joined #ocaml
_andir has quit [Client Quit]
andir has joined #ocaml
jakedouglas has joined #ocaml
jakedouglas has quit [Client Quit]
oriba has joined #ocaml
oriba has quit [Client Quit]
andir has quit [Quit: leaving]
thrasibule has joined #ocaml
__marius__ has joined #ocaml
__marius__ has quit [Remote host closed the connection]
<skrewla>
gildor: i dont know if you're still here?
<skrewla>
i applied patches. now i'mg etting this: /opt/csw/bin/ocamlc.opt -warn-error A -annot -I /opt/csw/lib/ocaml/lablgtk -o info.cmi -c info.mli
<skrewla>
Usage: ocamlc <options> <files>
<skrewla>
Options are:
thrasibule has quit [Ping timeout: 265 seconds]
Associat0r has joined #ocaml
coucou747 has joined #ocaml
caligula_ has joined #ocaml
ulfdoz has joined #ocaml
caligula__ has quit [Ping timeout: 260 seconds]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
valross has quit [Ping timeout: 265 seconds]
valross has joined #ocaml
ulfdoz_ has quit [Quit: Reconnecting]
ulfdoz has joined #ocaml
<skrewla>
nm, i got it to work with the latest version
Amorphous has quit [Ping timeout: 248 seconds]
joewilliams is now known as joewilliams_away
alexyk has quit [Quit: alexyk]
alexyk has joined #ocaml
Yoric has joined #ocaml
Amorphous has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
<gildor>
skrewla: I suppose that you were using a quite old version of ocaml that don't have the -annot options
alexyk has quit [Quit: alexyk]
ttamttam has joined #ocaml
<skrewla>
yes. all is well now.=)
coucou747 has quit [Quit: 0x2a]
Yoric has quit [Quit: Yoric]
joewilliams_away is now known as joewilliams
Tianon has quit [Ping timeout: 248 seconds]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
joewilliams is now known as joewilliams_away
<skrewla>
gidor: in the fedora rpm it has included ci_ps.cxma etc .. how do i get those to build using the source?
Edward_ has joined #ocaml
<gildor>
skrewla: take a look at the output of the configure script
<gildor>
skrewla: it tests for various file and will give you hints about what additional rpm you need to install
ttamttam has quit [Quit: Leaving.]
<skrewla>
i am on opensolaris .. for some reason it can't find liblgtk2 and ungif even tho they are installed
<skrewla>
other than that when looking thru config.log i didn't see anything about what makes .cmxa
ttamttam has joined #ocaml
<skrewla>
ok so I guess i need to figure out how to get lablgtk working
<skrewla>
thanks for the hint
Yoric has joined #ocaml
Edward__ has joined #ocaml
<f[x]>
anybody succeeded at build ocaml 3.12+beta1 on mingw?
Edward_ has quit [Ping timeout: 265 seconds]
ikaros has joined #ocaml
th5 has joined #ocaml
ttamttam has quit [Quit: ttamttam]
<flux>
hmh, the structural typing of objects is quite nice sometimes. I had a record for gps coordinates and a record for gps coordinate + time it was taken. now after objectifying it I can just pass the (lists of) trackpoints as-is without conversion to distance calculation functions etc.
ttamttam has joined #ocaml
<flux>
and it didn't reduce the speed noticeably either
ttamttam has quit [Client Quit]
<flux>
wish one could inherit from objecs, though :)
<flux>
atleast in the type-safe cases
ttamttam has joined #ocaml
<flux>
also, after one point I need to further augment data into those elements, and it all falls through the already-written functions without combining the data pair-wise afterwards..
valross has quit [Quit: Ex-Chat]
Edward__ has quit [Read error: Connection reset by peer]
ttamttam has quit [Remote host closed the connection]
Yoric has quit [Ping timeout: 240 seconds]
Yoric has joined #ocaml
ttamttam has joined #ocaml
npouilla1d has quit [Ping timeout: 260 seconds]
Yoric has quit [Ping timeout: 240 seconds]
npouillard has joined #ocaml
itewsh has joined #ocaml
Yoric has joined #ocaml
itewsh has quit [Quit: There are only 10 kinds of people: those who understand binary and those who don't]
itewsh has joined #ocaml
<adrien>
gildor: I edited my _tags file and added "<dummy.{cma,cmxa}>: use_libdummy" as you suggested and it works now =)
<adrien>
gildor: would have that problem happened if I had put files in a sub-directory and not in '.' directly?
Edward_ has joined #ocaml
<adrien>
gildor: also, in order to create a _oasis file from a program, printf will do it perfectly, right? (write-only, no need to read back)