<liutos>
Hi all. I'm a OCaml beginner from China and I have a question. Could anyone tell me that how can I create an input channel from a string and then I can use something like input_line for processing?
liutos has quit [Quit: 暂离]
rkj has quit [Ping timeout: 264 seconds]
weie has joined #ocaml
zhihanmw has joined #ocaml
<zhihanmw>
Hi
zhihanmw has quit [Quit: Page closed]
|jbrown| has quit [Read error: Operation timed out]
|jbrown| has joined #ocaml
ahokaomaeha has joined #ocaml
yroeht has quit [Ping timeout: 252 seconds]
yroeht has joined #ocaml
rkj has joined #ocaml
darinmorrison has quit []
mye has quit [Quit: mye]
rkj has quit [Ping timeout: 264 seconds]
Yoric has joined #ocaml
yacks has quit [Ping timeout: 276 seconds]
yacks has joined #ocaml
tautologico has quit [Quit: tautologico]
ahokaomaeha is now known as dameningenda
Cyanure has joined #ocaml
ttamttam has joined #ocaml
dabd_ has quit [Quit: Leaving]
Cyanure has quit [Remote host closed the connection]
ttamttam has quit [Remote host closed the connection]
ontologiae has joined #ocaml
ulfdoz has joined #ocaml
Yoric has quit [Ping timeout: 246 seconds]
willb has quit [Ping timeout: 255 seconds]
pango is now known as pangoafk
ontologiae has quit [Ping timeout: 260 seconds]
willb has joined #ocaml
ttamttam has joined #ocaml
ulfdoz has quit [Ping timeout: 276 seconds]
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
thomasga has joined #ocaml
hkBst has quit [Remote host closed the connection]
dezzy_ is now known as dezzy
dezzy has quit [Changing host]
dezzy has joined #ocaml
hkBst has joined #ocaml
Yoric has joined #ocaml
Kakadu has joined #ocaml
ocp has joined #ocaml
mika1 has joined #ocaml
cago has joined #ocaml
Yoric has quit [Ping timeout: 264 seconds]
Yoric has joined #ocaml
adrien_o1w is now known as adrien_oww
dameningenda has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
dameningenda has joined #ocaml
mcclurmc has joined #ocaml
ottbot has joined #ocaml
anderse has joined #ocaml
Sergey__ has joined #ocaml
Sergey_ has quit [Ping timeout: 272 seconds]
anderse has quit [Quit: anderse]
hkBst has quit [Read error: Connection reset by peer]
kaustuv has left #ocaml []
thomasga has quit [Quit: Leaving.]
hkBst has joined #ocaml
munga has joined #ocaml
cdidd has quit [Ping timeout: 255 seconds]
Kakadu has quit []
Kakadu has joined #ocaml
ontologiae has joined #ocaml
cdidd has joined #ocaml
hkBst has quit [Ping timeout: 244 seconds]
anderse has joined #ocaml
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
zbroyar has quit [Quit: Leaving.]
Kakadu has quit []
Kakadu has joined #ocaml
songqi has joined #ocaml
<songqi>
>> Fatal error: cannot open pervasives.cmi
<songqi>
someone can help me ?
<songqi>
I compiled ocaml with cygwin
<adrien_oww>
install
<adrien_oww>
check paths
<adrien_oww>
(food)
ttamttam has quit [Quit: ttamttam]
mcclurmc has quit [Ping timeout: 264 seconds]
<songqi>
I worked with windows cmd, but not with cygwin terminal
<songqi>
$ echo $OCAMLLIB
<songqi>
$ ls /Ocaml
<songqi>
bin etc License.txt ocaml-icon.ico onlinedoc.url
<songqi>
Changes.txt lib man OCamlWin.exe uninstall.exe
<songqi>
$ ocaml
<songqi>
OCaml version 4.00.1
<songqi>
>> Fatal error: cannot open pervasives.cmi
<songqi>
Fatal error: exception Misc.Fatal_error
<songqi>
$ echo $OCAMLLIB
<songqi>
/Ocaml/lib
<Kakadu>
Oh, it is strange
<Kakadu>
in my windows I has OCAMLLIB=/cygwin/c/OCaml/....
<Kakadu>
u can try to enable debug option to get more representative log
<songqi>
I just follow the instruction
<songqi>
cp config/m-nt.h config/m.h
<songqi>
cp config/s-nt.h config/s.h
<songqi>
cp config/Makefile.mingw config/Makefile
<songqi>
make -f Makefile.nt world
<songqi>
make -f Makefile.nt bootstrap
<songqi>
make -f Makefile.nt opt
<songqi>
make -f Makefile.nt opt.opt
<Kakadu>
whichomg
<Kakadu>
where did u get it?
<songqi>
get what?
<adrien_oww>
are you inside a cygwin shell?
<Kakadu>
this instruction
<songqi>
yes
<adrien_oww>
have you spawned an "sh"?
<songqi>
README.win32
<songqi>
The native Win32 port built with Mingw
<Kakadu>
maybe it will be easier to install prebuilt OCaml for windows?
<songqi>
to adrien_oww : what you mean "spawned an sh"
<songqi>
yes, i tried
<songqi>
the same problem
<osa1>
maybe I should ask to maling list
<osa1>
mailing*
Yoric has quit [Ping timeout: 264 seconds]
<zorun>
osa1: or just try to “opam update” and install it again
<zorun>
(you can also try to delete the local cache of the package)
<songqi>
oh i get it
<songqi>
OCAMLLIB should set to c:\\cygwin\\usr\\local\\lib
<songqi>
/usr/local/lib doesn`t work
<osa1>
zorun: same error
<osa1>
I'm running opam upgrade now
_andre has joined #ocaml
<songqi>
now i got this error:Fatal error: cannot load shared library dllunix
<Kakadu>
I can recommend to try opam switch
<Kakadu>
it should install new compiler and declare new environment
brennar has joined #ocaml
<brennar>
Could anyone help me with a homework problem?
<nitro_>
after installing a ext library must I add something like #require "batteries" in ocamlinit, can it be done automatically or is there a simpler way to import a library?
<Kakadu>
nitro_: ~/.ocamlinit
<nitro_>
yeah, but it's just tedious to editing ~/.ocamlinit
brennar has quit [Quit: Page closed]
dameningenda has quit [Ping timeout: 252 seconds]
osa1 has quit [Quit: Page closed]
<songqi>
Error: Unbound module Gobject
mcclurmc has joined #ocaml
Yoric has joined #ocaml
ttamttam has joined #ocaml
ttamttam has quit [Quit: ttamttam]
ttamttam has joined #ocaml
chambart has joined #ocaml
helppppf has joined #ocaml
<helppppf>
I'm looking for some hlep with an Ocaml programming question. Is anyone willing to help?
<adrien_oww>
don't ask to ask: ask directly
philed has joined #ocaml
<helppppf>
okay, well i'm looking to write a function configs a b, where a and b are ints and configs returns an int list list . I can't explain it well, but it would return an int list list of all the possible configurations of the distribution of a. So for example, configs 1 3 returns [[0;0;1];[0;1;0];[1;0;0]]
<helppppf>
and configs 3 2 returns [[0;3];[1;2];[2;1];[3;0]]
<chris2>
whats a good ocaml book for someone who can program functionally, but only has used scheme and haskell so far?
darkf has quit [Quit: Leaving]
mattrepl has joined #ocaml
<zorun>
helppppf: recursively, maybe with an accumulator
<zorun>
you basically fix each "digit" to the possible values
<helppppf>
What would the first step be?
noam_ has joined #ocaml
helppppf_ has joined #ocaml
helppppf_ has left #ocaml []
helppppf has quit [Ping timeout: 245 seconds]
helppppf has joined #ocaml
helppppf is now known as marblen
marblen is now known as Finley
<Finley>
Does anyone else have some help they could offer me for my configs problem?
q66 has joined #ocaml
Finley is now known as marblen
pangoafk is now known as pango
hkBst has quit [Read error: Connection reset by peer]
hkBst has joined #ocaml
hkBst has quit [Remote host closed the connection]
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
nitro_ has quit [Quit: Lost terminal]
<hkBst>
marblen: the recursive step could be: distrib n l = distrib 1 l `add` distrib (n-1) l Not very efficient though I don't think.
munga has quit [Ping timeout: 276 seconds]
marblen has quit [Quit: marblen]
dameningenda has joined #ocaml
<orbitz>
`add`, did I get lost in #haskell again? :)
chambart has quit [Ping timeout: 260 seconds]
songqi has left #ocaml []
thomasga has joined #ocaml
Kakadu has quit []
hkBst has quit [Ping timeout: 256 seconds]
hkBst has joined #ocaml
munga has joined #ocaml
tautologico has joined #ocaml
tac has joined #ocaml
chambart has joined #ocaml
cdidd has quit [Remote host closed the connection]
thomasga has quit [Quit: Leaving.]
munga has quit [Ping timeout: 246 seconds]
Yoric has quit [Ping timeout: 256 seconds]
SanderM has joined #ocaml
munga has joined #ocaml
marblen has joined #ocaml
cago has left #ocaml []
mika1 has quit [Quit: Leaving.]
ocp has quit [Ping timeout: 255 seconds]
munga has quit [Ping timeout: 256 seconds]
smondet has joined #ocaml
hkBst has quit [Quit: Konversation terminated!]
flixr has joined #ocaml
<flixr>
hi
<thelema>
hi
<pippijn>
hi
<flixr>
I was wondering if anyone can help me out with building ocaml libs.... I'm trying to build an ocaml lib with ocamlmklib that in turn uses other ocaml libs
<flixr>
so far so good, but when I want to use mylib, I have to add all the libs that mylib uses internally again
<thelema>
flixr: are all those libs compiled together, or are you trying to add external libraries to your package?
<thelema>
I'm guessing the second
<thelema>
and the right solution is to link the final program using both your lib and the external libs
<flixr>
mylib uses external libs like unix,str,xml-light, etc...
<thelema>
flixr: opam and odb make the process of installing all these other libs easy, findlib makes it easy to compile against yours with the others being linked in automatially
<flixr>
hm... that is how I'm doing it at the moment, but is quite annoying...
<flixr>
compiling or linking itself is not the problem
<thelema>
what is the problem?
<flixr>
I just expected that if mylib uses e.g. xml-light, and in my own prog I don't use any xml-light functions directly, that I wouldn't need to add xml-light package when compiling my prog with mylib
<flixr>
basically mylib has a lot of convenience wrappers and other tools for my project, but not every prog I build needs all these functions
<thelema>
you should install your library as a ocamlfind package and tell ocamlfind its dependencies
<flixr>
so if I e.g. make a prog that doesn't even use a function that internally to mylib uses xml-light, I still have to specify the xml-light package when building myprog
<thelema>
then you can compile with ocamlfind and it'll work out dependencies
<thelema>
yes, your library depends on xml-light
<flixr>
yes, I just thought that I wouldn't have to specify the xml-light.cma when building myprog, since that doesn't use anything of it...
<flixr>
if I just add xml-light.cma everything works fine... it is just missing some symbols if I don't...
<thelema>
nope, when you link in your library, all its dependencies must be linked in
<flixr>
hm... k
<thelema>
ocaml's linking is very strict so that type safety can be ensured even across modules
<flixr>
I'll have to create some meta files for ocamlfind for mylib then.... just not sure how to best do that, as installing that system wide is not an option
<thelema>
you can install locally and tell ocamlfind to look in a local dir
<flixr>
I guess that is what I have to do then
<flixr>
thanks a lot thelema !
<thelema>
OCAMLPATH
<thelema>
OCAMLFIND_DESTDIR
<thelema>
the second one affects where ocamlfind installs to, the first affects where it searches
<thelema>
flixr: n/p
<flixr>
yes, I saw that... was just hoping that I could avoid this, since every of our users will have to set this...
<thelema>
?? do your users compile your program?
<flixr>
yes
<thelema>
ah
<thelema>
One other option is to break your large library into smaller pieces based on their dependencies
<thelema>
and only link in the pieces you need. This would remove some external deps
<thelema>
but would complicate building.
<flixr>
true, that was also an option I was thinking about...
<thelema>
that said, if you're compiling a bunch of programs out of one source tree, the separation of some code into a "library" is not particularly helpful unless you actually install that library outside the source tree.
<thelema>
Otherwise, it's just another directory that gets included when compiling.
<flixr>
I mean it works fine as it is right now, it's just annoying that in the makefiles for the programs you have to include all the dependencies of mylib as well...
<flixr>
will see if I can find a nice solution with local ocamlfind
<thelema>
are you building all this out of a single source dir?
<thelema>
s/source dir/source tree/
<flixr>
true, I agree... we did binary installs for uses a while ago and want to do that for the next release again... but a lot of users are using the bleeding edge dev branch and compile from source there...
<flixr>
basically, yes
<thelema>
then you should ignore the library structure of your project when building.
<thelema>
and link in whatever modules you need
<thelema>
and include whatever findlib deps they have.
<flixr>
if I don't misunderstand you, then this is what I'm doing atm
ontologiae has quit [Read error: Operation timed out]
<flixr>
I was just cleaning up the makefiles and then was looking for a way to remove the need to link modules that only the lib uses when building my progs
<thelema>
You say you're using a makefile to drive building your project; just have the compile command be OCAMLC=ocamlfind ocamlc -packages xml-light,...,...
<thelema>
ocaml's linking is pretty fast, and modules from a .cma or .cmxa are only linked in if they're needed.
<thelema>
so you're not going to lose much sompile time or binary size from this strategy
<thelema>
*compile
<flixr>
yep, that is what I'm doing right now (although not with the nice OCAMLC var, that would indeed make it easier to read, specified the libs by itself each time)
<thelema>
yup, just clean up the structure of your makefile; don't worry about only linking in what's needed
<flixr>
I was just wondering why I need the xml-light.cma, even if in myprog that is not uses anyhere (only in mylib, but there also only in functions that I don't use in myprog)
rkj has joined #ocaml
<flixr>
I guess it still needs these symbols, but then in the end doesn't link it in if it turns out that they are not needed?
<thelema>
no, the decision to link in or not link in is done on a module by module basis
<thelema>
specifically toplevel modules
<thelema>
because even function definitions can have side effects, it's not safe to remove even apparently unused symbols
<thelema>
Yes, there's some heuristics that could be used to improve this (similar to how the value restriction is handled)
<thelema>
but they've not been done.
<flixr>
ok
<flixr>
makes sense now, didn't understand that this is currently handled on module basis
<thelema>
no problem.
rkj has quit [Ping timeout: 245 seconds]
UncleVasya has joined #ocaml
marblen has quit [Quit: marblen]
<flixr>
more questions ;-) trying to cleanup the makefile to build/install another ocaml lib
Cyanure has joined #ocaml
<flixr>
so far the install was done "by hand", so copying the files including the META explicitly instead of using ocamlfind install
<thelema>
eww
<thelema>
very bad.
<flixr>
yes
<thelema>
easy way is 'ocamlfind install <packagename> META file1 file2 ...'
<flixr>
the thing is that this package actually provies two libs, ivy and glibivy, so we have two meta files...
<flixr>
I couln't find anything on how to handle this with ocamlfind install
<thelema>
run ocamlfind install twice
<thelema>
or put both libs in the one meta file
<flixr>
ah, k
<thelema>
you can have subpackages within a meta file even
<thelema>
maybe that would be useful for glibivy
<flixr>
so what would you recommend, put both in the same dir /usr/lib/ocaml/ivy or make two separate ones: ivy and glibivy?
<flixr>
ok, so the former I guess
<thelema>
I'd recommend both in same package
<thelema>
and glibivy as a subpackage
<thelema>
should be easy to find an example
<flixr>
k
SanderM has quit [Remote host closed the connection]
<flixr>
hm.. subpackages don't seem to be the way go, it would break all the existing Makefiles... I guess I'll use two ocamlfind install invocations with two separate meta files
<thelema>
subpackages would just rename glibivy to ivy.glib
<thelema>
I don't see any other effect.
<flux>
1
<flux>
disregard that :)
<flixr>
yes, I know... but it would mean when I update the debian package we build from that, it will break it for all our users who are building from source with the un-updated makefiles :-(
<flixr>
or actually anyone using that lib...
<thelema>
then you'll have to keep the package names, which means 2 packages.
<thelema>
this is for paparazzi?
<flixr>
hehe, yes
<thelema>
interesting. I'd recommend trying to package things so that opam can install them. I don't think it'll be able to help with your many C dependencies, but it should take care of the ocaml dep structure
<thelema>
don't abort your current work; it'll still be needed with opam
<flixr>
so what is needed to be able to install it via opam?
tane has joined #ocaml
<flixr>
when I built it on the raspberry pi, I got ocaml4 and the libs I needed from opam
<thelema>
that's the biggest part of the puzzle; writing an opam file that has the commands to install
<thelema>
and deps
<flixr>
k
<flixr>
ah, yeah... I remember.. had to patch xml-light and specify the patch in that file..
as has joined #ocaml
philed has quit [Ping timeout: 264 seconds]
as_ has joined #ocaml
as has quit [Ping timeout: 244 seconds]
as_ is now known as as
yacks has quit [Quit: Leaving]
mcclurmc has quit [Ping timeout: 252 seconds]
wormphlegm has quit [Ping timeout: 256 seconds]
cyball has joined #ocaml
Snark has quit [Quit: Quitte]
ocp has joined #ocaml
<flixr>
hm... I can't seem to use ocamlfind install ivy META.ivy <files>
<flixr>
ocamlfind: Package ivy is already installed
<flixr>
- (file META.ivy already exists)
<flixr>
although this is clearly not the case
<flixr>
seems I can't use a meta file called META.ivy
flixr has left #ocaml []
flixr has joined #ocaml
<flixr>
so it seems to be impossible to have two meta files: META.ivy and META.glibivy and use ocamlfind install to install both... or any other ideas?
<adrien>
the file *HAS* to be named "META"
<adrien>
so just use cp
<flixr>
k, I guess I should install both ivy and glibivy to different dirs though?
<flixr>
or let me rephrase: how can I tell ocamlfind install to put both in the same dir?
as has quit [Quit: as]
<adrien>
why would you do that?
<flixr>
so I don't end up having some files twice... and while making glibivy a subpackage would be nicer, it would break exising code...
Sergey__ has quit [Quit: Leaving]
Yoric has joined #ocaml
<adrien>
you're saying you have two libraries
<adrien>
but that they can't exist as two distinct set of files
<adrien>
in that case they're not two libraries
<thelema>
maybe one depends on the other
zbroyar has joined #ocaml
<adrien>
but they're still two set of files
mcsquiggedy has joined #ocaml
<flixr>
not sure exactly... I'm not really that familiar with ocaml
<thelema>
can you have glibivy depend on ivy, so that it can use modules from ivy
dameningenda has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
ahokaomaeha has joined #ocaml
<flixr>
hm... another strange thing: ocamlfind install -destdir /usr/lib/ocaml ivy META <files> doesn't work if there already is a META.ivy in the current directory
<flixr>
it also complains that ivy is already installed, although it is not... seems like a bug to me
<flixr>
I can rename instead of copy the files for now
<adrien>
how do you know ivy isn't already installed?
anderse has quit [Quit: anderse]
<flixr>
first: I checked... second: it works if I delete META.ivy in current dir
<thelema>
you shouldn't use destdir
<flixr>
why not?
<thelema>
so that the user can override the install location with env. vars
<flixr>
hm... so -destdir has higher priority than the env vars..
<flixr>
I was actually using ocamlfind install $(OCAMLFINDFLAGS) -destdir $(DESTDIR)/usr/lib/ocaml ivy META $(IVY_INST_FILES)
<adrien>
destdir doesn't work like you think it does
marblen has joined #ocaml
<flixr>
so I can use it inside the debian package...
<adrien>
it's not like make install DESTDIR=$foo
mcclurmc has joined #ocaml
<flixr>
ok, what is it then?
<adrien>
I don't remember exactly but basically, don't set it; iirc debian uses env vars
<adrien>
really, no reason to use it
<flixr>
it seemed to work and I was using this because by default it would install to /usr/local/lib/ocaml/3.12.1 and none of the debian packages install there...
<flixr>
ok, thx
<flixr>
I'll use the env var in the debian package then
<adrien>
but it doesn't work that well in practice
<adrien>
no, nothing
<adrien>
it's an env var to *ocamlfind*
<adrien>
ocamlfind will take care of it
<flixr>
so this is set automatically when building the debian package?
<flixr>
well, I will try it out
chambart has quit [Ping timeout: 245 seconds]
<tautologico>
anyone here using tuareg-mode with recent emacs? I'm having trouble with emacs 24.1.1+emacs prelude and tuareg 2.0.5
<flixr>
only using it on emacs 23.3.1
tac has quit [Ping timeout: 245 seconds]
ocp has quit [Quit: Leaving.]
ocp has joined #ocaml
tac has joined #ocaml
osa1 has joined #ocaml
ahokaomaeha has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
julm has quit [Ping timeout: 245 seconds]
<flixr>
anyone here who can help with packaging an ocaml lib for debian/ubuntu?
<flixr>
I had it working with manually copying files before... but I can't seem to figure out how to set the destdir for ocamlfind install
darinmorrison has joined #ocaml
<thelema>
flixr: where were you manually copying files?
darinmorrison has quit [Client Quit]
<thelema>
maybe just look at how batteries' deb package is made; it uses ocamlfind and specifies no DESTDIR
darinmorrison has joined #ocaml
marblen has quit [Changing host]
marblen has joined #ocaml
<flixr>
I mean in the debian rules file, they also specify destdir there...
<flixr>
hm.. actually seems that battiers does use destdir in the makefile
<thelema>
Ah, I must have removed that from the 2.0 version. I should try to ping the packager for 1.x to work on a 2.0 version
<thelema>
anyway, OCAMLFIND_DEST is an environment variable that's normally empty that the debian package can set to add a "-destdir whatever" flag to ocamlfind
<flixr>
it worked for the install dir, but not for where to put the shlibs
<flixr>
and I think it was OCAMLFIND_DESTDIR
<thelema>
yes, OCAMLFIND_DESTDIR is the env variable for ocamlfind
<thelema>
OCAMLFIND_DEST is one I/we made up for making it easier for the debian infrastructure to control where batteries was installed to
<thelema>
I don't think I understood OCAMLFIND_DESTDIR back then
<flixr>
I guess I have to set OCAMLFIND_LDCONF as well
ttamttam has left #ocaml []
_andre has quit [Quit: leaving]
mcsquiggedy has quit [Ping timeout: 252 seconds]
mcsquiggedy has joined #ocaml
nlucaroni has joined #ocaml
chambart has joined #ocaml
ottbot has quit [Ping timeout: 252 seconds]
mcclurmc has quit [Read error: Connection reset by peer]
mcclurmc has joined #ocaml
<Leonidas>
flux: \ is awful to type and looks like one of the dreaded escape sequences.
<Leonidas>
avsm: did you see my email about RWO?
Cyanure has quit [Remote host closed the connection]
marblen has quit [Quit: marblen]
marblen has joined #ocaml
marblen has quit [Client Quit]
weie has quit [Quit: Leaving...]
chris447 has joined #ocaml
osa1 has quit [Ping timeout: 255 seconds]
ahokaomaeha has joined #ocaml
tautologico has quit [Quit: tautologico]
<mcsquiggedy>
quick(?) questions: how would I go about incorporating ocamldoc into an OMakefile, and how do I get ocamldoc not to throw a syntax error on code that uses syntax extensions (in this case, sexplib)?
Zerker has joined #ocaml
zbroyar has quit [Quit: Leaving.]
cdidd has joined #ocaml
Zerker has quit [Quit: Colloquy for iPad - Timeout (10 minutes)]
ottbot has joined #ocaml
mcsquiggedy has quit [Remote host closed the connection]
thomasga has joined #ocaml
thomasga has quit [Client Quit]
ocp has quit [Quit: Leaving.]
mcsquiggedy has joined #ocaml
<thelema>
mcsquiggedy: I dunno about omakefile's support for this, but what you need to do is use the same syntax extensions on the code that's being ocamldocced
<thelema>
-pp <command>Pipe sources through preprocessor <command>
cdidd has quit [Ping timeout: 248 seconds]
Yoric has quit [Ping timeout: 264 seconds]
KeithIrwin has joined #ocaml
<mcsquiggedy>
hmm... it doesn't seem to use -pp
<mcsquiggedy>
how do i use -pp to apply the sexplib/sexplib.syntax preprocessor?
<thelema>
maybe just ocamlfind ocamldoc -package sexplib.syntax? or does ocamlfind not do ocamldoc?
<thelema>
yes, it does
<thelema>
-syntax camlp4o
<thelema>
maybe you'll have to make your own ocamldoc rules
<mcsquiggedy>
Hmm... I ran it once, and it generated a bunch of html files
<mcsquiggedy>
i deleted those, ran it again, and now nothing
<mcsquiggedy>
ah, never mind. forgot a flag.
<flixr>
thelema, got the debian packaging working with ocamlfind install... thanks for your help
<mcsquiggedy>
thelema: thanks for your help. Hopefully, i can figure out how to plug this into omake
<thelema>
flixr: you're welcome. Thanks for contributing to the ocaml community
<flixr>
would it make sense to create an opam file for it?
<thelema>
mcsquiggedy: you're welcome and good luck. I don't know enough omake to help
<flixr>
you still have the external c dependencies though...
<thelema>
flixr: for the entirety of paparazzi?
<thelema>
for your helper lib, maybe
<flixr>
no, for the ocaml ivy bindings
<thelema>
yes, ivy
cdidd has joined #ocaml
<flixr>
ok, will look into that
<flixr>
another thing: we seem to be able to get rid of the necessity to add the ivy package when building our programs if we add the ivy-ocaml.cma to the ocamlmklib invocation when building the paparazzi lib
tautologico has joined #ocaml
<thelema>
flixr: interesting; I didn't realize .cma files could be passed to ocamlmklib
pkrnj has joined #ocaml
<flixr>
only a first short test, but seems to work...
chris447 has left #ocaml []
Anarchos has joined #ocaml
KeithIrwin has quit [Quit: Page closed]
chambart has quit [Ping timeout: 246 seconds]
smondet has quit [Ping timeout: 252 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
ahokaomaeha has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
emmanuelux has joined #ocaml
q66 has quit [Remote host closed the connection]
pkrnj has joined #ocaml
darkf has joined #ocaml
ahokaomaeha has joined #ocaml
emmanuelux has quit [Remote host closed the connection]