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