You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by sp...@mach2.franken.de on 2021/04/05 00:27:46 UTC

Problem installing sa on my pi 3b+

Hi there,

when running a 'sudo apt-get install spamassassin' on my raspian pi 3b+ 
i keep running into a problem with sa-compile:

sa-compile (3.4.2-1+deb10u3) wird eingerichtet ...
Running sa-compile (may take a long time)
In file included from 
/usr/lib/arm-linux-gnueabihf/perl/5.28/CORE/perl.h:702,
                  from body_0.xs:2:
/usr/include/ctype.h: In function ‘tolower’:
/usr/include/ctype.h:209:3: internal compiler error: Ungültiger 
Maschinenbefehl
    return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
    ^~~~~~
0x76aff11f ???
         ../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64
0x76ae9717 __libc_start_main
         /build/glibc-FUvrFr/glibc-2.28/csu/libc-start.c:308


Can anyone give me a hint what to do? I am rather new to this so other 
than running some packet installs i've done nothing but working thru 
howto's.


Kind regards

Christian


Re: Problem installing sa on my pi 3b+

Posted by RW <rw...@googlemail.com>.
On Tue, 6 Apr 2021 03:29:12 +0200
Christian Tasler wrote:

> Ok, maybe I'll need more than just a hint as I understood mostly
> nothing. I am running said packet install from an internet tutorial.
> I cannot do anything between issuing that command and the printout of
> the error. So how am I supposed to comment anything out? And
> when/where to issue that loadplugin command?
> I cant even tell which version the apt-get is fetching.
> 
> I did hope for such hints like "missing params" or "not enough ram"
> when I asked for hints but with such a in depth advice I am totally
> lost. Thus any help (noob-level !) would be greatly appreciated.

I didn't realize that was from within a package installer. If you can
ignore the error and proceed you should do so. Otherwise you'll have to
take it up with the package maintainer.

Commenting-out that line just prevents SA from trying to use compiled
rules. Actually I see that this is commented by default anyway.

Re: Problem installing sa on my pi 3b+

Posted by RW <rw...@googlemail.com>.
On Mon, 5 Apr 2021 02:27:46 +0200
spamassassin@mach2.franken.de wrote:

> Hi there,
> 
> when running a 'sudo apt-get install spamassassin' on my raspian pi
> 3b+ i keep running into a problem with sa-compile:
> ...
> Can anyone give me a hint what to do?

Using compiled rules is not essential, IIWY I'd just comment out 

loadplugin  Mail::SpamAssassin::Plugin::Rule2XSBody

in v320.pre.