hydra-users
[Top][All Lists]
Advanced

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

Nettle, Gnutls, and Solaris.


From: Mats Erik Andersson
Subject: Nettle, Gnutls, and Solaris.
Date: Wed, 8 Aug 2012 02:32:53 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello there,

the main obstacle for Hydra's target build-shishi of
GNU Inetutils to be successful on i686-solaris seems
to be gnutls-master and nettle.

Let me add observations from my manual builds, that should help
you to get them going futher than what they presently do.

The main difficulty is that Nettle as well as Gnutls will
break at build time, because both are inable to locate
<gmp.h> at any non-trivial location. A standard OpenSolaris
installation will have

   /usr/include/gmp/gmp.h
   /usr/include/gmp/mp.h

because there is a conflict with the non-GNU

   /usr/include/mp.h

The way to correct for this, with nettle-2.4, is


   ./configure --with-include-path=/usr/include/gmp \
          --prefix=whatever --enable-shared

Once this is built and installed, gnutls-3.0.18 will
be content with

   ./configure CPPFLAGS=-I/usr/include/gmp \
            --with-libnettle-prefix=whatever

since it builds all binaries without problems, and they
all pass every test case in the check target. The only
obstacle is that makeinfo-4.7, as present in OpenIndiana,
is not able to compile "doc/cha-cert-auth.texi" due to
the unknown symbol "@euro{}".

In summary: Nettle needs "--with-include-path", and Gnutls
needs CPPFLAGS to handle non-GNU systems in general. Of course
the CPPFLAGS trickery works for Nettle also, but there the
author provide a command line option. The responsible custodian
of the Hydra builds should be able to implement these hints.

Best regards,

   Mats Erik Andersson, on behalf of GNU Inetutils.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]