1

Topic: installation problem on Debian 10.8 iRedMail-1.3.2 (ngingx, mariadb)

can anyone help ?
i have just installed Debian 10.8
i downloaded iRedMail 1.3.2 and have some instalation problems



In file included from /usr/lib/x86_64-linux-gnu/perl/5.28/CORE/perl.h:3646,
                 from body_0.xs:2:
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/cop.h:839:17: warning: null character(s) ignored
  re = cx->sb_rx; 
                                                                                        eval {} around subroutine call. */
                 ^
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/cop.h:814: error: unterminated #ifdef
#ifdef PERL_CORE

In file included from body_0.xs:2:
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/intrpvar.h:127:26: error: unknown type name ‘PERL_SI’
PERLVAR(I, curstackinfo, PERL_SI *) /* current stack + context */
                          ^~~~~~~
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/perl.h:5183:36: note: in definition of macro ‘PERLVAR’
#  define PERLVAR(prefix,var,type) type prefix##var;
                                    ^~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.28/CORE/perl.h:5271,
                 from body_0.xs:2:
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/proto.h:2524:15: error: unknown type name ‘PERL_SI’; did you mean ‘PERL_HASH’?
PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
               ^~~~~~~
               PERL_HASH
In file included from /usr/lib/x86_64-linux-gnu/perl/5.28/CORE/perl.h:5271,
                 from body_0.xs:2:
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/proto.h:6380:15: error: unknown type name ‘PERL_SI’; did you mean ‘PERL_DEB’?
PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
               ^~~~~~~
               PERL_DEB
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/proto.h:6380:42: error: unknown type name ‘PERL_SI’; did you mean ‘PERL_DEB’?
PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
                                          ^~~~~~~
                                          PERL_DEB
In file included from /usr/lib/x86_64-linux-gnu/perl/5.28/CORE/perl.h:5446,
                 from body_0.xs:2:
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/inline.h: In function ‘S_cx_pushblock’:
           U8TYPE
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/inline.h:1953:25: error: ‘CXt_LOOP_ARY’ undeclared (first use in this function)
     if (  CxTYPE(cx) == CXt_LOOP_ARY
                         ^~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/inline.h:1954:25: error: ‘CXt_LOOP_LAZYSV’ undeclared (first use in this function)
        || CxTYPE(cx) == CXt_LOOP_LAZYSV)
                         ^~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/inline.h:1967:24: error: ‘CXp_FOR_PAD’ undeclared (first use in this function)
     if (cx->cx_type & (CXp_FOR_PAD|CXp_FOR_GV)) {
                        ^~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/perl/5.28/CORE/inline.h:1967:36: error: ‘CXp_FOR_GV’ undeclared (first use in this function); did you mean ‘CPU_OR_S’?
     if (cx->cx_type & (CXp_FOR_PAD|CXp_FOR_GV)) {
                                    ^~~~~~~~~~
                                    CPU_OR_S
make: *** [Makefile:344: body_0.o] Błąd 1
command 'make PREFIX=/tmp/.spamassassin25024JKNKdUtmp/ignored INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.028/3.004002 >>/tmp/.spamassassin25024JKNKdUtmp/log' failed: exit 2
dpkg: error processing package sa-compile (--configure):
installed sa-compile package post-installation script subprocess returned error exit status 25
Setting up amavisd-new (1:2.11.0-6.1) ...
Creating/updating amavis user account...
Setting up python3-dev (3.7.3-1) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for libapache2-mod-php7.3 (7.3.27-1~deb10u1) ...
Warning: Could not load Apache 2.4 maintainer script helper.
Processing triggers for systemd (241-7~deb10u6) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for php7.3-fpm (7.3.27-1~deb10u1) ...
Processing triggers for dovecot-core (1:2.3.4.1-5+deb10u6) ...
Errors were encountered while processing:
sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: https://forum.iredmail.org/



cat /tmp/.spamassassin25024JKNKdUtmp/log
Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
Writing MYMETA.yml and MYMETA.json
cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Running Mkbootstrap for body_0 ()
chmod 644 "body_0.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- body_0.bs blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs 644
"/usr/bin/perl" "/usr/share/perl/5.28/ExtUtils/xsubpp"  -typemap '/usr/share/perl/5.28/ExtUtils/typemap'  body_0.xs > body_0.xsc
mv body_0.xsc body_0.c
x86_64-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.28/CORE"   body_0.c

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: installation problem on Debian 10.8 iRedMail-1.3.2 (ngingx, mariadb)

Try to install package "spamassassin" manually, then run "sa-update" and "sa-compile". If all goes well, try iRedMail installation again.