1

Topic: Clean installation error FreeBSD 9.2

======== Required information ====
- iRedMail version:  iRedMail-0.8.6
- Store mail accounts in which backend (MySQL):
- Linux/BSD distribution name and version: FreeBSD 9.2 i386
- Related log if you're reporting an issue:
====

root@test:/usr/ports/mail/p5-Mail-SpamAssassin # cd /root/iRedMail-0.8.6/
root@test:~/iRedMail-0.8.6 # bash iRedMail.sh
< INFO > Checking configuration file: /root/iRedMail-0.8.6/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
< INFO > Use config file: /root/iRedMail-0.8.6/config for mail server setting.
< INFO > Import installation process status from file: /root/iRedMail-0.8.6/.status.
< INFO > Ports tree: /usr/ports
< INFO > Fetching all distfiles for required ports (make fetch-recursive)
< SKIP > Fetching all distfiles for port databases/mysql55-server and dependencies
< SKIP > Fetching all distfiles for port mail/dovecot2 and dependencies
< SKIP > Fetching all distfiles for port mail/dovecot2-pigeonhole and dependencies
< SKIP > Fetching all distfiles for port devel/pth and dependencies
< SKIP > Fetching all distfiles for port security/gnupg and dependencies
< SKIP > Fetching all distfiles for port dns/p5-Net-DNS and dependencies
< INFO > Fetching all distfiles for port mail/p5-Mail-SpamAssassin and dependencies
"Makefile", line 115: Malformed conditional (${PERL_LEVEL} < 501000)
"Makefile", line 119: Malformed conditional (${PERL_LEVEL} < 501400)
"Makefile", line 121: if-less else
"Makefile", line 123: if-less endif
"Makefile", line 124: if-less endif
make: fatal errors encountered -- cannot continue
< ERROR > Tarballs were not downloaded correctly, please fix it manually and then re-execute iRedMail.sh.
root@test:~/iRedMail-0.8.6 #

----

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

2

Re: Clean installation error FreeBSD 9.2

3m wrote:

< INFO > Fetching all distfiles for port mail/p5-Mail-SpamAssassin and dependencies
"Makefile", line 115: Malformed conditional (${PERL_LEVEL} < 501000)
"Makefile", line 119: Malformed conditional (${PERL_LEVEL} < 501400)
"Makefile", line 121: if-less else
"Makefile", line 123: if-less endif
"Makefile", line 124: if-less endif
make: fatal errors encountered -- cannot continue

Do you have any parameter in /etc/make.conf related to Perl?

Looks like a ports tree issue, i suggest you check FreeBSD ports tree mailing list to see whether or not others have the same issue.

3

Re: Clean installation error FreeBSD 9.2

mail/p5-Mail-SpamAssassin|mail/spamassassin|2014-03-10|Moved to mail/spamassassin
please modify the script!

4

Re: Clean installation error FreeBSD 9.2

3m wrote:

mail/p5-Mail-SpamAssassin|mail/spamassassin|2014-03-10|Moved to mail/spamassassin
please modify the script!

Fixed in development edition, thanks for your feedback.
https://bitbucket.org/zhb/iredmail/comm … a5c06b08fe

5

Re: Clean installation error FreeBSD 9.2

====> Compressing man pages (compress-man)
===>  Building package for pcre-8.34
Creating package /usr/ports/devel/pcre/work/pkg/pcre-8.34.tbz
Registering depends:.
Creating bzip'd tar ball in '/usr/ports/devel/pcre/work/pkg/pcre-8.34.tbz'
===>  Installing for pcre-8.34
===>  Checking if devel/pcre already installed
===>   pcre-8.34 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of devel/pcre
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** [check-already-installed] Error code 1

Stop in /usr/ports/devel/pcre.
< ERROR > Port was not success installed, please fix it manually and then re-execute this script.
root@test:~/iRedMail-0.8.6 #

Hi Zhang! I think the reason a port version !

6

Re: Clean installation error FreeBSD 9.2

Append this line to iRedMail-0.8.6/.status, then try again:

export status_install_port_devel_pcre='DONE'

7

Re: Clean installation error FreeBSD 9.2

Hi Zhang! installation was successful. When i trying open the interface for roundcube browser suggests to open or save the file "default" :-(

8

Re: Clean installation error FreeBSD 9.2

Of all services working correctly only iredadmin. I think the problem in PHP

9

Re: Clean installation error FreeBSD 9.2

Please install port www/mod_php5 manually, then restart Apache service. This will fix your issue.

FreeBSD ports tree changes every day, it's a little hard for me to follow it.

10

Re: Clean installation error FreeBSD 9.2

it works, thanks!!!