Hi Raja,
I got it right this time.
I untared the spybye-0.3.tar.gz anew and tried it.
So it was some messing up with the make file earlier that gave me the
automake errors I guess.
===========================================================================
$ ls -l spybye
-rwxr-xr-x 1 sgeorge wheel 462809 Nov 16 07:51 spybye
$ ldd spybye
spybye:
Start End Type Open Ref GrpRef Name
0000000000000000 0000000000000000 exe 1 0 0 spybye
00000000502a7000 00000000506ca000 rlib 0 1 0
/usr/lib/libpthread.so.8.0
000000004bb92000 000000004c083000 rlib 0 4 0
/usr/local/lib/libiconv.so.4.0
000000004fda7000 00000000501bb000 rlib 0 3 0
/usr/lib/libz.so.4.1
000000004cafd000 000000004cf0c000 rlib 0 2 0
/usr/local/lib/libbz2.so.10.4
0000000045e8c000 00000000462c8000 rlib 0 2 0
/usr/local/lib/libgmp.so.7.0
0000000049a30000 0000000049e6f000 rlib 0 2 0
/usr/local/lib/libcurl.so.6.0
00000000486b5000 0000000048ae7000 rlib 0 3 0
/usr/local/lib/libidn.so.16.15
0000000044c82000 00000000450bb000 rlib 0 3 0
/usr/lib/libssl.so.11.0
00000000433e0000 0000000043928000 rlib 0 3 0
/usr/lib/libcrypto.so.13.0
000000004eb1b000 000000004ef8c000 rlib 0 1 0
/usr/local/lib/libclamav.so.4.2
000000004b4da000 000000004b9ab000 rlib 0 1 0
/usr/lib/libc.so.41.0
000000004b000000 000000004b000000 rtld 0 1 0
/usr/libexec/ld.so
$
===========================================================================
Could you please give me any URl or recommend any book that will help
me " make sense" with the "make" file? :-)))))
Thanks a million for this help :-))))
Kind Regards
Siju
On Nov 16, 2007 7:43 AM, Siju George <[EMAIL PROTECTED]> wrote:
> On Nov 15, 2007 10:44 AM, Raja Subramanian <[EMAIL PROTECTED]> wrote:
> >
> > On 11/15/07, Siju George <[EMAIL PROTECTED]> wrote:
> >
> > > Sorry I forgot to post the final make part of it in the last mail :-(
> > > here is it
> >
> > You forgot to sent LDFLAGS='-lpthread' before ./configure of
> > spybyte.
> >
>
> yes I did it before I got your remainder mail :-)
>
> > I have a base 4.2/i386 box with only the following packages
> > installed (I have a pristine OpenBSD 4.2 install inside a VM so
> > I can test such problems quickly):
> > bash, vim, screen,
> > clamav + dependencies (installed from packages and not ports).
> >
> > Automake is not installed.
> >
> > You must install clamav linked with -lpthread. The libclamav.so
> > installed through packages(7) has this support. If you compile
> > your own through ports, ensure the LDFLAGS env var is set prior
> > to running make in your clamav ports tree.
> >
>
> I installed CalmAV from packages on the OpenBSD FTP site.
>
> > You *must* install a custom libevent as I have instructed. The
> > libevent.included in 4.2 is lacking evhttpd and friends. Spybyte
> > uses this extra functionality, so you CANNOT use the libevent
> > in 4.2 to build Spybyte.
> >
>
> Thank you so much for the explanation :-) I really appreciate it! :-))))))))
> I did specify the LDFLAGS too but still get the automake error :-(
>
> ======================================================================
> $ pwd
> /var/Software/spybye-0.3
> $ export LDFLAGS='-lpthread'
> $ ./configure --with-libevent=../libevent-1.3e
> checking build system type... x86_64-unknown-openbsd4.2
> checking host system type... x86_64-unknown-openbsd4.2
> checking target system type... x86_64-unknown-openbsd4.2
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for a BSD-compatible install... /usr/bin/install -c
> checking if we may use "-I/usr/include"... yes
> checking for libevent... ../libevent-1.3e
>
> checking for clamav-config... /usr/local/bin/clamav-config
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking libgen.h usability... yes
> checking libgen.h presence... yes
> checking for libgen.h... yes
> checking for unistd.h... (cached) yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking sys/queue.h usability... yes
> checking sys/queue.h presence... yes
> checking for sys/queue.h... yes
> checking for TAILQ_FOREACH in sys/queue.h... yes
> checking for LIST_FIRST in sys/queue.h... yes
> checking for an ANSI C-conforming const... yes
> checking for size_t... yes
> checking for u_int64_t... yes
> checking for u_int32_t... yes
> checking for u_int16_t... yes
> checking for u_int8_t... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for socket in -lsocket... no
> checking for gettimeofday... yes
> checking for memmove... yes
> checking for memset... yes
> checking for strcasecmp... yes
> checking for strchr... yes
> checking for strdup... yes
> checking for strncasecmp... yes
> checking for strlcat... yes
> checking for strlcpy... yes
> checking for strsep... yes
> checking for strnstr... no
> checking for strncasestr... no
> checking for md5 in libc... yes
> checking for warnx... yes
> checking for timeradd in sys/time.h... yes
> checking for struct cl_limits.maxmailrec... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> $ make
> event_rpcgen.py spybye.rpc || echo "No Python installed"
> Reading "spybye.rpc"
> Created struct: dangerousload
> Added entry: time_in_seconds
> Added entry: parent_url
> Added entry: dangerous_url
> Added entry: virus_result
> Added entry: digest
> Created struct: dangerous_report
> Added entry: time_in_seconds
> Added entry: remote_ip
> Added entry: report
> Created struct: virusscan
> Added entry: buffer
> Added entry: context
> Created struct: virusresult
> Added entry: result
> Added entry: context
> ... creating "spybye.gen.h"
> ... creating "spybye.gen.c"
> make all-am
> cd . && /bin/sh /var/Software/spybye-0.3/missing --run automake-1.9
> --foreign Makefile
> Use of uninitialized value in string eq at /usr/local/bin/automake-1.9
> line 4673, <GEN0> line 1.
> Use of uninitialized value in exists at /usr/local/bin/automake-1.9
> line 4675, <GEN0> line 1.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/bin/automake-1.9 line 4675, <GEN0> line 1.
> automake-1.9: ####################
> automake-1.9: ## Internal Error ##
> automake-1.9: ####################
> automake-1.9: unrequested trace `'
> automake-1.9: Please contact <[EMAIL PROTECTED]>.
> at /usr/local/share/automake-1.9/Automake/Channels.pm line 562
> Automake::Channels::msg('automake', '', 'unrequested trace
> `\'') called at /usr/local/share/automake-1.9/Automake/ChannelDefs.pm
> line 191
> Automake::ChannelDefs::prog_error('unrequested trace `\'')
> called at /usr/local/bin/automake-1.9 line 4675
> Automake::scan_autoconf_traces('configure.in') called at
> /usr/local/bin/automake-1.9 line 4877
> Automake::scan_autoconf_files() called at
> /usr/local/bin/automake-1.9 line 7493
> *** Error code 1
>
> Stop in /var/Software/spybye-0.3 (line 245 of Makefile).
> *** Error code 1
>
> Stop in /var/Software/spybye-0.3 (line 227 of Makefile).
> $
> ===========================================================================
>
> What could be wrong?
>
> Thank you so much once again :-)
>
> Kind Regards
>
> Siju
>
_______________________________________________
bsd-india mailing list
[email protected]
http://www.bsd-india.org/mailman/listinfo/bsd-india