gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
mnabil has joined #ocaml
seanmcl has joined #ocaml
seafood has quit [Quit: seafood]
seanmcl has quit [Quit: seanmcl]
Guest78171 has quit []
mal`` has quit [Quit: Coyote finally caught me]
groovy2shoes has joined #ocaml
mnabil has quit [Ping timeout: 264 seconds]
mal`` has joined #ocaml
mnabil has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
mnabil has quit [Remote host closed the connection]
seanmcl has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 240 seconds]
Amorphous has quit [Ping timeout: 272 seconds]
Amorphous has joined #ocaml
seanmcl has quit [Quit: seanmcl]
lamawithonel has joined #ocaml
groovy2shoes has quit [Quit: groovy2shoes]
Derander_ has quit [Quit: ZNC - http://znc.sourceforge.net]
Derander has joined #ocaml
joewilliams is now known as joewilliams_away
lamawithonel has quit [Ping timeout: 255 seconds]
ulfdoz has joined #ocaml
ygrek has joined #ocaml
yezariaely has joined #ocaml
init1 has joined #ocaml
init1 has quit [Quit: Quitte]
ygrek has quit [Ping timeout: 245 seconds]
init1 has joined #ocaml
init1_ has joined #ocaml
init1 has quit [Read error: Connection reset by peer]
mnabil has joined #ocaml
mcclurmc has quit [Ping timeout: 250 seconds]
mikemc has quit [Ping timeout: 260 seconds]
jonathandav has quit [Ping timeout: 260 seconds]
ygrek has joined #ocaml
yezariaely has left #ocaml []
Sikul has joined #ocaml
init1_ has quit [Ping timeout: 241 seconds]
<Sikul> If I have two variable declarations such as shown here (http://pastie.org/1386984), how can I rewrite them to have the same functionality but no unbound errors?
<Sikul> function declarations*
<julm> let rec foo ... and bar ...
<Sikul> Thank you.
init1 has joined #ocaml
ikaros has joined #ocaml
boscop_ is now known as boscop
ulfdoz has quit [Ping timeout: 272 seconds]
<adrien> ocaml-sqlite never ./configure-s correctly ( http://www.ocaml.info/home/ocaml_sources.html ), does it fail for everyone or just me? (I know it fails on slackware machines actually but don't know why it wouldn't fail on others, the configure test is not linking against -ldl)
Fullma has quit [Quit: Fullma]
seanmcl has joined #ocaml
<ftrvxmtrx> configures and builds on arch linux
<adrien> ftrvxmtrx: can you pastebin me your config.log and configure?
<ftrvxmtrx> adrien, config.log http://pastebin.ca/2022760
<ftrvxmtrx> configure is the same as before
<ftrvxmtrx> and config.status -- http://pastebin.ca/2022761
al-maisan has joined #ocaml
al-maisan is now known as almaisan-away
seanmcl has quit [Remote host closed the connection]
<adrien> right, configure won't be different of course, and thanks, must be because slackware configures sqlite with --enable-load-extension(s), now how to make a good fix...
Edward_ has joined #ocaml
Yoric has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
seanmcl has joined #ocaml
seanmcl has quit [Client Quit]
seanmcl has joined #ocaml
seanmcl has quit [Client Quit]
seanmcl has joined #ocaml
seanmcl has quit [Quit: seanmcl]
ygrek has quit [Ping timeout: 245 seconds]
<adrien> actually ocsigen has too many deps for me to use it for my graphical interface
ygrek has joined #ocaml
<julm> so few :°
<adrien> well, it does a lot of things so I'd say it's ok but my current use, I really need to avoid deps
Yoric has quit [Quit: Yoric]
tsuwabuki has quit [Read error: Operation timed out]
drunK has joined #ocaml
<mfp> adrien: note that you can link statically about everything but libc in order to avoid run-time deps
smerz has joined #ocaml
<mfp> then deploying becomes essentially scp myserver.opt somemachine: :-P
<adrien> it's for yypkg, a package manager, and it has to run on windows and that's really why I'm after deps (it might take a lot of time to get everything working well)
<mfp> indeed, creating the build env (especially on windows) can be nontrivial
<adrien> the most portable graphical library might be opengl actually =P
tsuwabuki has joined #ocaml
<adrien> I'm going to see if I can sketch something good using only http get and post
<mfp> don't know about the win* toolchains; is static link (of C libs required by OCaml stubs) feasible with MSVC/MinGW for windows?
<adrien> iirc, mldonkey ships only one file (mlnet.exe) so it has to link absolutely everything statically I guess
<ygrek> mfp, yes, but the choice is done at the time binding is built
<mfp> that's inconvenient... on linux you can just drop a -cclib -static and that's about it
<ygrek> yep
<ygrek> btw what is the correct way to link everything statically except libc
<mfp> IIRC you didn't need to exclude libc itself, it's just that the same version would be needed at runtime anyway
<mfp> let me check some older OMakefile...
<ygrek> i.e. libc would be linked statically?
<ygrek> but it will need to load some modules dynamically anyway (nss, etc) so it will fail if version doesn't match?
<ygrek> but if libc is linked completely dynamically the binary will work on all compatible libc versions (not strictly equal)
<ygrek> and all other deps linked statically to simplify distribution
<mfp> yup, exactly
<mfp> this is all I have in an old OMakefile that created a static ocsigen server -> OCAMLOPTFLAGS += -cclib -static -cclib -lcrypto -cclib -lpcre
<adrien> anyone know what would be the size of a hello world lablgtk application linked statically on windows? (including gtk itself)
<ygrek> why would you need -lpcre and -lcrypto ? they should be embedded into cma, don't they?
<ygrek> so in such way libc is linked statically?
<mfp> I guess I added -lpcr and -lcrypto to ensure they were linked statically; I'll recompile and see what happens :)
<mfp> ygrek: in this case, you get unresolved symbols from other libs if you omit these
joewilliams_away is now known as joewilliams
<mfp> e.g. /usr/lib/libssl.a requires stuff from libcrypto.a
<mfp> that dependency, which is normally handled automatically by ld.so, escapes the .cma
<mfp> when linking statically
<ygrek> hm, so this is kinda of a bug of openssl bindings - -lcrypto should've been embedded into cma and added to command-line automagically by ocaml
<mfp> libc is linking statically, but you get as expected several warnings of the form > (.text+0x15c): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
<mfp> *linked
<ygrek> hm, I see
jonathandav has joined #ocaml
smerz has quit [Ping timeout: 240 seconds]
mikemc has joined #ocaml
mcclurmc has joined #ocaml
ulfdoz has joined #ocaml
smerz has joined #ocaml
ulfdoz has quit [Ping timeout: 265 seconds]
Yoric has joined #ocaml
<adrien> does labltk on windows require anything else than the libtk dll? (does it have to start tcl?)
ulfdoz has joined #ocaml
ikaros has joined #ocaml
cthuluh has quit [Read error: Operation timed out]
cthuluh has joined #ocaml
manveru has quit [Ping timeout: 255 seconds]
ygrek has quit [Ping timeout: 245 seconds]
ygrek has joined #ocaml
tmaeda has quit [Ping timeout: 276 seconds]
tmaeda has joined #ocaml
init1 has quit [Quit: Quitte]
tmaeda has quit [Read error: Connection reset by peer]
tmaeda has joined #ocaml
ztfw has joined #ocaml
mnabil has quit [Remote host closed the connection]
pheredhel has quit [Ping timeout: 276 seconds]
hyperboreean has quit [Ping timeout: 260 seconds]
rudi_s has quit [Ping timeout: 240 seconds]
hyperboreean has joined #ocaml
rudi_s has joined #ocaml
pheredhel has joined #ocaml
elehack has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
Edward_ has quit []
ikaros has quit [Quit: Leave the magic to Houdini]
ztfw has quit [Remote host closed the connection]
Yoric has quit [Quit: Yoric]
ftrvxmtrx has quit [Quit: Leaving]