Mailing List Archive

OT (a bit): make install for latest razor failing
I've asked this on razor-users and got no answers and think I may
have more joy here as people seem more responsive here (sorry if I'm
slighting anyone who's on both!)

I'm also exploring how you use the backported deb of razor but would
like to understand this too if I can.

I've been running an old version of razor under amavisd-new with SA
on Debian stable. I've just pulled down the latest (2.36) tarball
from sourceforge to update and all goes well until make install which
gives me:

> make[1]: Entering directory
> `/home/xychris0/spamassassin/razor-agents-2.36/Razor2-Preproc-deHTMLxs'
> make[1]: Leaving directory
> `/home/xychris0/spamassassin/razor-agents-2.36/Razor2-Preproc-deHTMLxs'
> /usr/bin/perl -we '%m=@ARGV;for (keys %m){' -e 'next if -e $m{$_} && -M
> $m{$_} < -M $_ && -M $m{$_} < -M "Makefile";' -e 'print "Manifying
> $m{$_}\n";' -e 'system(qq[$^X ].q["-I/usr/lib/perl/5.6.1"
> "-I/usr/share/perl/5.6.1" /usr/bin/pod2man ].qq[$_>$m{$_}])==0 or warn
> "Couldn\047t install $m{$_}\n";' -e 'chmod(oct(644)), $m{$_} or warn
> "chmod 644 $m{$_}: $!\n";}' \ docs/razor-agent.conf.pod \
> blib/man5/razor-agent.conf.5 \ docs/razor-agents.pod \
> blib/man5/razor-agents.5 \ docs/razor-whitelist.pod \
> blib/man5/razor-whitelist.5 Files found in blib/arch: installing files in
> blib/lib into architecture dependent library tree mkdir /usr/man/man5:
> File exists at /usr/share/perl/5.6.1/ExtUtils/Install.pm line 138 make:
> *** [pure_site_install] Error 255

I've tried uninstalling the old version of razor but still get same
and cant' get Install.pm to tell me what the offending file is.

Anyone any suggestions? Thanks in advance,

Chris

PSYCTC: Psychotherapy, Psychology, Psychiatry, Counselling
and Therapeutic Communities; practice, research,
teaching and consultancy.
Chris Evans & Jo-anne Carlyle
http://psyctc.org/ Email: chris@psyctc.org
Re: OT (a bit): make install for latest razor failing [ In reply to ]
On Fri, 2004-02-13 at 03:05, Chris Evans wrote:
> I'm also exploring how you use the backported deb of razor but would
> like to understand this too if I can.
>

Add to /etc/apt/sources.list:

deb http://www.backports.org/debian/ woody razor
deb http://www.backports.org/debian/ woody libdigest-nilsimsa-perl

Then run apt-get update && apt-get install razor. Works well here; the
current version is 2.361-1.backports.org.1

- Jon

--
jon@tgpsolutions.com

Administrator, tgpsolutions
http://www.tgpsolutions.com
Re: OT (a bit): make install for latest razor failing [ In reply to ]
Jon gave me most of the answer I needed (still don't know what was
wrong with make install of razor from source but so be it). As well
as putting these into /etc/apt/sourceslist and running dselect and
upgrading & installing I found that left me with a message:

> razor2 check skipped: Bad file descriptor Insecure dependency in open
> while running setuid at
> /usr/local/lib/perl/5.6.1/Razor2/Client/Config.pm line 414, <GEN230>
> line 1.

and I puzzled by that as I found the old messages (October last year)
about this but then saw that the tainting patch had been assimilated
into razor. Then realised that I had to stop SA manually and restart
it (I assume that the link to the old razor hadn't been replaced
somehow). Did that, did a razor discover though not sure that was
necessary, and now everything's working beautifully again.

Many thanks to Jon, Steven and others for all the help: magic list!

Chris

On 13 Feb 2004 at 3:09, Jon wrote:

> On Fri, 2004-02-13 at 03:05, Chris Evans wrote:
> > I'm also exploring how you use the backported deb of razor but would
> > like to understand this too if I can.
> >
>
> Add to /etc/apt/sources.list:
>
> deb http://www.backports.org/debian/ woody razor
> deb http://www.backports.org/debian/ woody libdigest-nilsimsa-perl
>
> Then run apt-get update && apt-get install razor. Works well here;
> the current version is 2.361-1.backports.org.1
>
> - Jon
>
> --
> jon@tgpsolutions.com
>
> Administrator, tgpsolutions
> http://www.tgpsolutions.com
>

PSYCTC: Psychotherapy, Psychology, Psychiatry, Counselling
and Therapeutic Communities; practice, research,
teaching and consultancy.
Chris Evans & Jo-anne Carlyle
http://psyctc.org/ Email: chris@psyctc.org