Hello, At my ISP[*] at which SpamAssassin 2.43 is installed system-wide, I'm trying to install SpamAssassin 2.52 in my home directory. (In the past, I've successfully installed and run 2.43 in/from my home directory.) However, when I explicitly invoke:
% /home/ead/sausr/bin/spamassassin -V I'm greeted with: SpamAssassin version 2.43 This is after: % cd ~/tmp % unzip Mail-SpamAssassin-2.52.zip % cd Mail-SpamAssassin-2.52 % perl Makefile.PL PREFIX=~/sausr SYSCONFDIR=~/saetc % make % make install % cd ~/sausr/bin % ./spamassassin -V SpamAssassin version 2.43 % When I asked my ISP if this was somehow because they had version 2.43 installed system-wide, they responded: I do have it installed. I suspect you're right. You can probably get your version by overriding @INC. Also: if there's a new version in ports, then I'll upgrade the system version. These guys are good; they're responsive and smart. However, I'm supposed to be an engineer and able to figure this out myself. Try as I might, with prepending what I believe are appropriate local directories to @INC via multiple instances of -I upon invocation, I can't get SpamAssassin to use my local directories. "spamassassin -V" still reports version 2.43. What baffles me is that (a) I've confirmed that I really have built a current 2.52 version, as line 88 of /home/ixian/sausr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm shows: $VERSION = "2.52"; # update after release and that (b) lines 112-123 of same file seem to imply that this problem shouldn't occur: # note that the CWD takes priority. This is required in case a user # is testing a new version of SpamAssassin on a machine with an older # version installed. Unless you can come up with a fix for this that # allows "make test" to work, don't change this. @default_rules_path = ( #'./rules', # ##REMOVED_ON_BUILD## #'../rules', # ##REMOVED_ON_BUILD## '__def_rules_dir__', '__prefix__/share/spamassassin', '/usr/local/share/spamassassin', '/usr/share/spamassassin', ); Any light anyone can shed on this would be much appreciated. Thanks, Eric [*] "uname -r" = 4.7-RELEASE-p3 and "perl -V" = Summary of my perl5 (revision 5.0 version 8 subversion 0) configura\ tion: Platform: osname=freebsd, osvers=4.7-rc, archname=i386-freebsd uname='freebsd idiom.com 4.7-rc freebsd 4.7-rc #4: thu sep 26 0\ 0:28:06 pdt 2002 [EMAIL PROTECTED]:buildobjbuildsrcsysidiom i386\ ' config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/\ perl5/5.8.0/mach -Dprivlib=/usr/local/lib/perl5/5.8.0 -Dman3dir=/us\ r/local/lib/perl5/5.8.0/man/man3 -Dsitearch=/usr/local/lib/perl5/si\ te_perl/5.8.0/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.0 -\ Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dccflags=-DAPPLLIB_EXP="/u\ sr/local/lib/perl5/5.8.0/BSDPAN" -Ui_gdbm -Dusemymalloc=n' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemult\ iplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=und\ ef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.0/BS\ DPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I\ /usr/local/include', optimize='-O2 -pipe -m486 -mcpu=i686 -march=pentiumpro ', cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.0/BSDPAN" -DH\ AS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/loca\ l/include' ccversion='', gccversion='2.95.4 20020320 [FreeBSD]', gccosandv\ ers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsiz\ e=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_\ t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lgdbm -lm -lc -lcrypt -lutil perllibs=-lm -lc -lcrypt -lutil libc=, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under freebsd Compiled at Sep 28 2002 02:03:44 @INC: /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0 . [end] -- "Never let a gift horse in the house." --(ridiculed and ignored) Trojan Malapropist Eric De Mund <[EMAIL PROTECTED]> | Ixian Systems, Inc. | 53 49 B2 23 AF 6C 20 81 http://www.ixian.com/ead/ | Mountain View, CA | ED DD 4C 81 AA C9 D1 A5 ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk