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

Re: building ocaml-dns and bitstring; using oasis


  • To: Anil Madhavapeddy <anil@xxxxxxxxxx>
  • From: Richard Mortier <Richard.Mortier@xxxxxxxxxxxxxxxx>
  • Date: Tue, 17 Jul 2012 09:43:02 +0100
  • Accept-language: en-US, en-GB
  • Acceptlanguage: en-US, en-GB
  • Cc: Mirage List <cl-mirage@xxxxxxxxxxxxxxx>
  • List-id: MirageOS development <cl-mirage.lists.cam.ac.uk>
  • Thread-index: Ac1j+C3VP7Tj0mv6S/mObPOnsr4kfw==
  • Thread-topic: building ocaml-dns and bitstring; using oasis

On 17 Jul 2012, at 01:23, Anil Madhavapeddy wrote:

> The cma isn't the problem. Does the .so exist in .opam somewhere?

yes-

: mort@greyjay:.opam$; find . -name "*bitstring*.so" -ls
14011413       16 -rwxrwxr-x    1 mort staff 8032 16 Jul 20:15 
./mir-uxd/build/bitstring.2.0.3/dllbitstring.so
14011462       16 -rwxrwxr-x    1 mort staff 8032 16 Jul 20:15 
./mir-uxd/lib/stublibs/dllbitstring.so


> 
> -anil
> 
> 
> On 16 Jul 2012, at 20:22, Richard Mortier <Richard.Mortier@xxxxxxxxxxxxxxxx> 
> wrote:
> 
>> hi all;
>> 
>> just removing some cruft from ocaml-dns per anil's earlier mail. issued an 
>> opam update & upgrade to get things up to date. then installed bitstring and 
>> cryptokit as ocaml-dns requires.  
>> 
>> now issue "make" and see it failing to build the oasis infrastructure with 
>> the following message:
>> 
>> + ocamlfind ocamldep -package re.str -package re -package lwt.unix -package 
>> lwt.syntax -package lwt -package cstruct.syntax -package cstruct -package 
>> cryptokit -package bitstring.syntax -package bitstring -syntax camlp4o 
>> -modules lib/base64.mli > lib/base64.mli.depends
>> Camlp4: Uncaught exception: DynLoader.Error 
>> ("/Users/mort/.opam/mir-uxd/lib/bitstring/bitstring.cma", "error loading 
>> shared library: dllbitstring.so: dlopen(dllbitstring.so, 138): image not 
>> found") 
>> 
>> fwiw that .cma does exist:
>> 
>> : mort@greyjay:ocaml-dns$; ll 
>> /Users/mort/.opam/mir-uxd/lib/bitstring/bitstring.cma
>> -rw-rw-r--  1 mort  staff  127949 16 Jul 20:15 
>> /Users/mort/.opam/mir-uxd/lib/bitstring/bitstring.cma
>> 
>> ...so what's up? :)
>> 
>> -- 
>> Cheers,
>> 
>> R.
>> 
>> 
>> 
>> 
>> This message and any attachment are intended solely for the addressee and 
>> may contain confidential information. If you have received this message in 
>> error, please send it back to me, and immediately delete it.   Please do not 
>> use, copy or disclose the information contained in this message or in any 
>> attachment.  Any views or opinions expressed by the author of this email do 
>> not necessarily reflect the views of the University of Nottingham.
>> 
>> This message has been checked for viruses but the contents of an attachment
>> may still contain software viruses which could damage your computer system:
>> you are advised to perform your own checks. Email communications with the
>> University of Nottingham may be monitored as permitted by UK legislation.


-- 
Cheers,

R.







 


Rackspace

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