<div dir="ltr">Hi Norm,<div><br></div><div>post installing and creating stunnel conf file i could not enable or start the stunnel service. I have posted my install output and other details earlier.</div><div><br></div><div>
Based on my posted logs Can you help me on this.<br></div><div><br></div><div>1. confirm my stunnel install is successful.</div><div><br></div><div>2. how to enable and start the stunnel service, my below try failed.</div>
<div><br></div><div><div>bash-3.00# svcadm enable stunnel</div><div>svcadm: Pattern 'stunnel' doesn't match any instances</div><div>bash-3.00# /usr/bin/stunnel<br></div><div>bash: /usr/bin/stunnel: No such file or directory</div>
<div>bash-3.00#</div></div><div><br></div><div><br></div><div>Thanks,</div><div>Ashok Kumar G</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 7:43 PM, Ashok Kumar G <span dir="ltr"><<a href="mailto:ashokdb2k@gmail.com" target="_blank">ashokdb2k@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks very much Norm,<div><br></div><div>Below is my install output. I used "make" instead of "gmake"</div>
<div><br></div><div><div class=""><p class="MsoNormal">bash-3.00# echo $PATH</p><p class="MsoNormal">
/usr/sbin:/usr/bin</p><p class="MsoNormal">bash-3.00#</p></div><p class="MsoNormal">bash-3.00# PATH=$PATH:/usr/sfw/bin</p><p class="MsoNormal">bash-3.00# ./configure --with-ssl=/usr/sfw --disable-libwrap</p><p class="MsoNormal">

configure: **************************************** initialization</p><p class="MsoNormal">checking for a BSD-compatible install... auto/install-sh -c</p><p class="MsoNormal">checking whether build environment is sane... yes</p>

<p class="MsoNormal">checking for a thread-safe mkdir -p... auto/install-sh -c -d</p><p class="MsoNormal">checking for gawk... no</p><p class="MsoNormal">checking for mawk... no</p><p class="MsoNormal">checking for nawk... nawk</p>

<p class="MsoNormal">checking whether make sets $(MAKE)... no</p><p class="MsoNormal">checking build system type... i386-pc-solaris2.10</p><p class="MsoNormal">checking host system type... i386-pc-solaris2.10</p><p class="MsoNormal">

checking for gcc... gcc</p><p class="MsoNormal">checking whether the C compiler works... yes</p><p class="MsoNormal">checking for C compiler default output file name... a.out</p><p class="MsoNormal">checking for suffix of executables...</p>

<p class="MsoNormal">checking whether we are cross compiling... no</p><p class="MsoNormal">checking for suffix of object files... o</p><p class="MsoNormal">checking whether we are using the GNU C compiler... yes</p><p class="MsoNormal">

checking whether gcc accepts -g... yes</p><p class="MsoNormal">checking for gcc option to accept ISO C89... none needed</p><p class="MsoNormal">checking for style of include used by make... none</p><p class="MsoNormal">checking dependency style of gcc... none</p>

<p class="MsoNormal">checking whether gcc and cc understand -c and -o together... yes</p><p class="MsoNormal">checking whether make sets $(MAKE)... (cached) no</p><p class="MsoNormal">configure: **************************************** compiler/linker flags</p>

<p class="MsoNormal">checking whether gcc accepts -pthread... yes</p><p class="MsoNormal">checking whether gcc accepts -fstack-protector... no</p><p class="MsoNormal">checking whether gcc accepts -pie... yes</p><p class="MsoNormal">

checking whether gcc accepts -Wall... yes</p><p class="MsoNormal">checking whether gcc accepts -Wextra... yes</p><p class="MsoNormal">checking whether gcc accepts -Wno-long-long... yes</p><p class="MsoNormal">checking whether gcc accepts -pedantic... yes</p>

<p class="MsoNormal">configure: **************************************** libtool</p><p class="MsoNormal">checking for a sed that does not truncate output... /usr/bin/sed</p><p class="MsoNormal">checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep</p>

<p class="MsoNormal">checking for egrep... /usr/sfw/bin/ggrep -E</p><p class="MsoNormal">checking for fgrep... /usr/sfw/bin/ggrep -F</p><p class="MsoNormal">checking for ld used by gcc... /usr/ccs/bin/ld</p><p class="MsoNormal">

checking if the linker (/usr/ccs/bin/ld) is GNU ld... no</p><p class="MsoNormal">checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p</p><p class="MsoNormal">checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm</p>

<p class="MsoNormal">checking whether ln -s works... yes</p><p class="MsoNormal">checking the maximum length of command line arguments... 786240</p><p class="MsoNormal">checking whether the shell understands some XSI constructs... yes</p>

<p class="MsoNormal">checking whether the shell understands "+="... no</p><p class="MsoNormal">checking for /usr/ccs/bin/ld option to reload object files... -r</p><p class="MsoNormal">checking for objdump... no</p>

<p class="MsoNormal">checking how to recognize dependent libraries... pass_all</p><p class="MsoNormal">checking for ar... no</p><p class="MsoNormal">checking for strip... no</p><p class="MsoNormal">checking for ranlib... no</p>

<p class="MsoNormal">checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok</p><p class="MsoNormal">checking how to run the C preprocessor... gcc -E</p><p class="MsoNormal">checking for ANSI C header files... yes</p>

<p class="MsoNormal">checking for sys/types.h... yes</p><p class="MsoNormal">checking for sys/stat.h... yes</p><p class="MsoNormal">checking for stdlib.h... yes</p><p class="MsoNormal">checking for string.h... yes</p><p class="MsoNormal">

checking for memory.h... yes</p><p class="MsoNormal">checking for strings.h... yes</p><p class="MsoNormal">checking for inttypes.h... yes</p><p class="MsoNormal">checking for stdint.h... yes</p><p class="MsoNormal">checking for unistd.h... yes</p>

<p class="MsoNormal">checking for dlfcn.h... yes</p><p class="MsoNormal">checking for objdir... .libs</p><p class="MsoNormal">checking if gcc supports -fno-rtti -fno-exceptions... no</p><p class="MsoNormal">checking for gcc option to produce PIC... -fPIC -DPIC</p>

<p class="MsoNormal">checking if gcc PIC flag -fPIC -DPIC works... yes</p><p class="MsoNormal">checking if gcc static flag -static works... no</p><p class="MsoNormal">checking if gcc supports -c -o file.o... yes</p><p class="MsoNormal">

checking if gcc supports -c -o file.o... (cached) yes</p><p class="MsoNormal">checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes</p><p class="MsoNormal">checking whether -lc should be explicitly linked in... yes</p>

<p class="MsoNormal">checking dynamic linker characteristics... solaris2.10 ld.so</p><p class="MsoNormal">checking how to hardcode library paths into programs... immediate</p><p class="MsoNormal">checking whether stripping libraries is possible... no</p>

<p class="MsoNormal">checking if libtool supports shared libraries... yes</p><p class="MsoNormal">checking whether to build shared libraries... yes</p><p class="MsoNormal">checking whether to build static libraries... no</p>

<p class="MsoNormal">configure: **************************************** types</p><p class="MsoNormal">checking size of unsigned char... 1</p><p class="MsoNormal">checking size of unsigned short... 2</p><p class="MsoNormal">

checking size of unsigned int... 4</p><p class="MsoNormal">checking size of unsigned long... 4</p><p class="MsoNormal">checking for socklen_t... yes</p><p class="MsoNormal">checking for struct sockaddr_un... yes</p><p class="MsoNormal">

checking for struct addrinfo... yes</p><p class="MsoNormal">configure: **************************************** PTY device files</p><p class="MsoNormal">checking for "/dev/ptmx"... yes</p><p class="MsoNormal">checking for "/dev/ptc"... no</p>

<p class="MsoNormal">configure: **************************************** entropy sources</p><p class="MsoNormal">checking for "/dev/urandom"... yes</p><p class="MsoNormal">configure: **************************************** default group</p>

<p class="MsoNormal">checking for default group... nogroup</p><p class="MsoNormal">configure: **************************************** header files</p><p class="MsoNormal">checking malloc.h usability... yes</p><p class="MsoNormal">

checking malloc.h presence... yes</p><p class="MsoNormal">checking for malloc.h... yes</p><p class="MsoNormal">checking ucontext.h usability... yes</p><p class="MsoNormal">checking ucontext.h presence... yes</p><p class="MsoNormal">

checking for ucontext.h... yes</p><p class="MsoNormal">checking pthread.h usability... yes</p><p class="MsoNormal">checking pthread.h presence... yes</p><p class="MsoNormal">checking for pthread.h... yes</p><p class="MsoNormal">

checking poll.h usability... yes</p><p class="MsoNormal">checking poll.h presence... yes</p><p class="MsoNormal">checking for poll.h... yes</p><p class="MsoNormal">checking tcpd.h usability... yes</p><p class="MsoNormal">

checking tcpd.h presence... yes</p><p class="MsoNormal">checking for tcpd.h... yes</p><p class="MsoNormal">checking stropts.h usability... yes</p><p class="MsoNormal">checking stropts.h presence... yes</p><p class="MsoNormal">

checking for stropts.h... yes</p><p class="MsoNormal">checking grp.h usability... yes</p><p class="MsoNormal">checking grp.h presence... yes</p><p class="MsoNormal">checking for grp.h... yes</p><p class="MsoNormal">checking for unistd.h... (cached) yes</p>

<p class="MsoNormal">checking util.h usability... no</p><p class="MsoNormal">checking util.h presence... no</p><p class="MsoNormal">checking for util.h... no</p><p class="MsoNormal">checking libutil.h usability... no</p>
<p class="MsoNormal">
checking libutil.h presence... no</p><p class="MsoNormal">checking for libutil.h... no</p><p class="MsoNormal">checking pty.h usability... no</p><p class="MsoNormal">checking pty.h presence... no</p><p class="MsoNormal">
checking for pty.h... no</p>
<p class="MsoNormal">checking for sys/types.h... (cached) yes</p><p class="MsoNormal">checking sys/select.h usability... yes</p><p class="MsoNormal">checking sys/select.h presence... yes</p><p class="MsoNormal">checking for sys/select.h... yes</p>

<p class="MsoNormal">checking sys/poll.h usability... yes</p><p class="MsoNormal">checking sys/poll.h presence... yes</p><p class="MsoNormal">checking for sys/poll.h... yes</p><p class="MsoNormal">checking sys/socket.h usability... yes</p>

<p class="MsoNormal">checking sys/socket.h presence... yes</p><p class="MsoNormal">checking for sys/socket.h... yes</p><p class="MsoNormal">checking sys/un.h usability... yes</p><p class="MsoNormal">checking sys/un.h presence... yes</p>

<p class="MsoNormal">checking for sys/un.h... yes</p><p class="MsoNormal">checking sys/ioctl.h usability... yes</p><p class="MsoNormal">checking sys/ioctl.h presence... yes</p><p class="MsoNormal">checking for sys/ioctl.h... yes</p>

<p class="MsoNormal">checking sys/filio.h usability... yes</p><p class="MsoNormal">checking sys/filio.h presence... yes</p><p class="MsoNormal">checking for sys/filio.h... yes</p><p class="MsoNormal">checking sys/resource.h usability... yes</p>

<p class="MsoNormal">checking sys/resource.h presence... yes</p><p class="MsoNormal">checking for sys/resource.h... yes</p><p class="MsoNormal">checking sys/uio.h usability... yes</p><p class="MsoNormal">checking sys/uio.h presence... yes</p>

<p class="MsoNormal">checking for sys/uio.h... yes</p><p class="MsoNormal">checking for struct msghdr.msg_control... no</p><p class="MsoNormal">checking for linux/netfilter_ipv4.h... no</p><p class="MsoNormal">configure: **************************************** libraries</p>

<p class="MsoNormal">checking for library containing gethostbyname... -lnsl</p><p class="MsoNormal">checking for library containing yp_get_default_domain... none required</p><p class="MsoNormal">checking for library containing socket... -lsocket</p>

<p class="MsoNormal">checking for library containing openpty... no</p><p class="MsoNormal">checking for library containing dlopen... none required</p><p class="MsoNormal">checking for library containing shl_load... no</p>

<p class="MsoNormal">checking for library containing inflateEnd... -lz</p><p class="MsoNormal">configure: **************************************** thread model</p><p class="MsoNormal">checking for pthread_create in -lc_r... no</p>

<p class="MsoNormal">checking for pthread_create in -lc... yes</p><p class="MsoNormal">checking for pthread_create in -lpthread... yes</p><p class="MsoNormal">configure: PTHREAD thread model detected</p><p class="MsoNormal">

configure: **************************************** library functions</p><p class="MsoNormal">checking for snprintf... yes</p><p class="MsoNormal">checking for vsnprintf... yes</p><p class="MsoNormal">checking for openpty... no</p>

<p class="MsoNormal">checking for _getpty... no</p><p class="MsoNormal">checking for daemon... no</p><p class="MsoNormal">checking for waitpid... yes</p><p class="MsoNormal">checking for wait4... yes</p><p class="MsoNormal">

checking for setsid... yes</p><p class="MsoNormal">checking for setgroups... yes</p><p class="MsoNormal">checking for chroot... yes</p><p class="MsoNormal">checking for sysconf... yes</p><p class="MsoNormal">checking for getrlimit... yes</p>

<p class="MsoNormal">checking for pthread_sigmask... yes</p><p class="MsoNormal">checking for localtime_r... yes</p><p class="MsoNormal">checking for getcontext... yes</p><p class="MsoNormal">checking for __makecontext_v2... no</p>

<p class="MsoNormal">checking for poll... yes</p><p class="MsoNormal">checking for gethostbyname2... no</p><p class="MsoNormal">checking for endhostent... yes</p><p class="MsoNormal">checking for getnameinfo... yes</p><p class="MsoNormal">

checking for getaddrinfo... yes</p><p class="MsoNormal">checking for broken poll() implementation... no</p><p class="MsoNormal">checking for pipe2... no</p><p class="MsoNormal">checking for accept4... no</p><p class="MsoNormal">

configure: **************************************** optional features</p><p class="MsoNormal">checking whether to enable IPv6 support... yes</p><p class="MsoNormal">checking whether to disable TCP wrappers library support... yes</p>

<p class="MsoNormal">checking whether to enable FIPS mode support... autodetecting</p><div class=""><p class="MsoNormal">configure: **************************************** SSL</p><p class="MsoNormal">checking for SSL directory... /usr/sfw</p>

<p class="MsoNormal">checking /usr/sfw/include/openssl/engine.h usability... yes</p><p class="MsoNormal">checking /usr/sfw/include/openssl/engine.h presence... yes</p><p class="MsoNormal">checking for /usr/sfw/include/openssl/engine.h... yes</p>

<p class="MsoNormal">checking /usr/sfw/include/openssl/ocsp.h usability... yes</p><p class="MsoNormal">checking /usr/sfw/include/openssl/ocsp.h presence... yes</p><p class="MsoNormal">checking for /usr/sfw/include/openssl/ocsp.h... yes</p>

<p class="MsoNormal">checking /usr/sfw/include/openssl/fips.h usability... no</p><p class="MsoNormal">checking /usr/sfw/include/openssl/fips.h presence... no</p><p class="MsoNormal">checking for /usr/sfw/include/openssl/fips.h... no</p>

<p class="MsoNormal">configure: WARNING: OpenSSL fips header not found</p><p class="MsoNormal">checking for FIPS_mode_set... no</p><p class="MsoNormal">configure: FIPS mode not detected</p></div><p class="MsoNormal">configure: **************************************** write the results</p>

<p class="MsoNormal">configure: creating ./config.status</p><p class="MsoNormal">config.status: creating Makefile</p><p class="MsoNormal">config.status: creating src/Makefile</p><p class="MsoNormal">config.status: creating src/stunnel3</p>

<p class="MsoNormal">config.status: creating doc/Makefile</p><p class="MsoNormal">config.status: creating tools/Makefile</p><p class="MsoNormal">config.status: creating tools/stunnel.conf-sample</p><p class="MsoNormal">config.status: creating tools/stunnel.init</p>

<p class="MsoNormal">config.status: creating tools/stunnel.service</p><p class="MsoNormal">config.status: creating src/config.h</p><p class="MsoNormal">config.status: executing depfiles commands</p><p class="MsoNormal">config.status: executing libtool commands</p>

<p class="MsoNormal">configure: **************************************** success</p><div class=""><p class="MsoNormal">bash-3.00# make</p><p class="MsoNormal">bash: make: command not found</p></div><p class="MsoNormal">bash-3.00# echo $PATH</p>

<p class="MsoNormal">/usr/sbin:/usr/bin:/usr/sfw/bin</p><div class=""><p class="MsoNormal">bash-3.00# PATH=$PATH:/usr/sbin:/usr/sfw/bin:/usr/ccs/bin</p><p class="MsoNormal">bash-3.00# LD_LIBARAY_PATH=/lib:/usr/lib:/usr/local/lib</p>
</div><p class="MsoNormal">
bash-3.00# make</p><div class=""><p class="MsoNormal">Making all in src</p><p class="MsoNormal">make �all-am</p></div><p class="MsoNormal">source='env.c' object='env.lo' libtool=yes \</p><p class="MsoNormal">
DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>
<p class="MsoNormal">/bin/bash ../libtool --tag=CC � �--mode=compile gcc -DHAVE_CONFIG_H -I. � � �-g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o env.lo env.c</p><p class="MsoNormal">libtool: compile: �gcc -DHAVE_CONFIG_H -I. -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c env.c �-fPIC -DPIC -o .libs/env.o</p>

<p class="MsoNormal">/bin/bash ../libtool --tag=CC � �--mode=link gcc �-g -O2 -Wall -Wextra -Wno-long-long -pedantic �-avoid-version �-o <a href="http://libstunnel.la" target="_blank">libstunnel.la</a> -rpath /usr/local/lib/stunnel env.lo �-lz -lsocket -lnsl �-lpthread</p>

<p class="MsoNormal">libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,libstunnel.so -o .libs/libstunnel.so �.libs/env.o � -lz -lsocket -lnsl -lpthread -lc</p><p class="MsoNormal">libtool: link: ( cd ".libs" && rm -f "<a href="http://libstunnel.la" target="_blank">libstunnel.la</a>" && ln -s "../<a href="http://libstunnel.la" target="_blank">libstunnel.la</a>" "<a href="http://libstunnel.la" target="_blank">libstunnel.la</a>" )</p>

<p class="MsoNormal">source='str.c' object='stunnel-str.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p><p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-str.o `test -f 'str.c' || echo './'`str.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='file.c' object='stunnel-file.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-file.o `test -f 'file.c' || echo './'`file.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='client.c' object='stunnel-client.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-client.o `test -f 'client.c' || echo './'`client.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='log.c' object='stunnel-log.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-log.o `test -f 'log.c' || echo './'`log.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='options.c' object='stunnel-options.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-options.o `test -f 'options.c' || echo './'`options.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='protocol.c' object='stunnel-protocol.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-protocol.o `test -f 'protocol.c' || echo './'`protocol.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='network.c' object='stunnel-network.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-network.o `test -f 'network.c' || echo './'`network.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='resolver.c' object='stunnel-resolver.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-resolver.o `test -f 'resolver.c' || echo './'`resolver.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='ssl.c' object='stunnel-ssl.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-ssl.o `test -f 'ssl.c' || echo './'`ssl.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">ssl.c: In function `init_compression':</p><p class="MsoNormal">ssl.c:124: warning: assignment discards qualifiers from pointer target type</p>

<p class="MsoNormal">ssl.c:151: warning: assignment discards qualifiers from pointer target type</p><p class="MsoNormal">source='ctx.c' object='stunnel-ctx.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-ctx.o `test -f 'ctx.c' || echo './'`ctx.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">ctx.c: In function `info_callback':</p><p class="MsoNormal">ctx.c:641: warning: passing arg 1 of `SSL_get_ex_data' discards qualifiers from pointer target type</p>

<p class="MsoNormal">ctx.c:650: warning: passing arg 1 of `SSL_state' discards qualifiers from pointer target type</p><p class="MsoNormal">source='verify.c' object='stunnel-verify.o' libtool=no \</p><p class="MsoNormal">

DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p><p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-verify.o `test -f 'verify.c' || echo './'`verify.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='sthreads.c' object='stunnel-sthreads.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-sthreads.o `test -f 'sthreads.c' || echo './'`sthreads.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='fd.c' object='stunnel-fd.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-fd.o `test -f 'fd.c' || echo './'`fd.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='stunnel.c' object='stunnel-stunnel.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-stunnel.o `test -f 'stunnel.c' || echo './'`stunnel.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='pty.c' object='stunnel-pty.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-pty.o `test -f 'pty.c' || echo './'`pty.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">source='libwrap.c' object='stunnel-libwrap.o' libtool=no \</p><p class="MsoNormal">DEPDIR=.deps depmode=none /bin/bash ../auto/depcomp \</p>

<p class="MsoNormal">gcc -DHAVE_CONFIG_H -I. �-I/usr/kerberos/include -I/usr/sfw/include �-DLIBDIR='"/usr/local/lib/stunnel"' -DCONFDIR='"/usr/local/etc/stunnel"' �-DPIDFILE='"/usr/local/var/run/stunnel/stunnel.pid"' �-pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -c -o stunnel-libwrap.o `test -f 'libwrap.c' || echo './'`libwrap.c</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">/bin/bash ../libtool --tag=CC � �--mode=link gcc -pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic �-L/usr/sfw/lib64 -L/usr/sfw/lib -lssl -lcrypto �-o stunnel �stunnel-str.o stunnel-file.o �stunnel-client.o stunnel-log.o �stunnel-options.o stunnel-protocol.o �stunnel-network.o stunnel-resolver.o �stunnel-ssl.o stunnel-ctx.o �stunnel-verify.o stunnel-sthreads.o �stunnel-fd.o stunnel-stunnel.o �stunnel-pty.o stunnel-libwrap.o �-lz -lsocket -lnsl �-lpthread</p>

<p class="MsoNormal">libtool: link: gcc -pthread -fPIE -g -O2 -Wall -Wextra -Wno-long-long -pedantic -o stunnel stunnel-str.o stunnel-file.o stunnel-client.o stunnel-log.o stunnel-options.o stunnel-protocol.o stunnel-network.o stunnel-resolver.o stunnel-ssl.o stunnel-ctx.o stunnel-verify.o stunnel-sthreads.o stunnel-fd.o stunnel-stunnel.o stunnel-pty.o stunnel-libwrap.o �-L/usr/sfw/lib64 -L/usr/sfw/lib -lssl -lcrypto -lz -lsocket -lnsl -lpthread -pthread</p>

<p class="MsoNormal">gcc: unrecognized option `-pthread'</p><p class="MsoNormal">gcc: unrecognized option `-pthread'</p><div><div class="h5"><p class="MsoNormal">Making all in doc</p><p class="MsoNormal">Making all in tools</p>
<p class="MsoNormal">
bash-3.00# make install</p><p class="MsoNormal">Making install in src</p><p class="MsoNormal">test -z "/usr/local/bin" || ../auto/install-sh -c -d "/usr/local/bin"</p><p class="MsoNormal">� /bin/bash ../libtool � --mode=install ../auto/install-sh -c stunnel '/usr/local/bin'</p>

<p class="MsoNormal">libtool: install: ../auto/install-sh -c stunnel /usr/local/bin/stunnel</p><p class="MsoNormal">test -z "/usr/local/bin" || ../auto/install-sh -c -d "/usr/local/bin"</p><p class="MsoNormal">

�../auto/install-sh -c stunnel3 '/usr/local/bin'</p><p class="MsoNormal">test -z "/usr/local/lib/stunnel" || ../auto/install-sh -c -d "/usr/local/lib/stunnel"</p><p class="MsoNormal">�/bin/bash ../libtool � --mode=install ../auto/install-sh -c � <a href="http://libstunnel.la" target="_blank">libstunnel.la</a> '/usr/local/lib/stunnel'</p>

<p class="MsoNormal">libtool: install: ../auto/install-sh -c .libs/libstunnel.so /usr/local/lib/stunnel/libstunnel.so</p><p class="MsoNormal">libtool: install: chmod +x /usr/local/lib/stunnel/libstunnel.so</p><p class="MsoNormal">

libtool: install: ../auto/install-sh -c .libs/libstunnel.lai /usr/local/lib/stunnel/<a href="http://libstunnel.la" target="_blank">libstunnel.la</a></p><p class="MsoNormal">----------------------------------------------------------------------</p>

<p class="MsoNormal">Libraries have been installed in:</p><p class="MsoNormal">� �/usr/local/lib/stunnel</p><p class="MsoNormal"><br></p><p class="MsoNormal">If you ever happen to want to link against installed libraries</p>

<p class="MsoNormal">in a given directory, LIBDIR, you must either use libtool, and</p><p class="MsoNormal">specify the full pathname of the library, or use the `-LLIBDIR'</p><p class="MsoNormal">flag during linking and do at least one of the following:</p>

<p class="MsoNormal">� �- add LIBDIR to the `LD_LIBRARY_PATH' environment variable</p><p class="MsoNormal">� � �during execution</p><p class="MsoNormal">� �- use the `-RLIBDIR' linker flag</p><p class="MsoNormal">

<br></p><p class="MsoNormal">See any operating system documentation about shared libraries for</p><p class="MsoNormal">more information, such as the ld(1) and ld.so(8) manual pages.</p><p class="MsoNormal">----------------------------------------------------------------------</p>

<p class="MsoNormal">Making install in doc</p><p class="MsoNormal">test -z "/usr/local/share/doc/stunnel" || ../auto/install-sh -c -d "/usr/local/share/doc/stunnel"</p><p class="MsoNormal">�../auto/install-sh -c -m 644 stunnel.html stunnel.pl.html stunnel.fr.html '/usr/local/share/doc/stunnel'</p>

<p class="MsoNormal">test -z "/usr/local/share/man/man8" || ../auto/install-sh -c -d "/usr/local/share/man/man8"</p><p class="MsoNormal">�../auto/install-sh -c -m 644 stunnel.8 stunnel.pl.8 stunnel.fr.8 '/usr/local/share/man/man8'</p>

<p class="MsoNormal">Making install in tools</p><p class="MsoNormal">test -z "/usr/local/etc/stunnel" || ../auto/install-sh -c -d "/usr/local/etc/stunnel"</p><p class="MsoNormal">�../auto/install-sh -c -m 644 stunnel.conf-sample '/usr/local/etc/stunnel'</p>

<p class="MsoNormal">if test ! -r /usr/local/etc/stunnel/stunnel.pem; then \</p><p class="MsoNormal">� � � � if test -r "/dev/urandom"; then \</p><p class="MsoNormal">� � � � � � � � dd if="/dev/urandom" of=stunnel.rnd bs=256 count=1; \</p>

<p class="MsoNormal">� � � � � � � � RND="-rand stunnel.rnd"; \</p><p class="MsoNormal">� � � � else \</p><p class="MsoNormal">� � � � � � � � RND=""; \</p><p class="MsoNormal">� � � � fi; \</p></div>
</div><p class="MsoNormal">
� � � � /usr/sfw/bin/openssl req -new -x509 -days 365 $RND \</p><div class=""><p class="MsoNormal">� � � � � � � � -config ./stunnel.cnf \</p><p class="MsoNormal">� � � � � � � � -out stunnel.pem -keyout stunnel.pem; \</p>
<p class="MsoNormal">
� � � � /usr/sfw/bin/openssl gendh $RND 1024 >> stunnel.pem; \</p></div><p class="MsoNormal">� � � � /usr/sfw/bin/openssl x509 -subject -dates -fingerprint -noout -in stunnel.pem; \</p><div class=""><p class="MsoNormal">
� � � � ../auto/install-sh -c -m 600 stunnel.pem /usr/local/etc/stunnel/stunnel.pem; \</p>
<p class="MsoNormal">� � � � rm stunnel.pem; \</p><p class="MsoNormal">fi</p><p class="MsoNormal">1+0 records in</p><p class="MsoNormal">1+0 records out</p></div><p class="MsoNormal">Generating a 2048 bit RSA private key</p>
<p class="MsoNormal">
........+++</p><p class="MsoNormal">..........................................+++</p><div class=""><p class="MsoNormal">writing new private key to 'stunnel.pem'</p><p class="MsoNormal">-----</p><p class="MsoNormal">
You are about to be asked to enter information that will be incorporated</p>
<p class="MsoNormal">into your certificate request.</p><p class="MsoNormal">What you are about to enter is what is called a Distinguished Name or a DN.</p><p class="MsoNormal">There are quite a few fields but you can leave some blank</p>

</div><p class="MsoNormal">For some fields there will be a default value,</p><p class="MsoNormal">If you enter '.', the field will be left blank.</p><p class="MsoNormal">-----</p><p class="MsoNormal">Country Name (2 letter code) [PL]:SG</p>

<p class="MsoNormal">State or Province Name (full name) [Mazovia Province]:.</p><p class="MsoNormal">Locality Name (eg, city) [Warsaw]:.</p><p class="MsoNormal">Organization Name (eg, company) [Stunnel Developers]:XXXXX</p>

<p class="MsoNormal">Organizational Unit Name (eg, section) [Provisional CA]:.</p><p class="MsoNormal">Common Name (FQDN of your server) [localhost]:</p><p class="MsoNormal">256 semi-random bytes loaded</p><p class="MsoNormal">

Generating DH parameters, 1024 bit long safe prime, generator 2</p><p class="MsoNormal">This is going to take a long time</p><p class="MsoNormal">...............................................+...............................................................................................................................+........................................................................+......................................................+................................................+................................................................................................+....................+....................................................................................................+...........................................................+..........................+.........................................................................................+................................................................................................................................................................................................................................................................+......+...........................................................................+...................................+.............................................+..+..............................+..........+......................+........................................+..........+........................................................................+.................+.....................+..................................................................+.............+...............+................................................................................................................................................+..................+............................+....................................................................................................................................................................++*++*++*</p>

<p class="MsoNormal">subject= /C=SG/O=XXXXX/CN=localhost</p><p class="MsoNormal">notBefore=Mar �6 10:43:29 2014 GMT</p><p class="MsoNormal">notAfter=Mar �6 10:43:29 2015 GMT</p><p class="MsoNormal">MD5 Fingerprint=85:E1:CB:E6:31:F3:D7:F8:DA:34:F9:62:A1:50:D9:D0</p>

<p class="MsoNormal">../auto/install-sh -c -d -m 1770 /usr/local/var/lib/stunnel</p><p class="MsoNormal">chgrp nogroup /usr/local/var/lib/stunnel</p><p class="MsoNormal">test -z "/usr/local/share/doc/stunnel/examples" || ../auto/install-sh -c -d "/usr/local/share/doc/stunnel/examples"</p>

<p class="MsoNormal">�../auto/install-sh -c -m 644 ca.html <a href="http://ca.pl" target="_blank">ca.pl</a> importCA.html importCA.sh script.sh stunnel.spec stunnel.init stunnel.service '/usr/local/share/doc/stunnel/examples'</p>

<p class="MsoNormal">test -z "/usr/local/share/doc/stunnel" || auto/install-sh -c -d "/usr/local/share/doc/stunnel"</p><p class="MsoNormal">�auto/install-sh -c -m 644 INSTALL README TODO COPYING AUTHORS ChangeLog PORTS BUGS COPYRIGHT.GPL CREDITS INSTALL.W32 INSTALL.WCE INSTALL.FIPS '/usr/local/share/doc/stunnel'</p>

<p class="MsoNormal">bash-3.00#</p><div><br></div><div><br></div><div>However i see only these 2 files in the below location</div><div><span style="color:rgb(31,73,125)"><br></span></div><div><span style="color:rgb(31,73,125)">bash-3.00# pwd</span></div>



<p class="MsoNormal"><span style="color:rgb(31,73,125)">/usr/local/etc/stunnel</span></p>

<p class="MsoNormal"><span style="color:rgb(31,73,125)">bash-3.00# ls -ltr s*</span></p>

<p class="MsoNormal"><span style="color:rgb(31,73,125)">-rwxr-xrwx�� 1
root���� root�������
3002 Mar� 6 18:41 stunnel.conf-sample</span></p>

<p class="MsoNormal"><span style="color:rgb(31,73,125)">-rwxr-xrwx�� 1
root���� root�������
2998 Mar� 6 18:43 stunnel.pem</span></p>

<p class="MsoNormal"><span style="color:rgb(31,73,125)">bash-3.00#</span></p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal">i could not find any file named stunnel in /usr/bin/ �and any service named stunnel running.</p>

<p class="MsoNormal"><br></p><p class="MsoNormal">bash-3.00# ps -ef | grep stunnel</p><p class="MsoNormal">� � root �4346 �4333 � 0 22:11:39 pts/1 � � � 0:00 grep stunnel</p><p class="MsoNormal">bash-3.00#</p><div><br></div>

<div>created a stunel conf file</div><div><br></div><div><div>bash-3.00# cd /usr/local/etc/stunnel/</div><div>bash-3.00# ls</div><div>stunnel.conf � � � � stunnel.conf-sample �stunnel.pem</div><div>bash-3.00# cat stunnel.conf</div>

<div>client=yes</div><div>output=stunnel.log</div><div>socket=a:TCP_NODELAY=1</div><div>socket=r:TCP_NODELAY=1</div><div>verify=0</div><div>[cxfix]</div><div>accept=24444</div><div>connect=63.247.112.207:443bash-3.00#</div>

</div><div><br></div><div><br></div><div><br></div><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Fri, Mar 7, 2014 at 11:49 PM, Norm Jacobs <span dir="ltr"><<a href="mailto:norm.jacobs@oracle.com" target="_blank">norm.jacobs@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div><br>
      I'm going to guess that you need to add '--with-ssl=/usr/sfw' to
      your configure line to tell it where OpenSSL is installed.<br>
      <br>
      I just pulled down a copy of 4.56, unpacked, built and installed
      it on an S10 x86 system.� My PATH has
      /usr/bin:/usr/ccs/bin:/usr/sfw/bin in it and the system has the
      following OpenSSL packages installed: SUNWopensslr,
      SUNWopenssl-commands, SUNWopenssl-include, SUNWopenssl-libraries,
      SUNWopenssl-man<br>
      <blockquote>
        <pre>$ gtar zxf stunnel-4.56.tar.gz</pre>
        <pre>$ cd stunnel-4.56</pre>
        <pre>$ ./configure --prefix=/tmp/stunnel-4.56 --with-ssl=/usr/sfw</pre>
        <pre>��� ��� [snip]

configure: **************************************** SSL
checking for SSL directory... /usr/sfw
checking /usr/sfw/include/openssl/engine.h usability... yes
checking /usr/sfw/include/openssl/engine.h presence... yes
checking for /usr/sfw/include/openssl/engine.h... yes
checking /usr/sfw/include/openssl/ocsp.h usability... yes
checking /usr/sfw/include/openssl/ocsp.h presence... yes
checking for /usr/sfw/include/openssl/ocsp.h... yes
checking /usr/sfw/include/openssl/fips.h usability... no
checking /usr/sfw/include/openssl/fips.h presence... no
checking for /usr/sfw/include/openssl/fips.h... no
configure: WARNING: OpenSSL fips header not found
checking for FIPS_mode_set... no
configure: FIPS mode not detected
</pre>
        <pre>��� ��� [snip]

$ gmake

        [snip]

$ gmake install

        [snip]

Making install in tools
gmake[1]: Entering directory `/builds/jacobs/stunnel/stunnel-4.56/tools'
gmake[2]: Entering directory `/builds/jacobs/stunnel/stunnel-4.56/tools'
gmake[2]: Nothing to be done for `install-exec-am'.
test -z "/tmp/stunnel-4.56/etc/stunnel" || ../auto/install-sh -c -d "/tmp/stunne
l-4.56/etc/stunnel"
 ../auto/install-sh -c -m 644 stunnel.conf-sample '/tmp/stunnel-4.56/etc/stunnel
'
if test ! -r /tmp/stunnel-4.56/etc/stunnel/stunnel.pem; then \
        if test -r "/dev/urandom"; then \
                dd if="/dev/urandom" of=stunnel.rnd bs=256 count=1; \
                RND="-rand stunnel.rnd"; \
        else \
                RND=""; \
        fi; \
        /usr/sfw/bin/openssl req -new -x509 -days 365 $RND \
                -config ./stunnel.cnf \
                -out stunnel.pem -keyout stunnel.pem; \
        /usr/sfw/bin/openssl gendh $RND 1024 >> stunnel.pem; \
        /usr/sfw/bin/openssl x509 -subject -dates -fingerprint -noout -in stunne
l.pem; \
        ../auto/install-sh -c -m 600 stunnel.pem /tmp/stunnel-4.56/etc/stunnel/s
tunnel.pem; \
        rm stunnel.pem; \
fi
1+0 records in
1+0 records out
Generating a 2048 bit RSA private key
...............+++
.........+++
writing new private key to 'stunnel.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank

        [snip]

</pre>
      </blockquote>
      Hope this helps.<br>
      <br>
      ��� -Norm<div><div><br>
      <br>
      <br>
      <br>
      On 03/ 4/14 07:03 AM, Ashok Kumar G wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      <div dir="ltr">
        <div>
          <p><span><span><span><span><span><span>Hi,</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>I am trying to install
                        stunnel-4.56 on my Solaris10 server. configure
                        step completed successfully. But make and make
                        install commands failed miserably.</span></span></span></span></span></span></p>
          <p style="min-height:8pt;min-height:8pt;padding:0px">�</p>
          <p><span><span><span><span><span><span># gzip -dc
                        stunnel-3.8.tar.gz | tar -xvf -</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span># cd stunnel-3.8</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span># ./configure</span></span></span></span></span></span></p>
          <p style="min-height:8pt;min-height:8pt;padding:0px">
            �</p>
          <p style="min-height:8pt;min-height:8pt;padding:0px">�</p>
          <p><span><span><span><span><span><span>bash-3.00# make</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash: make: command not
                        found</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00# export
                        PATH=/usr/ccs/bin</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00# make</span></span></span></span></span></span></p>
          <p>
            <span><span><span><span><span><span>bash: line 8: sed:
                        command not found</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>*** Error code 127</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>The following command
                        caused the error:</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>fail= failcom='exit 1';
                        \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>for f in x $MAKEFLAGS;
                        do \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� case $f in \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��� *=* | --[!k]*);; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��� *k*)
                        failcom='fail=yes';; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� esac; \</span></span></span></span></span></span></p>
          <p>
            <span><span><span><span><span><span>done; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>dot_seen=no; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>target=`echo
                        all-recursive | sed s/-recursive//`; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>list='src doc tools';
                        for subdir in $list; do \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� echo "Making $target
                        in $subdir"; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� if test "$subdir" =
                        "."; then \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��� dot_seen=yes; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>���
                        local_target="$target-am"; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� else \</span></span></span></span></span></span></p>
          <p>
            <span><span><span><span><span><span>���
                        local_target="$target"; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� fi; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>�
                        (CDPATH="${ZSH_VERSION+.}:" && cd
                        $subdir && make� $local_target) \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� || eval $failcom; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>done; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>if test "$dot_seen" =
                        "no"; then \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� make� "$target-am" ||
                        exit 1; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>fi; test -z "$fail"</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>make: Fatal error:
                        Command failed for target `all-recursive'</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00# make install</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash: line 8: sed:
                        command not found</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>*** Error code 127</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>The following command
                        caused the error:</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>fail= failcom='exit 1';
                        \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>for f in x $MAKEFLAGS;
                        do \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� case $f in \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��� *=* | --[!k]*);; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��� *k*)
                        failcom='fail=yes';; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� esac; \</span></span></span></span></span></span></p>
          <p>
            <span><span><span><span><span><span>done; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>dot_seen=no; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>target=`echo
                        install-recursive | sed s/-recursive//`; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>list='src doc tools';
                        for subdir in $list; do \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� echo "Making $target
                        in $subdir"; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� if test "$subdir" =
                        "."; then \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��� dot_seen=yes; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>���
                        local_target="$target-am"; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� else \</span></span></span></span></span></span></p>
          <p>
            <span><span><span><span><span><span>���
                        local_target="$target"; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� fi; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>�
                        (CDPATH="${ZSH_VERSION+.}:" && cd
                        $subdir && make� $local_target) \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� || eval $failcom; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>done; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>if test "$dot_seen" =
                        "no"; then \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� make� "$target-am" ||
                        exit 1; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>fi; test -z "$fail"</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>make: Fatal error:
                        Command failed for target `install-recursive'</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00#</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00#</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00# echo $PATH</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>/usr/ccs/bin</span></span></span></span></span></span></p>
          <p style="min-height:8pt;min-height:8pt;padding:0px">�</p>
          <p><span><span><span><span><span><span>=========================================================</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��������������������������������������
                      </span></span></span></span></span></span><strong><span><span><span><span><span><span>
                          2nd Try:</span></span></span></span></span></span></strong></p>
          <p><span><span><span><span><span><span>=========================================================</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00# echo $PATH</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>/usr/sbin:/usr/bin</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00#
                        PATH=$PATH:/usr/sbin:/usr/sfw/bin:/usr/ccs/bin</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00#
                        LD_LIBARAY_PATH=/lib:/usr/lib:/usr/local/lib</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00# cd
                        /opt/softwares/stunnel-4.56</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00# make</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Making all in src</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>make� all-am</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Making all in doc</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Making all in tools</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00# make install</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Making install in src</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>test -z
                        "/usr/local/bin" || ../auto/install-sh -c -d
                        "/usr/local/bin"</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>� /bin/bash
                        ../libtool�� --mode=install ../auto/install-sh
                        -c stunnel '/usr/local/bin'</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>libtool: install:
                        ../auto/install-sh -c stunnel
                        /usr/local/bin/stunnel</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>test -z
                        "/usr/local/bin" || ../auto/install-sh -c -d
                        "/usr/local/bin"</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span> ../auto/install-sh -c
                        stunnel3 '/usr/local/bin'</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>test -z
                        "/usr/local/lib/stunnel" || ../auto/install-sh
                        -c -d "/usr/local/lib/stunnel"</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span> /bin/bash ../libtool��
                        --mode=install ../auto/install-sh -c�� <a href="http://libstunnel.la" target="_blank">libstunnel.la</a>
                        '/usr/local/lib/stunnel'</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>libtool: install:
                        ../auto/install-sh -c .libs/libstunnel.so
                        /usr/local/lib/stunnel/libstunnel.so</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>libtool: install: chmod
                        +x /usr/local/lib/stunnel/libstunnel.so</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>libtool: install:
                        ../auto/install-sh -c .libs/libstunnel.lai
                        /usr/local/lib/stunnel/<a href="http://libstunnel.la" target="_blank">libstunnel.la</a></span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>----------------------------------------------------------------------</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Libraries have been
                        installed in:</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��
                        /usr/local/lib/stunnel</span></span></span></span></span></span></p>
          <p style="min-height:8pt;min-height:8pt;padding:0px">�</p>
          <p><span><span><span><span><span><span>If you ever happen to
                        want to link against installed libraries</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>in a given directory,
                        LIBDIR, you must either use libtool, and</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>specify the full
                        pathname of the library, or use the `-LLIBDIR'</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>flag during linking and
                        do at least one of the following:</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>�� - add LIBDIR to the
                        `LD_LIBRARY_PATH' environment variable</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>���� during execution</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>�� - use the `-RLIBDIR'
                        linker flag</span></span></span></span></span></span></p>
          <p style="min-height:8pt;min-height:8pt;padding:0px">�</p>
          <p><span><span><span><span><span><span>See any operating
                        system documentation about shared libraries for</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>more information, such
                        as the ld(1) and ld.so(8) manual pages.</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>----------------------------------------------------------------------</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Making install in doc</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>test -z
                        "/usr/local/share/doc/stunnel" ||
                        ../auto/install-sh -c -d
                        "/usr/local/share/doc/stunnel"</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span> ../auto/install-sh -c
                        -m 644 stunnel.html stunnel.pl.html
                        stunnel.fr.html '/usr/local/share/doc/stunnel'</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>test -z
                        "/usr/local/share/man/man8" ||
                        ../auto/install-sh -c -d
                        "/usr/local/share/man/man8"</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span> ../auto/install-sh -c
                        -m 644 stunnel.8 stunnel.pl.8 stunnel.fr.8
                        '/usr/local/share/man/man8'</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Making install in tools</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>test -z
                        "/usr/local/etc/stunnel" || ../auto/install-sh
                        -c -d "/usr/local/etc/stunnel"</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span> ../auto/install-sh -c
                        -m 644 stunnel.conf-sample
                        '/usr/local/etc/stunnel'</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>if test ! -r
                        /usr/local/etc/stunnel/stunnel.pem; then \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>������� if test -r
                        "/dev/urandom"; then \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��������������� dd
                        if="/dev/urandom" of=stunnel.rnd bs=256 count=1;
                        \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>���������������
                        RND="-rand stunnel.rnd"; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>������� else \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��������������� RND="";
                        \</span></span></span></span></span></span></p>
          <p>
            <span><span><span><span><span><span>������� fi; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>�������
                        /usr//bin/openssl req -new -x509 -days 365 $RND
                        \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��������������� -config
                        ./stunnel.cnf \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>��������������� -out
                        stunnel.pem -keyout stunnel.pem; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>�������
                        /usr//bin/openssl gendh $RND 1024 >>
                        stunnel.pem; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>�������
                        /usr//bin/openssl x509 -subject -dates
                        -fingerprint -noout -in stunnel.pem; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>�������
                        ../auto/install-sh -c -m 600 stunnel.pem
                        /usr/local/etc/stunnel/stunnel.pem; \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>������� rm stunnel.pem;
                        \</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>fi</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>1+0 records in</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>1+0 records out</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash: line 7:
                        /usr//bin/openssl: No such file or directory</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>*** Error code 1</span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>make:
                          Fatal error: Command failed for target
                          `install-data-local'</span></span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Current working
                        directory /opt/softwares/stunnel-4.56/tools</span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>***
                          Error code 1</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>The
                          following command caused the error:</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>make�
                          install-exec-am install-data-am</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>make:
                          Fatal error: Command failed for target
                          `install-am'</span></span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Current working
                        directory /opt/softwares/stunnel-4.56/tools</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>*** Error code 1</span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>The
                          following command caused the error:</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>fail=
                          failcom='exit 1'; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>for
                          f in x $MAKEFLAGS; do \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>�
                          case $f in \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>���
                          *=* | --[!k]*);; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>���
                          *k*) failcom='fail=yes';; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>�
                          esac; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>done;
                          \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>dot_seen=no;
                          \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>target=`echo
                          install-recursive | sed s/-recursive//`; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>list='src
                          doc tools'; for subdir in $list; do \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>�
                          echo "Making $target in $subdir"; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>�
                          if test "$subdir" = "."; then \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>���
                          dot_seen=yes; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>���
                          local_target="$target-am"; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>�
                          else \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>���
                          local_target="$target"; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>�
                          fi; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>�
                          (CDPATH="${ZSH_VERSION+.}:" && cd
                          $subdir && make� $local_target) \</span></span></span></span></span></span></span></p>
          <p>
            <span style="color:rgb(255,0,0)"><span><span><span><span><span><span>�
                          || eval $failcom; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>done;
                          \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>if
                          test "$dot_seen" = "no"; then \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>�
                          make� "$target-am" || exit 1; \</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>fi;
                          test -z "$fail"</span></span></span></span></span></span></span></p>
          <p><span style="color:rgb(255,0,0)"><span><span><span><span><span><span>make:
                          Fatal error: Command failed for target
                          `install-recursive'</span></span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>bash-3.00#</span></span></span></span></span></span></p>
          <p><br>
          </p>
          <p><span><span><span><span><span><span>Can someone please help
                        to resolve the above error.</span></span></span></span></span></span></p>
          <p style="min-height:8pt;min-height:8pt;padding:0px">�</p>
          <p>�<span><span><span><span><span><span>Thanks,</span></span></span></span></span></span></p>
          <p><span><span><span><span><span><span>Ashok Kumar G</span></span></span></span></span></span></p>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
stunnel-users mailing list
<a href="mailto:stunnel-users@stunnel.org" target="_blank">stunnel-users@stunnel.org</a>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>
</div></div></blockquote></div><br></div>