On Tue, 19 Aug 2003, alex medvedev wrote:
> hallo,
>
> my apologies,
>
> in my previous e-mail i was wrong about --libdir flag...
>
> i had to modify the configure script to add a dir with openssl include and
> lib files:
>
> echo $ac_n "checking for SSLeay""... $ac_c" 1>&6
> echo "configure:4676: checking for SSLeay" >&5
> ac_cv_ssleay_path=no
> incdir=no
> for dir in /usr/${host_alias} /usr /usr/local /usr/local/ssl; do <--here
I did the same thing..
I modified configure.in as:
--SNIP--
AC_MSG_CHECKING(for SSLeay)
ac_cv_ssleay_path=no
incdir=no
for dir in /home/shashank/openssl-0.9.6b /usr /usr/local /usr/local/ssl
--SNIP--
Then i ran aclocal and autoconf.. However I got the following error with
autoconf
--SNIP--
configure.in:1: error: possibly undefined macro: dnl
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.in:510: error: do not use LIBOBJS directly, use AC_LIBOBJ (see
section `AC_LIBOBJ vs LIBOBJS'
--SNIP--
BUt I think the conifgure script was still modified to reflect the changes
that i made as i get the following output.
--SNIP--
checking for SSLeay... /home/shashank/openssl-0.9.6b
checking for des_cbc_encrypt in -lcrypto... yes
checking cast.h usability... no
checking cast.h presence... no
checking for cast.h... no
checking rc5.h usability... no
checking rc5.h presence... no
checking for rc5.h... no
--SNIP--
I checked config.log for rc5.h and i get the following error:
--SNIP--
configure:9082: result: no
configure:9178: checking rc5.h usability
configure:9191: gcc -c -g -O2 -Dss_family=__ss_family -Dss_len=__ss_len
-I$(srcdir)/missing conftest.c >&5
configure:9261:17: rc5.h: No such file or directory
configure:9194: $? = 1
-SNIP--
I have very preliminary experience with the gnu autoconfiguration tools.
So if something is wrong, please let me know.
Bottomline: I still can't get tcpdump to compile with crypto code.
Thanks
SHahsnak
>
> thanks,
>
> -alexm
> 17:05 19/08/2003
>
>
> On Tue, 19 Aug 2003, alex medvedev wrote:
>
> > hallo,
> >
> > i do not use redhat, but you probably only have openssl package
> > installed.
> > they may (and probably do) have an openssl-dev (?) package that also
> > needs to be installed.
> >
> > also, ./configure --libdir=/your/path/to/openssl
> >
> > also, rm config.cache before running ./configure :)
> >
> > -alexm
> > 13:56 19/08/2003
> >
> > On Tue, 19 Aug 2003, Shashank Khanvilkar wrote:
> >
> > > Hi,
> > > I have an RH9.0 system that came With OPenSSL 0.9.7b.
> > > However when I try to compile tcpdump on this system, I get the following
> > > message:
> > > --SNIP--
> > > checking for SSLeay... /usr
> > > checking for des_cbc_encrypt in -lcrypto... (cached) no
> > > checking for cast.h... (cached) no
> > > checking for rc5.h... (cached) no
> > > --SNIP--
> > >
> > > I think the above just disables the crypto code for tcpdump (which I
> > > need).
> > >
> > > I checked the configure.in and found out that it was looking for
> > > libcrypto.a only in the following directories:
> > >
> > > /usr /usr/local /usr/local/ssl /usr/pkg
> > >
> > > I also have an older OpenSSL package (0.9.6) installed explicitly in
> > > a non-system directory (/home/shashank/openssl-0.96b).
> > >
> > > If I want to compile tcpdump using openSSL-0.9.6b, what will I have to do.
> > >
> > > More specifically if i change some lines in configure.in, do I have to run
> > > aclocal and autoconf and something else?
> > >
> > > Any help is greatly appreciated.
> > >
> > > Regards
> > > Shashank
> > >
> > >
> > > -
> > > This is the TCPDUMP workers list. It is archived at
> > > http://www.tcpdump.org/lists/workers/index.html
> > > To unsubscribe use mailto:[EMAIL PROTECTED]
> > >
> >
> >
> >
>
>
> -
> This is the TCPDUMP workers list. It is archived at
> http://www.tcpdump.org/lists/workers/index.html
> To unsubscribe use mailto:[EMAIL PROTECTED]
>
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]