<HTML xmlns:eXclaimer="http://www.exclaimer.co.uk">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-16">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD><BODY ><DIV>
<DIV>
<DIV><FONT face=Arial size=2><SPAN class=024143018-28122004>we have a RedHat 7.2
system and we are trying to apply the distcac<SPAN
class=935454813-07012005>h</SPAN>e_geoff.patch to enable distcache 1.4.5 with
stunnel-4.04. We have run into a snag after the configure script is run
and we attempt the "make", it complains that configure.in is missing. In
step 2 is our "configure" line wrong?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=024143018-28122004>#
make</SPAN></FONT></DIV>
<DIV><SPAN class=024143018-28122004><SPAN class=024143018-28122004><FONT
face=Arial><FONT
size=2><STRONG>output:</STRONG> </FONT></FONT></SPAN></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004> cd .
&& aclocal<BR> cd . &&
automake --gnu --include-deps
Makefile<BR> cd .
\</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004>
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh
./config.status<BR> config.status:
creating Makefile<BR> cd . &&
autoconf<BR> autoconf: configure.in:
No such file or directory<BR> make:
*** [configure] Error 1<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004></SPAN></FONT> </DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial size=2>Our work around is
to change directory into the /usr/src/stunnel-4.04/src and run "make" from that
directory to create our stunnel binary. Any idea why it won't work from
the top directory.</FONT></DIV></SPAN>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=024143018-28122004>our stunnel source
resides in /usr/src/stunnel-4.04, distcache_geoff.patch is in /usr/src and
distcache-1.4.5 is in /usr/local/distcache-1.4.5. Our installation steps
are below:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004></SPAN></FONT> </DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial><FONT size=2><FONT
color=#ff0000><STRONG>step 1.</STRONG></FONT> </FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004>
# patch -p0 < distcache_geoff.patch</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004></SPAN></FONT> </DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial><FONT
size=2><STRONG>output:</STRONG> </FONT></FONT></SPAN></DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial
size=2>
patching file
stunnel-4.04/configure.ac<BR>
patching file
stunnel-4.04/src/common.h<BR>
patching file
stunnel-4.04/src/options.c<BR>
patching file
stunnel-4.04/src/prototypes.h<BR>
patching file stunnel-4.04/src/ssl.c<BR></FONT></DIV></SPAN>
<DIV><SPAN class=024143018-28122004><FONT face=Arial><FONT size=2><FONT
color=#ff0000><STRONG>step 2.</STRONG></FONT> </FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=024143018-28122004>
# cd stunnel-4.04</SPAN></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=024143018-28122004>
# </SPAN>export CFLAGS="-DHAVE_DISTCACHE_DC_CLIENT_H
-I/usr/local/distcache-1.4.5/include"; export
LDFLAGS="-L/usr/local/distcache-1.4.5/lib -ldistcache -lnal"; ./configure
--prefix=/usr/local/stunnel-4.04 --with-ssl=/usr/local/openssl-0.9.7e
--with-tcp-wrappers --disable-shared</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial
size=2><STRONG>output:</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial size=2>checking for a
BSD-compatible install... /usr/bin/install -c<BR>checking whether build
environment is sane... yes<BR>checking whether make sets ${MAKE}...
yes<BR>checking for working aclocal... found<BR>checking for working autoconf...
found<BR>checking for working automake... found<BR>checking for working
autoheader... found<BR>checking for working makeinfo... found<BR>checking build
system type... i686-pc-linux-gnu<BR>checking host system type...
i686-pc-linux-gnu<BR>checking for gcc... gcc<BR>checking for C compiler default
output... a.out<BR>checking whether the C compiler works... yes<BR>checking
whether we are cross compiling... no<BR>checking for suffix of
executables...<BR>checking for suffix of object files... o<BR>checking whether
we are using the GNU C compiler... yes<BR>checking whether gcc accepts -g...
yes<BR>checking for a BSD-compatible install... /usr/bin/install -c<BR>checking
whether make sets ${MAKE}... (cached) yes<BR>checking for ld used by GCC...
/usr/bin/ld<BR>checking if the linker (/usr/bin/ld) is GNU ld... yes<BR>checking
for /usr/bin/ld option to reload object files... -r<BR>checking for
BSD-compatible nm... /usr/bin/nm -B<BR>checking whether ln -s works...
yes<BR>checking how to recognise dependant libraries... pass_all<BR>checking
command to parse /usr/bin/nm -B output... ok<BR>checking how to run the C
preprocessor... gcc -E<BR>checking for ANSI C header files... yes<BR>checking
for sys/types.h... yes<BR>checking for sys/stat.h... yes<BR>checking for
stdlib.h... yes<BR>checking for string.h... yes<BR>checking for memory.h...
yes<BR>checking for strings.h... yes<BR>checking for inttypes.h...
yes<BR>checking for stdint.h... yes<BR>checking for unistd.h... yes<BR>checking
dlfcn.h usability... yes<BR>checking dlfcn.h presence... yes<BR>checking for
dlfcn.h... yes<BR>checking for ranlib... ranlib<BR>checking for strip...
strip<BR>checking for objdir... .libs<BR>checking for gcc option to produce
PIC... -fPIC<BR>checking if gcc PIC flag -fPIC works... yes<BR>checking if gcc
static flag -static works... yes<BR>checking if gcc supports -c -o file.o...
yes<BR>checking if gcc supports -c -o file.lo... yes<BR>checking if gcc supports
-fno-rtti -fno-exceptions... yes<BR>checking whether the linker (/usr/bin/ld)
supports shared libraries... yes<BR>checking how to hardcode library paths into
programs... immediate<BR>checking whether stripping libraries is possible...
yes<BR>checking dynamic linker characteristics... GNU/Linux ld.so<BR>checking if
libtool supports shared libraries... yes<BR>checking whether to build shared
libraries... no<BR>checking whether to build static libraries... yes<BR>creating
libtool<BR>checking for SSL directory... /usr/local/openssl-0.9.7e<BR>checking
for "/dev/urandom"... yes<BR>checking whether to disable RSA support...
no<BR>checking whether to enable DH support... no<BR>checking for gethostbyname
in -lnsl... yes<BR>checking for socket in -lsocket... no<BR>checking for
pthread_create in -lpthread... yes<BR>checking for pthread_create in -lc_r...
no<BR>checking for openpty in -lutil... yes<BR>checking whether to use the
libwrap (TCP wrappers) library... yes<BR>checking for hosts_access in -lwrap...
yes<BR>checking for RSAref library... no<BR>checking for "/dev/ptmx"...
yes<BR>checking for "/dev/ptc"... no<BR>checking for unistd.h... (cached)
yes<BR>checking sys/select.h usability... yes<BR>checking sys/select.h
presence... yes<BR>checking for sys/select.h... yes<BR>checking tcpd.h
usability... yes<BR>checking tcpd.h presence... yes<BR>checking for tcpd.h...
yes<BR>checking pthread.h usability... yes<BR>checking pthread.h presence...
yes<BR>checking for pthread.h... yes<BR>checking sys/ioctl.h usability...
yes<BR>checking sys/ioctl.h presence... yes<BR>checking for sys/ioctl.h...
yes<BR>checking util.h usability... no<BR>checking util.h presence...
no<BR>checking for util.h... no<BR>checking pty.h usability... yes<BR>checking
pty.h presence... yes<BR>checking for pty.h... yes<BR>checking stropts.h
usability... yes<BR>checking stropts.h presence... yes<BR>checking for
stropts.h... yes<BR>checking sys/filio.h usability... no<BR>checking sys/filio.h
presence... no<BR>checking for sys/filio.h... no<BR>checking sys/resource.h
usability... yes<BR>checking sys/resource.h presence... yes<BR>checking for
sys/resource.h... yes<BR>checking for snprintf... yes<BR>checking for
vsnprintf... yes<BR>checking for openpty... yes<BR>checking for _getpty...
no<BR>checking for daemon... yes<BR>checking for waitpid... yes<BR>checking for
wait4... yes<BR>checking for sysconf... yes<BR>checking for getrlimit...
yes<BR>checking for pthread_sigmask... yes<BR>checking for setgroups...
yes<BR>checking for localtime_r... yes<BR>checking for chroot... yes<BR>checking
for endhostent... yes<BR>checking for unsigned char... yes<BR>checking size of
unsigned char... 1<BR>checking for unsigned short... yes<BR>checking size of
unsigned short... 2<BR>checking for unsigned int... yes<BR>checking size of
unsigned int... 4<BR>checking for unsigned long... yes<BR>checking size of
unsigned long... 4<BR>configure: creating ./config.status<BR>config.status:
creating Makefile<BR>config.status: creating src/Makefile<BR>config.status:
creating doc/Makefile<BR>config.status: creating
tools/Makefile<BR>config.status: creating
tools/stunnel.conf-sample<BR>config.status: creating
tools/stunnel.init</FONT></SPAN></DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=024143018-28122004><FONT face=Arial size=2>Kent
Kling</FONT></DIV></SPAN></DIV></DIV>
<DIV> </DIV>
<DIV>This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information of Transaction Network Services.Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.</DIV></BODY></HTML>