00:01
<
Jeff_123 >
How does caml store chars? Single element char arrays? There doesn't seem to be macros for handling chars directly in the c interface.
00:06
m3ga has joined #ocaml
00:11
<
Jeff_123 >
oh nm, I think they're just ints
00:12
<
mwc >
One thing I'd like to see in that tool is the ability to dump the mangled name for functions. You'd need that for making bindings
00:20
<
mwc >
actually, looks like it dumps the mangled names now
00:26
<
Jeff_123 >
that only makes sense :)
00:32
ChristopheT has quit ["Need some rest"]
00:34
nuncanada has joined #ocaml
00:39
letrec has quit [Read error: 101 (Network is unreachable)]
00:50
er_away has quit [Remote closed the connection]
01:01
silentbicycle has quit ["..."]
01:04
mwc has quit [Read error: 110 (Connection timed out)]
01:06
Morphous_ has joined #ocaml
01:18
masterlinux has left #ocaml []
01:20
MikeMcClurg has quit [Read error: 110 (Connection timed out)]
01:20
Morphous has quit [Read error: 110 (Connection timed out)]
01:24
hsuh has joined #ocaml
01:25
Ched- has quit [Connection timed out]
01:25
Ched- has joined #ocaml
02:06
Axioplas1 has joined #ocaml
02:32
letrec_ has joined #ocaml
02:32
letrec_ is now known as letrec
02:53
hsuh has quit [Remote closed the connection]
03:40
Jeff_123 has quit [Read error: 104 (Connection reset by peer)]
04:03
Philonous1 has joined #ocaml
04:07
Associat0r has quit []
04:08
Associat0r has joined #ocaml
04:10
Associat0r has quit [Client Quit]
04:10
Associat0r has joined #ocaml
04:12
Associat0r has quit [Client Quit]
04:12
Associat0r has joined #ocaml
04:14
Philonous has quit [Read error: 113 (No route to host)]
04:47
mikezackles has quit [Read error: 110 (Connection timed out)]
04:50
Jeff_123 has joined #ocaml
05:06
Axioplas2 has joined #ocaml
05:06
Axioplas1 has quit [Read error: 104 (Connection reset by peer)]
05:06
arquebus has joined #ocaml
05:15
Axioplas1 has joined #ocaml
05:16
Axioplas2 has quit [Read error: 104 (Connection reset by peer)]
05:33
m3ga has quit ["disappearing into the sunset"]
06:02
Axioplas1 has quit [Read error: 104 (Connection reset by peer)]
06:07
Axioplas1 has joined #ocaml
06:10
shortc|desk has quit ["Probably rebooting."]
06:10
shortcircuit has joined #ocaml
06:11
shortcircuit is now known as shortc|desk
06:13
Axioplas1 has quit [Remote closed the connection]
06:13
Axioplas1 has joined #ocaml
06:17
palomer has quit ["Leaving"]
06:47
Deffie has joined #ocaml
06:54
arquebus has quit [Remote closed the connection]
07:05
asmanur has joined #ocaml
07:10
Associat0r has quit []
07:20
Ched- has quit [Read error: 110 (Connection timed out)]
07:20
filp has joined #ocaml
07:30
bluestorm has joined #ocaml
07:32
bluestorm has quit [Remote closed the connection]
07:38
Snark_ has joined #ocaml
07:38
Snark_ is now known as Snark
07:42
Axioplas1 has quit ["leaving"]
07:51
rwmjones_ has joined #ocaml
08:04
rwmjones has quit [Read error: 104 (Connection reset by peer)]
08:37
asmanur` has joined #ocaml
08:37
asmanur has quit [Read error: 110 (Connection timed out)]
08:44
OChameau has joined #ocaml
08:48
Ched- has joined #ocaml
09:05
Mr_Awesome has quit ["aunt jemima is the devil!"]
09:10
LordMetroid has joined #ocaml
09:12
LordMetroid has quit [Client Quit]
09:45
asmanur` has quit [Read error: 110 (Connection timed out)]
09:45
hkBst has joined #ocaml
09:48
Dany has joined #ocaml
10:07
ChristopheT has joined #ocaml
10:11
guillem has joined #ocaml
10:35
jeremiah has quit []
10:38
jeremiah has joined #ocaml
10:43
thelema has quit [Read error: 110 (Connection timed out)]
10:56
jlouis has quit ["Leaving"]
11:00
ChristopheT has quit [Read error: 110 (Connection timed out)]
11:23
jlouis has joined #ocaml
11:45
sponge45 has joined #ocaml
11:49
<
rwmjones_ >
gildor ping
11:50
<
rwmjones_ >
gildor, I've just seen part of your ocaml-libvirt patch:
11:50
<
rwmjones_ >
+ mkdir -p $(OCAMLDESTDIR)
11:50
<
rwmjones_ >
+ ocamlfind install -destdir $(OCAMLDESTDIR) -ldconf ignore libvirt \
11:50
<
rwmjones_ >
which is wrong ... packages themselves should never make destdir or use the -destdir parameter
11:50
<
rwmjones_ >
that's a packaging thing
11:50
<
rwmjones_ >
so I'm going to back out that part
11:52
asmanur has joined #ocaml
11:53
Deffie has joined #ocaml
11:53
<
gildor >
rwmjones_: pong
11:54
<
rwmjones_ >
see above
11:54
<
gildor >
the patch has been written by agx
11:55
<
rwmjones_ >
gildor, you can pass an environment vraiable to get the same effect
11:55
<
rwmjones_ >
export DESTDIR=$RPM_BUILD_ROOT
11:55
<
rwmjones_ >
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
11:55
<
rwmjones_ >
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
11:55
<
rwmjones_ >
mkdir -p $RPM_BUILD_ROOT%{_bindir}
11:55
<
rwmjones_ >
make install-byte
11:55
<
gildor >
give 5 seconds, i review the patch
11:55
<
rwmjones_ >
%if %opt
11:55
<
rwmjones_ >
make install-opt
11:58
guillem has quit [Remote closed the connection]
11:58
<
gildor >
rwmjones_: yep but i also need the -ldconf ignore
11:58
<
rwmjones_ >
gildor, I left that in
11:58
<
gildor >
what about "ocamlfind install $(OCAMLFINDINSTALLFLAGS) libvirt..."
11:59
<
gildor >
i will just have to call make OCAMLFINDINSTALLFLAGS="-destdir ... -ldconf ignore"
11:59
<
rwmjones_ >
what can't be done without setting OCAMLFIND_DESTDIR?
11:59
<
gildor >
the ldconf parts ?
12:00
<
rwmjones_ >
gildor, no I left -ldconf ignore in there
12:01
<
rwmjones_ >
gildor, you'll also have to mkdir the destdir in debian/rules too
12:01
guillem has joined #ocaml
12:02
<
gildor >
i will use a ".dirs.in" to do that, i am used to
12:02
<
gildor >
i think the "-ldconf" stuff should not be left
12:02
<
gildor >
it is required on some system (maybe not debian and fedora...)
12:02
<
rwmjones_ >
should not be left in?
12:03
<
rwmjones_ >
oh I see
12:03
<
rwmjones_ >
it was only a warning before anyway
12:03
<
rwmjones_ >
gildor, on a totally separate issue, do you find that ocaml binaries built on debian hae an executable stack?
12:03
<
gildor >
having OCAMLFINDINSTALLFLAGS doesn't prevent you to build the package the way you want (using OCAMLFIND_DESTDIR)
12:04
<
gildor >
and allow wider customization
12:04
<
gildor >
executable stack -> never tested
12:05
<
rwmjones_ >
it's actually a big problem
12:05
<
rwmjones_ >
because if you link to C libs, they no longer benefit from NX protection
12:07
<
rwmjones_ >
anyway there's a lot of detail & links in the bugzilla link above about this issue
12:07
* rwmjones_
is going to have lunch now, back in a bit
12:20
RobertFischer has joined #ocaml
13:11
Philonous1 is now known as Philonous
13:22
Deffie has quit [Read error: 104 (Connection reset by peer)]
13:23
Deffie has joined #ocaml
13:27
Jedai has joined #ocaml
13:31
Jedai has quit [Read error: 104 (Connection reset by peer)]
13:40
ChristopheT has joined #ocaml
13:45
guillem has quit [Read error: 104 (Connection reset by peer)]
13:48
ChristopheT has left #ocaml []
14:32
ecc has joined #ocaml
14:34
Jedai has joined #ocaml
14:34
Jedai has quit [Read error: 104 (Connection reset by peer)]
14:37
Jedai has joined #ocaml
14:43
Jedai has quit [Read error: 104 (Connection reset by peer)]
14:49
bluestorm has joined #ocaml
15:12
Linktim has joined #ocaml
15:22
pango has quit [Remote closed the connection]
15:28
nuncanada has quit ["Leaving"]
15:35
pango has joined #ocaml
15:38
Nqur has joined #ocaml
15:46
Associat0r has joined #ocaml
15:49
bluestorm has quit ["Konversation terminated!"]
15:52
filp has quit ["Bye"]
15:56
letrec has quit [Read error: 110 (Connection timed out)]
16:02
Jeff_123 has quit [Read error: 110 (Connection timed out)]
16:17
LordMetroid has joined #ocaml
16:23
Jeff_124 has joined #ocaml
16:55
Nqur has left #ocaml []
17:01
letrec_ has joined #ocaml
17:01
letrec_ is now known as letrec
17:16
psnively has joined #ocaml
17:34
Associat0r has quit []
17:41
r0bby has joined #ocaml
17:43
guillem has joined #ocaml
17:48
asmanur has quit [Read error: 110 (Connection timed out)]
17:57
psnively has quit []
17:58
Associat0r has joined #ocaml
18:08
Dany has quit [Read error: 104 (Connection reset by peer)]
18:11
mikezackles has joined #ocaml
18:14
OChameau has quit [Read error: 113 (No route to host)]
18:15
letrec has quit [Read error: 110 (Connection timed out)]
18:29
RobertFischer has joined #ocaml
18:32
bluestorm has joined #ocaml
19:01
asmanur has joined #ocaml
19:32
Mr_Awesome has joined #ocaml
19:32
ofaurax has joined #ocaml
19:46
LordMetroid has quit [Connection timed out]
19:47
Snark has quit ["Ex-Chat"]
19:51
bluestorm has quit ["Konversation terminated!"]
20:11
rwmjones_ has quit ["Closed connection"]
20:21
LordMetroid has joined #ocaml
20:27
RobertFischer has joined #ocaml
20:44
Linktim has quit ["Quitte"]
20:46
tomh- has joined #ocaml
20:47
asmanur has quit [Remote closed the connection]
21:03
guillem has quit [Remote closed the connection]
21:11
dsadas has joined #ocaml
21:11
dsadas is now known as dsadsa
21:11
dsadsa is now known as tomh-
21:12
ChristopheT has joined #ocaml
21:13
ChristopheT has left #ocaml []
21:14
dsadsadsadsa has joined #ocaml
21:14
det has quit [Read error: 104 (Connection reset by peer)]
21:15
dsadsadsadsa is now known as dsadsadsadsad
21:15
tomh- has quit [Client Quit]
21:15
dsadsadsadsad is now known as tomh-
21:18
jlouis has quit [Read error: 104 (Connection reset by peer)]
21:19
jlouis has joined #ocaml
21:29
det has joined #ocaml
21:31
ofaurax has quit ["Leaving"]
22:13
kig has joined #ocaml
22:17
bluestorm has joined #ocaml
22:35
mikezackles has quit [Connection timed out]
22:37
<
kig >
fun with suffix combinators (and a little help from open List + some utils): "/etc/passwd" $ mapLines (split ":") $ filter (head $. equals "kig") $ map (pick [2; 5]) - : string list list = [["1000"; "/home/kig"]]
22:42
hkBst has quit ["Konversation terminated!"]
23:04
bluestorm has quit ["Konversation terminated!"]
23:27
palomer has joined #ocaml
23:37
RobertFischer has quit []