[gnutls-help] Compiling gnutls on solaris

dev dev at cor0.com
Thu Sep 25 15:17:18 CEST 2014

On September 24, 2014 at 6:33 PM Mat Troi <mattroisang at gmail.com> wrote:
> Hi,
> Has anyone successfully compile gnutls on Solaris 11.2?

on Solaris 10 with gnutls-3.3.8 I see :

node000 $ LD_LIBRARY_PATH=/usr/local/lib ./configure
--enable-dependency-tracking \
> --enable-shared --enable-static --disable-hardware-acceleration \
> --with-libiconv-prefix=/usr/local --with-libintl-prefix=/usr/local \
> --with-libz-prefix=/usr/local
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... gawk
configure: WARNING:
*** autogen not found. Will not link against libopts.
checking for inline... inline
checking for ANSI C header files... (cached) yes
checking for NETTLE... yes
checking for HOGWEED... yes
checking for __gmpz_cmp in -lgmp... yes
checking for LIBTASN1... no
configure: WARNING:
  *** Libtasn1 was not found. Will use the included one.

checking whether to use the included minitasn1... yes
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking how to link with libiconv... /usr/local/lib/libiconv.so
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking if gcc/ld supports -Wl,--output-def... no
checking if LD -Wl,--version-script works... no
checking whether lseek detects pipes... yes
checking for memmem... no
checking absolute name of <netdb.h>... "///usr/include/netdb.h"
checking whether getaddrinfo is declared without a macro... yes
checking whether freeaddrinfo is declared without a macro... yes
checking whether gai_strerror is declared without a macro... yes
checking whether getnameinfo is declared without a macro... yes
checking whether <netinet/in.h> is self-contained... yes
checking for pmccabe... false
checking for stdint.h... (cached) yes
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached)
checking for fgrep... /usr/xpg4/bin/grep -F
checking for non-GNU ld... /usr/ccs/bin/sparcv9/ld
checking if the linker (/usr/ccs/bin/sparcv9/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)...
/usr/ccs/bin/sparcv9/nm -p
checking the name lister (/usr/ccs/bin/sparcv9/nm -p) interface... BSD
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert sparc-sun-solaris2.10 file names to
sparc-sun-solaris2.10 format... func_convert_file_noop
checking how to convert sparc-sun-solaris2.10 file names to toolchain
format... func_convert_file_noop
checking for /usr/ccs/bin/sparcv9/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
configure: WARNING:
*** libunbound was not found. Libdane will not be built.
checking for P11_KIT... no
configure: WARNING:
*** p11-kit >= 0.20.7 was not found. PKCS #11 support will be disabled.
*** You may get it from http://p11-glue.freedesktop.org/p11-kit.html
checking for tss library... no
configure: WARNING:
*** trousers was not found. TPM support will be disabled.
checking for libz... yes
checking how to link with libz... /usr/local/lib/libz.so
checking whether building Guile bindings... yes
*** Detecting GNU Guile...

checking for guile-snarf... no
configure: WARNING: `guile-snarf' from Guile 1.8 not found.  Guile
bindings not built.
*** Checking dependencies for crywrap...

config.status: executing libtool commands
configure: summary of build options:

  version:              3.3.8 shared 69:0:41
  Host/Target system:   sparc-sun-solaris2.10
  Build system:         sparc-sun-solaris2.10
  Install prefix:       /usr/local
  Compiler:             /opt/solarisstudio12.3/bin/c99
  CFlags:               -errfmt=error -erroff=%none -errshort=full
-xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32
-xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none
-xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2
  Library types:        Shared=yes, Static=yes
  Local libopts:        yes
  Local libtasn1:       yes
  Use nettle-mini:      no

configure: External hardware support:

  /dev/crypto:          no
  Hardware accel:       none
  Padlock accel:        yes
  PKCS#11 support:      no
  TPM support:          no

configure: Optional features:
(note that included applications might not compile properly
if features are disabled)

  DTLS-SRTP support:    yes
  ALPN support:         yes
  OCSP support:         yes
  Ses. ticket support:  yes
  OpenPGP support:      yes
  SRP support:          yes
  PSK support:          yes
  DHE support:          yes
  ECDHE support:        yes
  RSA-EXPORT support:   yes
  Anon auth support:    yes
  Heartbeat support:    yes
  Unicode support:      yes
  Self checks:          no
  Non-SuiteB curves:    yes
  FIPS140 mode:         no

configure: Optional applications:

  crywrap app:          yes

configure: Optional libraries:

  Guile wrappers:       no
  C++ library:          yes
  DANE library:         no
  OpenSSL compat:       yes

configure: System files:

  Trust store pkcs11:
  Trust store dir:
  Trust store file:
  Blacklist file:
  CRL file:
  Priority file:        /etc/gnutls/default-priorities
  DNSSEC root key file: /etc/unbound/root.key

configure: WARNING:
*** The DNSSEC root key file in /etc/unbound/root.key was not found.
*** This file is needed for the verification of DNSSEC responses.
*** Use the command: unbound-anchor -a "/etc/unbound/root.key"
*** to generate or update it.
node000 $

The Padlock feature above makes little sense on Sparc but there it is.

No idea what will happen and really I don't know what test suite GNU TLS
to provide any assurance that it is working.

Anyways, ymmv.


More information about the Gnutls-help mailing list