Re: Netsys, multi-threading, with findlib on Debian.
Guillaume Yziquel <[email protected]> Sun, 01 Mar 2009 22:27:02 +0100
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <[email protected]> |
Guillaume Yziquel a écrit :
> Guillaume Yziquel a écrit :
>>> I've been trying to use netclient on my Debian system:
>> In fact, the situation is even weirder to me:
>>
>> After #use "topfind";; and #thread;;, #require "netclient";; does not
>> work, but #require "netsys", and then #require "netclient";; works out
>> properly...
>
> OK. Sorry for multiple postings. It seems to be that the META.in file in
> the src/netclient folder does not refer to netsys. That's where the
> issue seems to come from.
>
> All the best,
Replacing META.in of netclient by the following solves the problem
(thanks to thelema):
version = "@VERSION@"
requires = "netsys,equeue,netstring"
requires(mt) = "netsys,equeue,netstring,threads"
archive(byte) = "netclient.cma"
archive(native) = "netclient.cmxa"
archive(mt,byte) = "netclient.cma http_client_mt.cmo"
archive(mt,native) = "netclient.cmxa http_client_mt.cmx"
All the best,
--
Guillaume Yziquel
http://yziquel.homelinux.org/
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ocamlnet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel