1

Topic: problem with apache22

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: freebsd10.0
- Related log if you're reporting an issue:
====
Trying to install on a fresh build i get this error and don't know how to solve it.

< INFO > Fetching all distfiles for port www/apache22 and dependencies
===> Fetching all distfiles for apache22-2.2.27_5 and dependencies
===>  apache22-2.2.27_5 AUTHN_DBD and DBD requires APR-util to have DBD support
build in. Please rebuild APR at last with one DBD backend (MYSQL, PGSQL or SQLIT
E).

Please advice?

----

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

2

Re: problem with apache22

Please open file 'functions/packages_freebsd.sh' under iRedMail-0.8.7/ directory, find below line:

    # Apr. DEPENDENCE.                                                              
    cat > /var/db/ports/devel_apr1/options <<EOF                                    
OPTIONS_FILE_SET+=SSL
...
OPTIONS_FILE_UNSET+=SQLITE
...
EOF

Change 'OPTIONS_FILE_UNSET+=SQLITE' to 'OPTIONS_FILE_SET+=SQLITE', then re-execute iRedMail installer again:

# bash iRedMail.sh

3

Re: problem with apache22

Oh, wait, iRedMail will enable either MySQL or PostgreSQL support for port devel/apr1, did your installation process stop here? or just a warning?

4

Re: problem with apache22

I got different info with the latest ports tree, did you update your ports tree?

< INFO > Fetching all distfiles for port www/apache22 and dependencies
===> Fetching all distfiles for apache22-2.2.27_6 and dependencies

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                      H E A D S - U P
2014-07-13:
  The default version was changed from www/apache22 to www/apache24,
  pre-build apache modules will also reflect this!

  In case ports are build by yourself and apache22 is required
  use the following command to keep apache22 as default

  echo "DEFAULT_VERSIONS+=apache=2.2" >> /etc/make.conf

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===>   apache22-2.2.27_6 depends on file: /usr/local/sbin/pkg - found