* [ANN] Lwt 2.2.0 released
@ 2010-12-13 15:36 Jérémie Dimino
2010-12-16 16:05 ` [Caml-list] " Gregory Bellier
0 siblings, 1 reply; 7+ messages in thread
From: Jérémie Dimino @ 2010-12-13 15:36 UTC (permalink / raw)
To: caml-list
Hello,
The Lwt team is pleased to announce the release of Lwt 2.2.0. You can
download it at:
http://ocsigen.org/lwt/install
Here is a list of changes from the previous version (2.1.1):
* Bugfixes:
** Fix a bug with cancellable threads causing {{{Canceled}}}
exceptions to be raised randomly
** Fix a fd-leak in Lwt_io.open_connection
* {{{Lwt_unix}}} now use libev instead of select
* Add thread local storage support to {{{Lwt}}}
* Add backtrace support to {{{Lwt}}}. Now {{{Lwt}}} exceptions can
be recored by using the syntax extension with the {{{-lwt-debug}}}
command line switch.
* Allow blocking system calls to be executed in parallels
* Change the type of many functions of {{{Lwt_unix}}}, which now
return a {{{Lwt}}} thread
* Add functions {{{Lwt_unix.readable}}} and {{{Lwt_unix.writable}}}
* Add function {{{Lwt_io.is_busy}}}
* Add functions {{{Lwt_event.delay}}} and {{{Lwt_signal.delay}}}
* Add function {{{Lwt_term.render_update}}}
* Add function {{{Lwt_ssl.embed_socket}}}
* Add module {{{Lwt_bytes}}} defining operations on bigarrays
instead of strings
* Use bigarrays in Lwt_io instead of strings for the internal buffer.
Lwt_io.make now takes a function that uses a bigarray.
* Add module {{{Lwt_switch}}}
Enjoy!
--
Jérémie Dimino, on behalf of the Lwt team
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] [ANN] Lwt 2.2.0 released
2010-12-13 15:36 [ANN] Lwt 2.2.0 released Jérémie Dimino
@ 2010-12-16 16:05 ` Gregory Bellier
2010-12-16 16:12 ` Sylvain Le Gall
2010-12-16 16:13 ` [Caml-list] " Jérémie Dimino
0 siblings, 2 replies; 7+ messages in thread
From: Gregory Bellier @ 2010-12-16 16:05 UTC (permalink / raw)
To: Jérémie Dimino; +Cc: caml-list
I can't build lwt 2.2.0 while I successfully built 2.1.1
Here is the error I got (no such file or directory), followed by my
configuration :
+ ocamlfind ocamlc -c src/unix/lwt_unix_stubs.c
In file included from src/unix/lwt_unix_stubs.c:39:
src/unix/lwt_unix.h:28:16: error: ev.h: Aucun fichier ou dossier de ce type
Command exited with code 2.
Configuration:
pkg_camlp4_extend: ............................. /usr/lib/ocaml/camlp4
pkg_camlp4_quotations_o: ....................... /usr/lib/ocaml/camlp4
pkg_camlp4_lib: ................................ /usr/lib/ocaml/camlp4
ocamldoc: ...................................... /usr/bin/ocamldoc
pkg_threads: ................................... /usr/lib/ocaml
pkg_bigarray: .................................. /usr/lib/ocaml
pkg_unix: ...................................... /usr/lib/ocaml
Enhanced toplevel: ............................. false
SSL support: ................................... false
React helpers: ................................. false
build and install everything: .................. false
Text mode utilities: ........................... false
Unix support: .................................. true
Glib integration: .............................. false
Preemptive threads support: .................... true
Asynchronous unix functions: ................... true
OCamlbuild additional flags: ...................
Compile with ocaml profile flag on.: ........... false
Compile with ocaml debug flag on.: ............. true
Remove a directory.: ........................... rm -rf
Remove a file.: ................................ rm -f
suffix_program: ................................
is_native: ..................................... true
findlib_version: ............................... 1.2.4
PS documentation: .............................. $docdir
PDF documentation: ............................. $docdir
DVI documentation: ............................. $docdir
HTML documentation: ............................ $docdir
Documentation root: ............................ $datarootdir/doc/$pkg_name
Man documentation: ............................. $datarootdir/man
Locale-dependent data: ......................... $datarootdir/locale
Info documentation: ............................ $datarootdir/info
Read-only architecture-independent data: ....... $datarootdir
Read-only arch-independent data root: .......... $prefix/share
Object code libraries: ......................... $exec_prefix/lib
Modifiable single-machine data: ................ $prefix/var
Modifiable architecture-independent data: ...... $prefix/com
Read-only single-machine data: ................. $prefix/etc
Program executables: ........................... $exec_prefix/libexec
System admin executables: ...................... $exec_prefix/sbin
User executables: .............................. $exec_prefix/bin
Install architecture-dependent files in dir: ... $prefix
Install architecture-independent files dir: .... /usr/local
systhread_supported: ........................... true
default_executable_name: ....................... a.out
ext_dll: ....................................... .so
ext_lib: ....................................... .a
ext_asm: ....................................... .s
ext_obj: ....................................... .o
model: ......................................... default
native_c_compiler: ............................. gcc -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
bytecomp_c_compiler: ........................... gcc -fno-defer-pop
-Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC
standard_runtime: .............................. /usr/bin/ocamlrun
standard_library: .............................. /usr/lib/ocaml
standard_library_default: ...................... /usr/lib/ocaml
ocaml_version: ................................. 3.11.1
ccomp_type: .................................... cc
architecture: .................................. amd64
system: ........................................ linux
os_type: ....................................... Unix
Package version: ............................... 2.2.0
Package name: .................................. lwt
ocamlbuild: .................................... /usr/bin/ocamlbuild
ocamlopt: ...................................... /usr/bin/ocamlopt.opt
ocamlc: ........................................ /usr/bin/ocamlc.opt
ocamlfind: ..................................... /usr/bin/ocamlfind
I: Running command 'ocaml discover.ml -ocamlc /usr/bin/ocamlc.opt -ext_obj .o'
testing for fd passing: available
testing for sched_getcpu: available
testing for affinity getting/setting: available
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANN] Lwt 2.2.0 released
2010-12-16 16:05 ` [Caml-list] " Gregory Bellier
@ 2010-12-16 16:12 ` Sylvain Le Gall
2010-12-16 16:13 ` [Caml-list] " Jérémie Dimino
1 sibling, 0 replies; 7+ messages in thread
From: Sylvain Le Gall @ 2010-12-16 16:12 UTC (permalink / raw)
To: caml-list
I think you are missing libev package.
On Debian, you should install libev-dev package.
On 16-12-2010, Gregory Bellier <gregory.bellier@gmail.com> wrote:
> I can't build lwt 2.2.0 while I successfully built 2.1.1
>
> Here is the error I got (no such file or directory), followed by my
> configuration :
>
> + ocamlfind ocamlc -c src/unix/lwt_unix_stubs.c
> In file included from src/unix/lwt_unix_stubs.c:39:
> src/unix/lwt_unix.h:28:16: error: ev.h: Aucun fichier ou dossier de ce type
> Command exited with code 2.
>
Regards,
Sylvain Le Gall
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] [ANN] Lwt 2.2.0 released
2010-12-16 16:05 ` [Caml-list] " Gregory Bellier
2010-12-16 16:12 ` Sylvain Le Gall
@ 2010-12-16 16:13 ` Jérémie Dimino
2010-12-16 16:18 ` Gregory Bellier
2010-12-16 16:54 ` Hans Ole Rafaelsen
1 sibling, 2 replies; 7+ messages in thread
From: Jérémie Dimino @ 2010-12-16 16:13 UTC (permalink / raw)
To: Gregory Bellier; +Cc: caml-list
On Thu, Dec 16, 2010 at 05:05:31PM +0100, Gregory Bellier wrote:
> I can't build lwt 2.2.0 while I successfully built 2.1.1
>
> Here is the error I got (no such file or directory), followed by my
> configuration :
>
> + ocamlfind ocamlc -c src/unix/lwt_unix_stubs.c
> In file included from src/unix/lwt_unix_stubs.c:39:
> src/unix/lwt_unix.h:28:16: error: ev.h: Aucun fichier ou dossier de ce type
> Command exited with code 2.
You need to install libev.
Cheers,
--
Jérémie
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] [ANN] Lwt 2.2.0 released
2010-12-16 16:13 ` [Caml-list] " Jérémie Dimino
@ 2010-12-16 16:18 ` Gregory Bellier
2010-12-16 16:54 ` Hans Ole Rafaelsen
1 sibling, 0 replies; 7+ messages in thread
From: Gregory Bellier @ 2010-12-16 16:18 UTC (permalink / raw)
To: Jérémie Dimino; +Cc: caml-list
2010/12/16 Jérémie Dimino <jeremie@dimino.org>:
> On Thu, Dec 16, 2010 at 05:05:31PM +0100, Gregory Bellier wrote:
>> I can't build lwt 2.2.0 while I successfully built 2.1.1
>>
>> Here is the error I got (no such file or directory), followed by my
>> configuration :
>>
>> + ocamlfind ocamlc -c src/unix/lwt_unix_stubs.c
>> In file included from src/unix/lwt_unix_stubs.c:39:
>> src/unix/lwt_unix.h:28:16: error: ev.h: Aucun fichier ou dossier de ce type
>> Command exited with code 2.
>
> You need to install libev.
Ok. Maybe you should add it to the depedencies in your README file then.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] [ANN] Lwt 2.2.0 released
2010-12-16 16:13 ` [Caml-list] " Jérémie Dimino
2010-12-16 16:18 ` Gregory Bellier
@ 2010-12-16 16:54 ` Hans Ole Rafaelsen
2010-12-16 19:03 ` Jérémie Dimino
1 sibling, 1 reply; 7+ messages in thread
From: Hans Ole Rafaelsen @ 2010-12-16 16:54 UTC (permalink / raw)
To: Jérémie Dimino; +Cc: Gregory Bellier, caml-list
[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]
Does this added requirement limit its portability to other platforms e.g.
Windows?
Thanks,
Hans
On Thu, Dec 16, 2010 at 5:13 PM, Jérémie Dimino <jeremie@dimino.org> wrote:
> On Thu, Dec 16, 2010 at 05:05:31PM +0100, Gregory Bellier wrote:
> > I can't build lwt 2.2.0 while I successfully built 2.1.1
> >
> > Here is the error I got (no such file or directory), followed by my
> > configuration :
> >
> > + ocamlfind ocamlc -c src/unix/lwt_unix_stubs.c
> > In file included from src/unix/lwt_unix_stubs.c:39:
> > src/unix/lwt_unix.h:28:16: error: ev.h: Aucun fichier ou dossier de ce
> type
> > Command exited with code 2.
>
> You need to install libev.
>
> Cheers,
>
> --
> Jérémie
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
[-- Attachment #2: Type: text/html, Size: 1749 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-12-16 19:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-13 15:36 [ANN] Lwt 2.2.0 released Jérémie Dimino
2010-12-16 16:05 ` [Caml-list] " Gregory Bellier
2010-12-16 16:12 ` Sylvain Le Gall
2010-12-16 16:13 ` [Caml-list] " Jérémie Dimino
2010-12-16 16:18 ` Gregory Bellier
2010-12-16 16:54 ` Hans Ole Rafaelsen
2010-12-16 19:03 ` Jérémie Dimino
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox