"Adam Langley" <[EMAIL PROTECTED]> writes:

> On Thu, Sep 4, 2008 at 5:05 AM, Martin Geisler <[EMAIL PROTECTED]> wrote:
>>> Thanks for the vote of confidence. I think NaCl gets paged into my
>>> brain tomorrow. I'll see if I can get the shared library support
>>> done.
>
> See the patch set at
> http://imperialviolet.org/binary/nacl-20080714-agl-20080904.tar.bz2
>
> That contains patches for several curve25519 implementations, shared
> library building and the python bindings. To build the python bindings
> (which are in bindings/python) first install the libnacl.so into
> /usr/lib, the include files into /usr/include/nacl then:
>
> % bash generate.sh
> % python setup.py build

I have not tested this yet, so maybe there is no problem... But I think
we must support installing to a custom prefix since most people who use
this wont have root access to their machines (at least not the machines
at the university).

I'm always installing Python stuff with

  python setup.py install --home=~/opt

and other stuff with

  ./configure --prefix=$HOME/opt
  make
  make install

That has worked quite well with the other VIFF dependencies, so it would
be great if NaCl would have a similar build infrastructure.

> There may be ELF visibility issues with some of the code that I'm not
> building here (like the curve25519/athlon code). If you don't find
> libnacl.so in build/$(hostname)/lib/$abi-pic then email me your
> build/$(hostname)/log.

Thanks, I'll let you know of any problems when I get this tested, maybe
some time next week.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.

Attachment: pgpACFnwaVSu9.pgp
Description: PGP signature

_______________________________________________
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

Reply via email to