1 (edited by dmitry2011 2010-10-25 15:43:49)

Topic: problem with install MySQL 5.0.90 during install iRedMail

Hello!

I'm trying to install iRedMail 0.6.1 on FreeBSD 8.1
When i'm using script iRedMail.sh, it try to fetch MySQL-server (and client) 5.0.90, but doesn't find it.
How can i use MySQL-server 5.1 instead of MySQL-server 5.0?

Thank's

----

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 install MySQL 5.0.90 during install iRedMail

You can find below line in iRedMail-0.6.1/functions/packages_freebsd.sh:

    ALL_PORTS="${ALL_PORTS} databases/mysql50-server"                                                                   

Change port "databases/mysql50-server" to whatever you want, e.g. "databases/mysql51-server".

3

Re: problem with install MySQL 5.0.90 during install iRedMail

Thank a lot for your help,
but I have a new error during install postfix 2.6.7 :

-----------------------------------
[src/util]
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include -I/usr/local/include/db46 -DHAS_MYSQL -I/usr/local/include/mysql -DHAS_LDAP -I/usr/local/include -DHAS_CDB -I/usr/local/include NO -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -DFREEBSD8 -c alldig.c
cc: NO: No such file or directory
*** Error code 1

Stop in /usr/ports/mail/postfix26/work/postfix-2.6.7/src/util.
*** Error code 1

Stop in /usr/ports/mail/postfix26/work/postfix-2.6.7.
*** Error code 1

Stop in /usr/ports/mail/postfix26.
*** Error code 1

Stop in /usr/ports/mail/postfix26.
< ERROR > Port was not success installed, please fix it manually and then re-execute this script.
------------------------------------------