krankkatze has quit [Remote host closed the connection]
Amorphous has joined #ocaml
derdon has quit [Quit: derdon]
asurai has quit [Ping timeout: 264 seconds]
asurai has joined #ocaml
drk-sd has joined #ocaml
bzzbzz has quit [Quit: leaving]
ikaros has quit [Quit: Leave the magic to Houdini]
tmaeda has quit [Ping timeout: 268 seconds]
tmaedaZ has joined #ocaml
krankkat` has quit [Remote host closed the connection]
jeddhaberstro has joined #ocaml
asurai_ has joined #ocaml
asurai has quit [Read error: Connection reset by peer]
valross has quit [Remote host closed the connection]
jeddhaberstro has quit [Read error: Connection reset by peer]
jeddhaberstro has joined #ocaml
philtor has joined #ocaml
myu2 has joined #ocaml
asurai_ is now known as bmp
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
MrEvil has quit [Ping timeout: 260 seconds]
philtor has quit [Ping timeout: 240 seconds]
bmp has quit [Quit: bmp]
joewilliams is now known as joewilliams_away
mikeX has quit [Ping timeout: 260 seconds]
drk-sd has quit [Quit: dodo]
mikeX has joined #ocaml
pookleblinky has quit [Ping timeout: 258 seconds]
pookleblinky has joined #ocaml
pookleblinky has quit [Remote host closed the connection]
myu2 has quit [Quit: Leaving...]
jeddhaberstro has quit [Quit: jeddhaberstro]
myu2 has joined #ocaml
_unK has quit [Remote host closed the connection]
enthymeme has joined #ocaml
thrasibule has quit [Ping timeout: 264 seconds]
joewilliams_away is now known as joewilliams
joewilliams is now known as joewilliams_away
valross has joined #ocaml
dmarkey has quit [Ping timeout: 246 seconds]
dmarkey has joined #ocaml
dmarkey has quit [Ping timeout: 258 seconds]
yakischloba has quit [Quit: Leaving.]
dmarkey has joined #ocaml
ulfdoz has joined #ocaml
ygrek has joined #ocaml
oc13 has joined #ocaml
zhijie1 has joined #ocaml
zhijie1 has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
ttamttam has joined #ocaml
oc13 has quit [Ping timeout: 248 seconds]
jcaose has joined #ocaml
jcaose has quit [Client Quit]
oc13 has joined #ocaml
ttamttam has quit [Quit: Leaving.]
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
enthymeme has joined #ocaml
enthymeme has quit [Client Quit]
valross has quit [Quit: Ex-Chat]
ulfdoz has quit [Ping timeout: 252 seconds]
spearalot has joined #ocaml
oc13 has quit [Ping timeout: 265 seconds]
boscop has quit [Ping timeout: 258 seconds]
tmaedaZ is now known as tmaeda
ttamttam has joined #ocaml
oc13 has joined #ocaml
orphee has joined #ocaml
Yoric has quit [Quit: Yoric]
ikaros has joined #ocaml
pimmhogeling has joined #ocaml
smimou has quit [Ping timeout: 265 seconds]
smimou has joined #ocaml
smimou has quit [Ping timeout: 276 seconds]
smimou has joined #ocaml
Submarine has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
munga_ has joined #ocaml
Yoric has joined #ocaml
spearalot has quit [Quit: Computer has gone to sleep]
Submarine has quit [Quit: Leaving]
ikaros has quit [Quit: Leave the magic to Houdini]
myu2 has quit [Read error: Operation timed out]
smimou has quit [Ping timeout: 276 seconds]
smimou has joined #ocaml
myu2 has joined #ocaml
findum has quit [Quit: Changing server]
spearalot has joined #ocaml
smimou has quit [Ping timeout: 276 seconds]
findum has joined #ocaml
smimou has joined #ocaml
myu2 has quit [Remote host closed the connection]
tmaeda has quit [Ping timeout: 258 seconds]
tmaeda has joined #ocaml
thrasibule has joined #ocaml
findum has quit [Quit: leaving]
findum has joined #ocaml
ygrek has joined #ocaml
thrasibule has quit [Read error: Operation timed out]
mikeX has quit [Ping timeout: 258 seconds]
th5 has joined #ocaml
munga_ has quit [Ping timeout: 240 seconds]
struktured has quit [Quit: Laptop suspended.]
struktured has joined #ocaml
Pepe_ has quit [Ping timeout: 245 seconds]
Pepe_ has joined #ocaml
bzzbzz has joined #ocaml
orphee has quit [Ping timeout: 264 seconds]
jcaose has joined #ocaml
jcaose_ has joined #ocaml
jcaose_ has quit [Remote host closed the connection]
thieusoai has quit [Quit: Leaving]
tmaeda has quit [Ping timeout: 260 seconds]
tmaeda has joined #ocaml
spearalot has quit [Quit: Computer has gone to sleep]
_zack has joined #ocaml
pimmhogeling has quit [Ping timeout: 265 seconds]
spearalot has joined #ocaml
oc13 has quit [Ping timeout: 268 seconds]
barismetin has joined #ocaml
barismetin has quit [Changing host]
barismetin has joined #ocaml
_zack has quit [Quit: Leaving.]
pimmhogeling has joined #ocaml
<thelema>
odd - I keep getting 'inconsistent assumtpions' even after ocamlbuild -clean
pimmhogeling has quit [Ping timeout: 265 seconds]
joewilliams_away is now known as joewilliams
<thelema>
ah, my fault
_unK has joined #ocaml
<Camarade_Tux>
glad to have been helpful :-)
tmaeda has quit [Ping timeout: 260 seconds]
<thelema>
good job, #ocaml
tmaeda has joined #ocaml
_andre has joined #ocaml
jcaose has quit [Quit: Leaving]
Yoric has quit [Quit: Yoric]
yakischloba has joined #ocaml
munga has quit [Read error: Connection reset by peer]
munga has joined #ocaml
spearalot has quit [Quit: -arividerchi]
lokydor has joined #ocaml
pimmhogeling has joined #ocaml
_zack has joined #ocaml
derdon has joined #ocaml
tmaeda has quit [Ping timeout: 248 seconds]
tmaeda has joined #ocaml
jcaose has joined #ocaml
fraggle_ has quit [Quit: -ENOBRAIN]
fraggle_ has joined #ocaml
tmaeda has quit [Ping timeout: 260 seconds]
_zack has quit [Ping timeout: 276 seconds]
tmaeda has joined #ocaml
_zack has joined #ocaml
_zack has quit [Quit: Leaving.]
f[x] has quit [Ping timeout: 268 seconds]
philtor has joined #ocaml
lokydor has quit [Remote host closed the connection]
robocop has joined #ocaml
tmaeda has quit [Ping timeout: 260 seconds]
albacker has joined #ocaml
tmaedaZ has joined #ocaml
philtor has quit [Ping timeout: 260 seconds]
drk-sd has joined #ocaml
munga_ has joined #ocaml
boscop has joined #ocaml
ttamttam has quit [Quit: Leaving.]
th5 has quit [Quit: th5]
krankkatze has joined #ocaml
_andre has quit [Quit: leaving]
fraggle_ has quit [Read error: Connection reset by peer]
fraggle_ has joined #ocaml
barismetin has quit [Quit: Leaving...]
Submarine has joined #ocaml
wu` has quit [Remote host closed the connection]
WuJiang has joined #ocaml
pimmhogeling has quit [Ping timeout: 258 seconds]
munga_ has quit [Quit: Ex-Chat]
WuJiang has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
pimmhogeling has joined #ocaml
linus5 has joined #ocaml
enthymeme has joined #ocaml
linus5 has quit [Client Quit]
linus5 has joined #ocaml
Tianon has quit [Read error: Connection reset by peer]
zhijie1 has joined #ocaml
zhijie1 has quit [Quit: Leaving.]
linus5 has quit [Remote host closed the connection]
Smerdyakov has joined #ocaml
linus5 has joined #ocaml
rwmjones has quit [Ping timeout: 245 seconds]
ulfdoz has joined #ocaml
drk-sd has quit [Quit: {'EXIT', drk-sd, "bye"}]
rwmjones has joined #ocaml
f[x] has joined #ocaml
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
joewilliams is now known as joewilliams_away
_zack has joined #ocaml
itewsh has joined #ocaml
enthymeme has joined #ocaml
f[x] has quit [Ping timeout: 268 seconds]
f[x] has joined #ocaml
feydr has joined #ocaml
f[x] has quit [Ping timeout: 248 seconds]
eldragon has quit [Read error: Connection reset by peer]
eldragon has joined #ocaml
pimmhogeling has quit [Remote host closed the connection]
Demitar has joined #ocaml
f[x] has joined #ocaml
ikaros has joined #ocaml
struktured has quit [Quit: Laptop suspended.]
struktured has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
ttamttam has joined #ocaml
Submarine has quit [Remote host closed the connection]
tmaedaZ has quit [Ping timeout: 252 seconds]
sshc has quit [Ping timeout: 260 seconds]
tmaedaZ has joined #ocaml
sshc has joined #ocaml
jcaose has quit [Ping timeout: 260 seconds]
eldragon has quit [Read error: Connection reset by peer]
struktured has quit [Ping timeout: 258 seconds]
enthymeme has quit [Quit: co']
pimmhogeling has joined #ocaml
eldragon has joined #ocaml
<hcarty>
Does the combination of ocaml-text + lwt build from GODI for anyone here? I would like to play with lwt's super-cool toplevel, but something in the build process seems broken.
<hcarty>
Or, of course, my system is broken. But I think my system is ok...
<thelema>
sorry, don't use GODI
<hcarty>
thelema: Have you tried ocaml-text on its own? (Apparently a requirement for the lwt toplevel)
<hcarty>
I'm getting libiconv linking errors and trying to determine if I have something misconfigured
<hcarty>
thelema: Yes
<thelema>
does toplevel stuff?
<thelema>
OCaml-Text is a library for dealing with ``text'', i.e. sequence of
<thelema>
unicode characters, in a convenient way.
<thelema>
That's what the website days...
<thelema>
*says
<hcarty>
lwt uses it to provide a toplevel with line editing, history, completion, etc.
<hcarty>
Without rlwrap, etc.
<thelema>
I thought most of that code was in lwt, not in ocaml-text
<hcarty>
It is
<Camarade_Tux>
hcarty: how should I test the toplevel? everything built find
<Camarade_Tux>
fine*
<hcarty>
But the linking errors I get are all from ocaml-text
<Camarade_Tux>
and can you pastebin the errors?
<hcarty>
Camarade_Tux: Ah, ok. So likely an error on my part :-) I'm not sure how to use the toplevel as lwt won't build for me without a proper ocaml-text build
oc13 has joined #ocaml
<hcarty>
Camarade_Tux: The C-stubs from ocaml-text are not linking to/find libiconv
<thelema>
ocaml-text needs libiconv, do you have that installed?
<hcarty>
thelema: I do, but it is in a non-standard location. And unforunately on a machine over which I have no administrative control
<hcarty>
unfortunately
<hcarty>
None of LD_FLAGS, LD_LIBRARY_PATH, CAML_LD_LIBRARY_PATH seem to help
<thelema>
you can probably edit the myocamlbuild to add the needed flags
joewilliams_away is now known as joewilliams
<Camarade_Tux>
pastebin the error? =)
<hcarty>
But I have had the same problem with OCaml + C stubs in the past. rpath and similar library path settings are difficult to get right in the generated dll*.so files.
<hcarty>
Camarade_Tux: :-) One moment, just need to get back to a pristine, original error state
<hcarty>
Yech... what is a decent pastebin that isn't dripping with banners?
<Camarade_Tux>
omploader.org too to a certain extent
<hcarty>
Camarade_Tux: Thanks!
<Camarade_Tux>
hcarty: you're sure you have the "-dev" package for libiconv?
<Camarade_Tux>
(/me hates this splitting)
<hcarty>
Camarade_Tux: It was installed from source
<Camarade_Tux>
what? libiconv?
<hcarty>
Camarade_Tux: Sorry - yes, libiconv was installed from source (from what I understand) in /usr/local/
<Camarade_Tux>
why from source?
<hcarty>
I wish I knew :-)
f[x] has quit [Ping timeout: 268 seconds]
<Camarade_Tux>
not your machine?
<hcarty>
No, not one I run/admin
<hcarty>
But I do have to work/develop on it
avsm has joined #ocaml
f[x] has joined #ocaml
<Camarade_Tux>
ah, I think I remember: you shouldn't have libiconv, the facilities are provided by gettext or maybe glibc
<Camarade_Tux>
but I don't guarantee that, I need to sleep :-)
<hcarty>
The system is running RHEL 5.x. There does not seem to be an official libiconv package for it.
<hcarty>
Camarade_Tux: Thanks, I'll see what I can find out from there
<hcarty>
Sleep well!
<Camarade_Tux>
I'm on slackware which doesn't try to split packages/libraries unlike debians and redhats and this sounds like something we could have a difference between distributions
<Camarade_Tux>
you can also try to add a CFLAGS=-liconv (or LDFLAGS=-liconv) when configuring ocaml-text
<hcarty>
Does gcc automatically pick up LDFLAGS?
<hcarty>
Yes, /usr/include/iconv.h is provided by glibc here. I wonder why it is trying to link against a libiconv then.
<Camarade_Tux>
autoconf would
oc13 has quit [Ping timeout: 258 seconds]
<hcarty>
No autoconf here
<hcarty>
Just make + ocamlbuild
<thelema>
there's no configure for ocaml-text, only ocamlbuild
<Camarade_Tux>
can you try to hide the thing in /usr/local?
<hcarty>
That's what is confusing me. As far as I know, it shouldn't be picked up. But I'm probably missing some environment variable or system configuration file.
<Camarade_Tux>
tried building it from outside godi?
<hcarty>
That's what I am trying now.
<hcarty>
The build seems to go fine, compiling with it ("make tests" or trying lwt) fails
<hcarty>
"it" being ocaml-text
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 246 seconds]
<Camarade_Tux>
log? and call ocamlbuild with '-verbose'
_zack has quit [Quit: Leaving.]
enthymeme has joined #ocaml
<hcarty>
There is no mention of iconv anywhere in the ocamlbuild compilation log or make/ocamlbuild output.
<hcarty>
A strange problem
sc30317 has joined #ocaml
sc30317 has left #ocaml []
sc30317 has joined #ocaml
struktured has joined #ocaml
<sc30317>
why am I gettina an error for this?
<sc30317>
let rec lp = function l ->
<sc30317>
if(List.tl == []) then (string_of_float (List.hd l))^"\n"
<hcarty>
sc30317: (1) you are comparing a function with a list
<sc30317>
hcarty, can I not do this?
<hcarty>
sc30317: You likely want (List.tl l <> [])
<hcarty>
sc30317: Or (List.tl l = [])
<sc30317>
ahhh
<hcarty>
Depending on the logic flow you want
<sc30317>
tthats what I missed
<hcarty>
Remember that = and == are different monsters
<hcarty>
You almost always want to use = and <> rather than == and !=
<sc30317>
yea I remember
<Camarade_Tux>
hcarty: the _tags file has: <src/text.cm{,x}a>: use_libtext
<hcarty>
Also, though, you can match the list directly without using List.hd and List.tl
<Camarade_Tux>
err, wait, wrong, sorry
<thelema>
let lp l = String.concat " " (List.map string_of_float l) ^ "\n"
<Camarade_Tux>
hcarty: well, I guess ocaml-text relies on iconv functions to come with libc which will make them always available without the need for a special switch
<Camarade_Tux>
but if you don't have them in libc for whatever reason, this will fail
<Camarade_Tux>
the fix would be to detect if libiconv is available and if it is, link against it
<Camarade_Tux>
it's an hypothesis but it sounds right
<hcarty>
Camarade_Tux: After some more digging, it looks like ocaml-text is compiling against the wrong iconv.h
<hcarty>
But I can't figure out why
<hcarty>
Or have not figured out why
<Camarade_Tux>
it takes the one in /usr/local first
<hcarty>
How do I override that? Short of bribing the IT folks to delete it out from whoever is using it...
<Camarade_Tux>
well
<thelema>
edit the myocamlbuild.ml to add the needed -I flag
<Camarade_Tux>
doesn't work that well actually
<Camarade_Tux>
(see cpp's manpage and look for '-I')
<hcarty>
Camarade_Tux: Fair point. Drat.
<thelema>
is . in the include path before /usr/local?
dmarkey has left #ocaml []
<thelema>
put the full path to iconv.h in the .c file?
<Camarade_Tux>
. isn't searched for '#include <file.h>' afaik, only for "file.h"
<Camarade_Tux>
full path would work
<thelema>
so change the .c file
<Camarade_Tux>
I think cpp's manpage will let you find a solution too but not as simple as editing the .c file
<hcarty>
-nostdinc looks like one heavy-handed possibility
<Camarade_Tux>
yeah, saw it and thought it would work but didn't want to mention it since it's prolly a bit too much ;-)
<derdon>
Camarade_Tux: are there any ocaml projects you are currently working on?
<Camarade_Tux>
but you could have ocaml-text work when libiconv doesn't come from libc :-)
<Camarade_Tux>
(hint hint ;-) )
<Camarade_Tux>
(windows :-) )
<Camarade_Tux>
derdon: yypkg right now ( http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=yypkg/yypkg.git;a=summary ) but haven't spent much time on it recently (it's mostly complete but there are a bunch of changes I want to make)
<Camarade_Tux>
and then, something FRP-related
<Camarade_Tux>
(if possible before the ocaml meeting...)
<hcarty>
Camarade_Tux: I am, sadly, working under Windows and connecting remotely to the dev machine. A sad state :-)
<Camarade_Tux>
heheh :-)
<Camarade_Tux>
any reason you're on windows?
<derdon>
Camarade_Tux: thanks, hope I can learn from the code :)
<Camarade_Tux>
derdon: not sure my code is the best one available out there :P
<hcarty>
Camarade_Tux: Again, due to not having admin rights. I'm hoping this will change (Windows).
<hcarty>
It is certainly not by choice
<derdon>
Camarade_Tux: you and thelema are the most active users in this channel. so I thought you are the "ocaml nerds" ;)
<Camarade_Tux>
hahaha, no I'm only nolife :-) (well, actually not but I often have IRC at hand)
<Camarade_Tux>
I'm not a beginner anymore but I was not very long ago ;-)
<Camarade_Tux>
hcarty: bah =/
<hcarty>
Hard-coded "/usr/include/iconv.h" does the trick
<derdon>
Camarade_Tux: can I ask you some questions about the code?
<sc30317>
hcarty, if I did that function like we said earlier
<sc30317>
wouldn't I just call it with lp abcd;
<sc30317>
?
<sc30317>
where abcd is my float list
<Camarade_Tux>
derdon: hmmm, you can but I don't know if I'll be able to answer, brain is off :-)
<derdon>
Camarade_Tux: what is the meaning of "with sexp" (which occurs very often in this file) in src/types.ml?
robocop has quit [Remote host closed the connection]
matthieu has joined #ocaml
<thelema>
derdon: it's part of the sexplib library
<Camarade_Tux>
derdon: it's a sexplib syntax extension: automatically creates conversion functions for sexplib
<jonafan>
well, i implemented my fourth scheme interpreter in ocaml
<hcarty>
Camarade_Tux and thelema: Just wanted to stop back momentarily to say that I worked around it by symlinking the system inconv.h to a directory under $HOME and adding that to C_INCLUDE_PATH. With that, ocaml-text and Lwt 2.0.0 built properly, and the Super Cool Lwt Toplevel works as advertised.
<jonafan>
this is the first one that i would deem correct
_zack has joined #ocaml
<hcarty>
Good night again all!
_zack has quit [Client Quit]
avsm has joined #ocaml
myu2 has joined #ocaml
<sc30317>
where would I find the implementation of the list functions?
Associat0r has joined #ocaml
<sc30317>
thelema, do you know?
<julm>
ocaml/stdlib/list.ml
<sc30317>
julm, where is that?
<julm>
in ocaml's sources
<sc30317>
ok thanks
avsm has quit [Quit: Leaving.]
valross has joined #ocaml
ygrek has quit [Remote host closed the connection]
avsm has joined #ocaml
ygrek has joined #ocaml
ofaurax_ has joined #ocaml
Associat0r has quit [Quit: Associat0r]
Yoric has joined #ocaml
albacker has quit [Quit: Leaving]
ikaros has quit [Quit: Leave the magic to Houdini]