Maintained by: NLnet Labs

[Unbound-users] make test fails on Solaris

W.C.A. Wijngaards
Wed Jul 21 12:32:07 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ihsan,

- -norunpath is something that you passed to configure or make?

It does not seem fatal,

The make test target is mostly for NLnetLabs internal testing.  It needs
certain facilities, in this case, installed ldns example tools.  Also it
needs 'dig' (from the bind utils).  And shell scripts, a localhost
interface (127.0.0.1) and some random specific ports not in use.

It would be possible for a quick and less thorough test that does not
need as many resources (and is faster).
test:	unittest testbound
	./unittest
	(cd testdata; sh ../testcode/mini_tpkg.sh exe 03-testbound.tpkg)


Best regards,
   Wouter


On 07/21/2010 11:25 AM, Ihsan Dogan wrote:
> Hello,
> 
> Unbound 1.4.5 builds well on Solaris, but "make test" fails, if I build
> it with an external ldns library.
> 
> ./libtool --quiet --tag=CC --mode=link /opt/studio/SOS12/SUNWspro/bin/cc
> -R/opt/csw/lib -R/opt/csw/lib -R/opt/csw/lib -xO3 -m32 -xarch=v8
> -xnorunpath -g -O2 -xO4 -xtarget=generic -D_REENTRANT -L/opt/csw
> -L/opt/csw/lib -m32 -xarch=v8 -norunpath -L/opt/csw/lib -L/opt/csw/lib
> -L/opt/csw/lib -o unittest 
[..]
> -lldns -levent -lrt -ldl -lpthread -lsocket
> -lnsl -lcrypto
> cc: Warning: illegal option -norunpath
> if test -x "`which bash`"; then bash testcode/do-tests.sh; else sh
> testcode/do-tests.sh; fi
> No ldns-testns in path
> 
> 
> 
> 
> Ihsan
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxGzKYACgkQkDLqNwOhpPjQqwCeNptQqOYaWkQsko2xcrS0V/6V
lVoAnAgSSsH+Vh1uwjKHAnp8gtoAikJz
=iSui
-----END PGP SIGNATURE-----