On Mar 8, 2004, at 6:53 PM, Julien Gabel wrote:

Has anyone installed Amavis-Stats on a FreeBSD 4.9 Release server?
When I try running the Perl script, I get an error about not being
able to find warnings.pm...

There exists a little FreeBSD guide for amavisd-new at: http://www.erodia.net/doc/amavis-stats_freebsd.txt

I had gone through that guide as I was initially working on it; the part I'm stuck at is actually executing the script because it seems to be giving me a Perl error.

When I change into the directory with the Perl script and run it, I get:
Can't locate warnings.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at ./amavis-stats line 30.
BEGIN failed--compilation aborted at ./amavis-stats line 30.

My Perl -v gives:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
osname=freebsd, osvers=4.0-current, archname=i386-freebsd
uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current #0: $Date$'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release)
ccflags =''
stdchar='char', d_stdstdio=undef, usevfork=true
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E -lperl -lm '
libs=-lm -lc -lcrypt
libc=, so=so, useshrplib=true, libperl=libperl.so.3
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/lib'
cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm '

Characteristics of this binary (from libperl): Built under freebsd Compiled at Oct 27 2003 14:43:39 @INC: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503

Anyone run into something like this before?


[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to