[Unbound-users] Unbound 1.4.9 & Solaris 11 x64.

Simon-Bernard Drolet simon.bernard.drolet at gmail.com
Fri Mar 25 17:35:20 UTC 2011


On 03/25/11 06:34 AM, Milan Jurik - Oracle Czech wrote:
> Hi,
>
> could you review content of config.log? SS 12.1 on S11e build passed
> without problems.

Hi,

Here is what I see in config.log for SSL:

configure:14840: checking for SSL
configure:14864: result: found in /usr
configure:14879: checking for HMAC_CTX_init in -lcrypto
configure:14897: cc -o conftest  -g -O2 -xc99 -D__EXTENSIONS__ 
-D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 
-D_ALL_SOURCE   conftest.c  -lcrypto >&5
ld: fatal: file /usr/lib/values-xpg6.o: open failed: No such file or 
directory
ld: fatal: file processing errors. No output written to conftest
configure:14897: $? = 2
configure: failed program was:

Well, you got me on the right track... I was missing some packages from 
Solaris 11 Express... For dev...

Installing S11 Xpress doesn't install the same default packages as 
Solaris 10... Oh well!

In this case, I was missing SUNWarc, SUNWarcr...

Thank's.

Simon.
> Best regards,
>
> Milan
>
> Simon-Bernard Drolet píše v čt 24. 03. 2011 v 11:17 -0400:
>> Two subjects,
>>
>> first the download page for unbound-1.4.9.tar.gz gives : 404 Not Found.
>>
>> The latest link works.
>>
>>
>> second, Im trying to compile unbound-1.4.9 on Solaris 11 express x64
>> with Solaris Studio 12.2
>>
>> A simple ./configure gives:
>>
>> # ./configure
>> checking build system type... i386-pc-solaris2.11
>> checking host system type... i386-pc-solaris2.11
>> checking target system type... i386-pc-solaris2.11
>> checking for gcc... no
>> checking for cc... cc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... no
>> checking whether cc accepts -g... yes
>> checking for cc option to accept ISO C89... none needed
>> checking how to run the C preprocessor... cc -E
>> checking for grep that handles long lines and -e... /usr/bin/ggrep
>> checking for egrep... /usr/bin/ggrep -E
>> checking for ANSI C header files... yes
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking minix/config.h usability... no
>> checking minix/config.h presence... no
>> checking for minix/config.h... no
>> checking whether it is safe to define __EXTENSIONS__... yes
>> checking for an ANSI C-conforming const... yes
>> checking whether cc supports -g... yes
>> checking whether cc supports -O2... yes
>> checking whether we are using the GNU C compiler... (cached) no
>> checking whether cc accepts -g... (cached) yes
>> checking for cc option to accept ISO C89... (cached) none needed
>> checking cc dependency flag... -xM1
>> checking whether cc supports -Werror... no
>> checking whether cc supports -Wall... no
>> checking whether cc supports -std=c99... no
>> checking whether cc supports -xc99... yes
>> checking for getopt.h... yes
>> checking for time.h... yes
>> checking whether we need -xc99 -D__EXTENSIONS__ -D_BSD_SOURCE
>> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1
>> -D_ALL_SOURCE as a flag for cc... failed
>> checking whether we need -xc99 -D__EXTENSIONS__ -D_BSD_SOURCE
>> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for
>> cc... yes
>> checking whether we need -xc99 as a flag for cc... no
>> checking whether we need -D_BSD_SOURCE as a flag for cc... no
>> checking whether we need -D_GNU_SOURCE as a flag for cc... no
>> checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for cc...
>> failed
>> checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for cc... no
>> checking whether we need -D__EXTENSIONS__ as a flag for cc... no
>> checking for inline... inline
>> checking whether the C compiler (cc) accepts the "format" attribute... yes
>> checking whether the C compiler (cc) accepts the "unused" attribute... yes
>> checking for flex... no
>> checking for lex... lex
>> checking lex output file root... lex.yy
>> checking lex library... none needed
>> checking whether yytext is a pointer... no
>> checking for yylex_destroy... no
>> checking for bison... no
>> checking for byacc... no
>> checking for doxygen... no
>> checking for strip... strip
>> checking for ar... /usr/bin/ar
>> checking for a sed that does not truncate output... /usr/bin/gsed
>> checking for fgrep... /usr/bin/ggrep -F
>> checking for non-GNU ld... /usr/bin/ld
>> checking if the linker (/usr/bin/ld) is GNU ld... no
>> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
>> checking the name lister (/usr/bin/nm -p) interface... BSD nm
>> checking whether ln -s works... yes
>> 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 for /usr/bin/ld option to reload object files... -r
>> checking for objdump... no
>> checking how to recognize dependent libraries... pass_all
>> checking for ar... /usr/bin/ar
>> checking for strip... (cached) strip
>> checking for ranlib... ranlib
>> checking command to parse /usr/bin/nm -p output from cc object... failed
>> checking for dlfcn.h... yes
>> checking for objdir... .libs
>> checking for cc option to produce PIC... -KPIC -DPIC
>> checking if cc PIC flag -KPIC -DPIC works... yes
>> checking if cc static flag -Bstatic works... no
>> checking if cc supports -c -o file.o... yes
>> checking if cc supports -c -o file.o... (cached) yes
>> checking whether the cc linker (/usr/bin/ld) supports shared
>> libraries... yes
>> checking dynamic linker characteristics... solaris2.11 ld.so
>> checking how to hardcode library paths into programs... immediate
>> checking whether stripping libraries is possible... no
>> checking if libtool supports shared libraries... yes
>> checking whether to build shared libraries... yes
>> checking whether to build static libraries... yes
>> checking for stdarg.h... yes
>> checking for stdbool.h... yes
>> checking for netinet/in.h... yes
>> checking for sys/param.h... yes
>> checking for sys/socket.h... yes
>> checking for sys/uio.h... yes
>> checking for sys/resource.h... yes
>> checking for arpa/inet.h... yes
>> checking for syslog.h... yes
>> checking for netdb.h... yes
>> checking for sys/wait.h... yes
>> checking for pwd.h... yes
>> checking for glob.h... yes
>> checking for grp.h... yes
>> checking for login_cap.h... no
>> checking for winsock2.h... no
>> checking for ws2tcpip.h... no
>> checking for int8_t... yes
>> checking for int16_t... yes
>> checking for int32_t... yes
>> checking for int64_t... yes
>> checking for uint8_t... yes
>> checking for uint16_t... yes
>> checking for uint32_t... yes
>> checking for uint64_t... yes
>> checking for size_t... yes
>> checking for ssize_t... yes
>> checking for uid_t in sys/types.h... yes
>> checking for pid_t... yes
>> checking for off_t... yes
>> checking for u_char... yes
>> checking for rlim_t... yes
>> checking for socklen_t... yes
>> checking for in_addr_t... yes
>> checking for in_port_t... yes
>> checking if memcmp compares unsigned... no
>> checking for library containing inet_pton... no
>> checking for library containing socket... no
>> checking for unistd.h... (cached) yes
>> checking for working chown... no
>> checking vfork.h usability... no
>> checking vfork.h presence... no
>> checking for vfork.h... no
>> checking for fork... no
>> checking for vfork... no
>> checking return type of signal handlers... void
>> checking for _LARGEFILE_SOURCE value needed for large files... unknown
>> checking for special C compiler options needed for large files... no
>> checking for _FILE_OFFSET_BITS value needed for large files... 64
>> checking whether we need -D_LARGEFILE_SOURCE=1 as a flag for cc... no
>> checking if nonblocking sockets work... no
>> checking whether mkdir has one arg... no
>> checking whether pthreads work with -pthreads... no
>> checking for the pthreads library -lpthread... no
>> checking whether pthreads work with -mt... no
>> checking whether pthreads work with -pthread... no
>> checking for the pthreads library -lpthreads... no
>> checking whether pthreads work without any flags... no
>> checking whether pthreads work with -Kthread... no
>> checking whether pthreads work with -kthread... no
>> checking for the pthreads library -llthread... no
>> checking whether pthreads work with -pthread... no
>> checking whether pthreads work with -pthreads... no
>> checking whether pthreads work with -mthreads... no
>> checking for the pthreads library -lpthread... no
>> checking whether pthreads work with --thread-safe... no
>> checking whether pthreads work with -mt... no
>> checking for pthread-config... no
>> checking for SSL... found in /usr
>> checking for HMAC_CTX_init in -lcrypto... no
>> checking if -lcrypto needs -lgdi32... no
>> checking if -lcrypto needs -ldl... no
>> configure: error: OpenSSL found in /usr, but version 0.9.7 or higher is
>> required
>>
>>
>> But, if I run :
>>
>> # openssl version
>> OpenSSL 0.9.8o 01 Jun 2010
>>
>>
>> Final note, ldns 1.6.9 is reporting the same thing on configure, but not
>> nsd 3.2.8...
>>
>> Thank's.
>>
>
>


-- 
Simon-Bernard Drolet, SPecialiste X Inc., 514.247.6741
Simon.Bernard.Drolet<at>gmail(dot)com, Senior Solaris Contractor, Canada
Certified Sun Technical Instructor (CSTI),
Oracle Certified Professional, Oracle Solaris 10 System Administrator
Oracle Certified Expert, Oracle Solaris 10 Network Administrator
Oracle Certified Expert, Oracle Solaris 10 Security Administrator
Oracle Certified Professional, Oracle Solaris Cluster 3.2 System Administrator




More information about the Unbound-users mailing list