<div dir="ltr"><div class=""><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;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;height:8pt;padding:0px">
</p><p style="min-height:8pt;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;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">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">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;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;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;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>