[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lwt-json-logger and crunch releases



Gosh darn it! Could you paste the problem?  In my build, it does install 
correctly into PREFIX under .opam:

./setup.bin -build -classic-display
/usr/local/bin/ocamlopt.opt -I /usr/local/lib/ocaml/ocamlbuild unix.cmxa 
/usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml 
/usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
ocamlfind ocamldep -package unix -package cmdliner -modules crunch/crunch.ml > 
crunch/crunch.ml.depends
ocamlfind ocamlc -c -g -annot -package unix -package cmdliner -I crunch -o 
crunch/crunch.cmo crunch/crunch.ml
ocamlfind ocamlc -a crunch/crunch.cmo -o crunch/crunch.cma
ocamlfind ocamlopt -c -g -annot -package unix -package cmdliner -I crunch -o 
crunch/crunch.cmx crunch/crunch.ml
ocamlfind ocamlopt -a crunch/crunch.cmx -o crunch/crunch.cmxa
ocamlfind ocamlopt -shared -I crunch crunch/crunch.cmx -o crunch/crunch.cmxs
ocamlfind ocamlc -c crunch/custom_unix_stubs.c
+ ocamlfind ocamlc -c crunch/custom_unix_stubs.c
clang: warning: argument unused during compilation: '-fno-defer-pop'
mv custom_unix_stubs.o crunch/custom_unix_stubs.o
/usr/local/bin/ocamlmklib -o crunch/crunch_stubs crunch/custom_unix_stubs.o
ocamlfind ocamlopt -g -linkpkg -package unix -package cmdliner 
crunch/crunch.cmx crunch/libcrunch_stubs.a -o crunch/crunch.native
./setup.bin -test
./setup.bin -doc
./setup.bin -reinstall
Installed /Users/avsm/.opam/system/lib/crunch/crunch.ml
Installed /Users/avsm/.opam/system/lib/crunch/crunch.cma
Installed /Users/avsm/.opam/system/lib/crunch/crunch.cmxa
Installed /Users/avsm/.opam/system/lib/crunch/crunch.a
Installed /Users/avsm/.opam/system/lib/crunch/crunch.cmxs
Installed /Users/avsm/.opam/system/lib/crunch/crunch.cmi
Installed /Users/avsm/.opam/system/lib/crunch/crunch.cmx
Installed /Users/avsm/.opam/system/lib/crunch/META
mkdir -p /Users/avsm/.opam/system/bin
cp _build/crunch/crunch.native /Users/avsm/.opam/system/bin/ocaml-crunch
mkdir -p /Users/avsm/.opam/system/share/man/man1
./_build/crunch/crunch.native --help=groff > 
/Users/avsm/.opam/system/share/man/man1/ocaml-crunch.1 || true

-anil


On 21 Sep 2012, at 17:34, Jon Ludlam <jjl25@xxxxxxxxx> wrote:

> FYI I'm getting another failure to install 'crunch' into /usr/local/bin/ - 
> you pesky mac users keep breaking my opam!
> 
> I'm frustrated because I _love_ the idea of lwt-json-logger and want to use 
> it immediately!
> 
> Jon
> 
> 
> On 21 Sep 2012, at 22:00, Anil Madhavapeddy wrote:
> 
>> I've released another two packages into OPAM today:
>> 
>> ocaml-crunch: http://github.com/mirage/ocaml-crunch
>> ------------
>> 
>> $ opam update
>> $ opam install crunch
>> $ man ocaml-crunch
>> $ ocaml-crunch --help
>> 
>> This is a tidied up version of the mirage-fs `mir-crunch` utility, which 
>> converts a directory into a static OCaml module that has no dependency on
>> that filesystem.
>> 
>> It uses cmdliner to generate man pages and nice help, so I separated it
>> from the mirage-fs repository (which is where all the Block and Fat32
>> libs go, and this is useful independently. 
>> 
>> Secondly:
>> 
>> ocaml-lwt-json-logger: http://github.com/avsm/ocaml-lwt-json-logger
>> ---------------------
>> 
>> $ opam install lwt-json-logger
>> 
>> This uses crunch to embed a debug web server within any Lwt/Mirage
>> binary, and serves up the log messages using fancy AJAX.  To try it
>> out, opam install the library (so you have all the dependencies) and
>> then clone the repo and run ./_build/lib_test/lwt_json_logger_test.native
>> 
>> It will start a webserver on localhost:8080, which you can connect to
>> with a web browser to see the debug messages.
>> 
>> The interface is still pretty beta, but I'm going to start using it
>> in the Signpost code and see how useful it is.  I hope to add more
>> live progress bars using js_of_ocaml soon!
>> 
>> -anil
>> 
> 
> 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.