Here is an update. The reason I upgraded to a newer version of perl was that I was having problems building modules.
Here is what I was previously got and I just reverified using the older version of perl: ~src/razor-agents-sdk-2.03 # /usr/perl5/5.00503/bin/perl Makefile.PL (no errors) using make: ~src/razor-agents-sdk-2.03 # make Manifying ../blib/man3/Digest::HMAC.3 Manifying ../blib/man3/Digest::HMAC_SHA1.3 Manifying ../blib/man3/Digest::HMAC_MD5.3 make: Fatal error: Don't know how to make target `/usr/perl5/5.00503/sun4-solaris/CORE/perlapi.h' Current working directory /home/src/razor-agents-sdk-2.03/Digest-MD5-2.20 *** Error code 1 make: Fatal error: Command failed for target `subdirs' same deal using gmake: ~src/razor-agents-sdk-2.03 # gmake gmake[1]: Entering directory `/home/src/razor-agents-sdk-2.03/Digest-HMAC-1.01' gmake[1]: Leaving directory `/home/src/razor-agents-sdk-2.03/Digest-HMAC-1.01' gmake[1]: Entering directory `/home/src/razor-agents-sdk-2.03/Digest-MD5-2.20' gmake[1]: *** No rule to make target `/usr/perl5/5.00503/sun4-solaris/CORE/perlapi.h', needed by `MD5.o'. Stop. gmake[1]: Leaving directory `/home/src/razor-agents-sdk-2.03/Digest-MD5-2.20' gmake: *** [subdirs] Error 2 The file `/usr/perl5/5.00503/sun4-solaris/CORE/perlapi.h', of course is not there. Why? I add the file by copying it over from my perl5.8 installation and every other file that comes up missing. Then make runs fine and I am able to install the razor SDK. However, when I try and install the razor agents 2.36, I get the following error for which I am unsure how to resolve: ~src/razor-agents-2.36 # make cc -c -xO3 -xdepend -DVERSION=\"2.18\" -DXS_VERSION=\"2.18\" -KPIC "-I/usr/perl5/5.00503/sun4-solaris/CORE" _deHTMLxs.c cc -c -xO3 -xdepend -DVERSION=\"2.18\" -DXS_VERSION=\"2.18\" -KPIC "-I/usr/perl5/5.00503/sun4-solaris/CORE" deHTMLxs.c "deHTMLxs.c", line 40: undefined symbol: aTHX_ "deHTMLxs.c", line 40: syntax error before or at: "Usage: Razor2::Preproc::deHTMLxs::new(class)" "deHTMLxs.c", line 64: undefined symbol: aTHX_ "deHTMLxs.c", line 64: syntax error before or at: "Usage: Razor2::Preproc::deHTMLxs::is_xs(self)" "deHTMLxs.c", line 68: undefined symbol: dXSTARG "deHTMLxs.c", line 72: syntax error before or at: Razor2__Preproc__deHTMLxs "deHTMLxs.c", line 75: syntax error before or at: "self is not of type Razor2::Preproc::deHTMLxs" "deHTMLxs.c", line 79: undefined symbol: XSprePUSH "deHTMLxs.c", line 79: undefined symbol: targ "deHTMLxs.c", line 79: warning: improper pointer/integer combination: arg #1 "deHTMLxs.c", line 79: left operand of "->" must be pointer to struct/union "deHTMLxs.c", line 79: warning: improper pointer/integer combination: arg #1 "deHTMLxs.c", line 79: warning: improper pointer/integer combination: op "=" "deHTMLxs.c", line 82: cannot recover from previous errors cc: acomp failed for deHTMLxs.c *** Error code 2 make: Fatal error: Command failed for target `deHTMLxs.o' Current working directory /home/src/razor-agents-2.36/Razor2-Preproc-deHTMLxs *** Error code 1 make: Fatal error: Command failed for target `subdirs' This fatal error does not occur when using perl 5.8.0 to configure/make. Very frustrating. Any ideas? +++++++++++++++++++++++++++++++++++++++++++++ Theo, Thanks for your response. I deleted the older razor-2.14 modules manually and reinstalled the 2.03/2.36 sdk/agent again. I think part of the problem is that I just upgraded Perl from 5.005 to 5.8.0. The old version of Razor2 was installed in /usr/perl5/site_perl/etc...etc... The new version of Razor is installed here: usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Razor2/ usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Razor2/ usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/razor-agents/ usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/razor-agents-sdk/ It is still not found when running spamd: debug: leaving helper-app run mode debug: Razor2 is not available debug: executable for dccproc was found at /usr/local/bin/dccproc debug: DCC is available: /usr/local/bin/dccproc Result of the perl -V Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Aug 25 2003 15:23:12 @INC: /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl spamd is running from an older perl: /usr/perl5/5.00503/bin/perl /usr/bin/spamd -a -c -D hmmm. I guess if /usr/perl5/5.00503/bin/perl -V gives me: Characteristics of this binary (from libperl): Built under solaris Compiled at Dec 22 1999 00:00:57 @INC: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 ...then that is where it is going to look for modules (which I have since deleted and hence it can't find them). OK. I guess the next step is to build the razor mods with the older perl and see how that goes. Or is there another way around it? > -----Original Message----- > From: Theo Van Dinter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 2:06 PM > To: John Urness > Cc: [EMAIL PROTECTED] > Subject: Re: [Razor-users] Installed 2.36, but spamd appears > to call 2.14 > > On Wed, Aug 27, 2003 at 01:49:13PM -0700, John Urness wrote: > > I installed the new 2.03 SDK and new 2.36 agents (in > /usr/local/bin) and > > renamed older 2.14 razor binaries which had been located in > /usr/bin. > > > > debug: Using results from Razor v2.14 > > > > This created one server.something.something file, but again > specifying in > > the comment section of the file that it as "Autogenerated > by Razor-Agents > > v2.14" > > > > Is this a bug or am I missing something? > > spamd doesn't call the razor scripts, it uses the modules directly. > so simply renaming /usr/bin/razor* doesn't do anything for you if SA > looks in /usr/lib/perl5/.../ for the Razor modules. I'd blow away the > 2.14 Razor modules. > > Also, if you've shifted to /usr/local instead of /usr, you'll need to > make sure that /usr/local/lib/.../ is in @INC, ala "perl -V": > > Characteristics of this binary (from libperl): > Compile-time options: > Built under linux > Compiled at Apr 1 2002 12:23:22 > @INC: > /usr/lib/perl5/5.6.1/i386-linux > /usr/lib/perl5/5.6.1 > ... > > > -- > Randomly Generated Tagline: > And 1.1.81 is officially BugFree(tm), so if you receive any > bug-reports > on it, you know they are just evil lies." > (By Linus Torvalds, [EMAIL PROTECTED]) > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Razor-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/razor-users