On Jun 6,  9:49pm, Bob Apthorpe wrote:

> Seriously though, this makes two instances of changing Config.pm to work
> around a vendor's missing compiler. Do you have instructions for fixing
> Config.pm on IRIX? I documented Solaris 2.6 and 7 and the fix for 8 and
> 9 are similar. Any HP-UX or AIX users with the same problems &
> solutions? A comprehensive "fixing your vendor's broken perl
> installation" document would come in handy for more than just SA.

Yup. To get a Config.pm that works with gcc on Irix (for systems that
do not have SGI cc installed/licensed), download the Config.pm from
http://www.digitalmages.com/irix/ (a site which has some good tips in
general). This is needed to correctly compile spamassassin's C-based
components.


> Q: Assuming IRIX has some equivalent to truss or strace (system call
> trace utility), can you tell what's prompting the core dump? Is SA the
> only code that exhibits this behavior? My gut feeling is the problem
> lies with perl not SA; a bad script shouldn't cause a core dump.

You're right, the fault did lie with perl. I ended up doing a perl -d,
and stepping through the source. It choked on trying to load DB_File.
It's known to be broken on the SGI Freeware CD/site version of perl 5.6.1;
it's just not supposed to make perl _crash_.

I removed the references to DB_File and GDBM_File from BayesStore.pm
and DBBasedAddrList, and it worked fine.

This may be worth documenting, as it'll be common to any other Irix
user who is dependent upon gcc plus the SGI Freeware perl 5.6.1 (their
most current release).


        -- Lydia


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to