1

Topic: FreeBSD - iRedMail-0.9.4 - curl fails to compile with GSSAPI enabled

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- BSD distribution name and version: FreeBSD 9.1.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? nope
- Related log if you're reporting an issue:
====

Fyi... curl fails to compile with the following error

INFO ] Checking configuration file: /mnt/mail/iRedMail/iRedMail-0.9.4/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /mnt/mail/iRedMail/iRedMail-0.9.4/config for mail server setting.
[ INFO ] Import installation process status from file: /mnt/mail/iRedMail/iRedMail-0.9.4/runtime/install.status.
[ INFO ] Ports tree: /usr/ports
[ INFO ] Fetching all distfiles for required ports (make fetch-recursive)
< SKIP > Fetching all distfiles for port devel/py-Jinja2 and dependencies
< SKIP > Fetching all distfiles for port devel/py-lxml and dependencies
< SKIP > Fetching all distfiles for port net/py-netifaces and dependencies
< SKIP > Fetching all distfiles for port www/py-beautifulsoup and dependencies
< SKIP > Fetching all distfiles for port security/py-bcrypt and dependencies
[ INFO ] Fetching all distfiles for port: databases/mariadb55-server
===> Fetching all distfiles for mariadb55-server-5.5.47 and dependencies
===>   mariadb55-server-5.5.47 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by mariadb55-server-5.5.47 for building
===> Fetching all distfiles required by pkg-1.6.3 for building
===>   cmake-3.4.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by cmake-3.4.2 for building
===>  curl-7.47.0 GSSAPI_BASE is not compatible with OpenSSL from ports. Use
other GSSAPI options or OpenSSL from base system.
*** [fetch] Error code 1

Stop in /usr/ports/ftp/curl.
*** [fetch-recursive] Error code 1

Stop in /usr/ports/databases/mariadb55-server.

...if the options in ./functions/packages_freebsd.sh are set to

OPTIONS_FILE_SET+=GSSAPI_BASE
OPTIONS_FILE_UNSET+=GSSAPI_NONE

Changing it to

OPTIONS_FILE_UNSET+=GSSAPI_BASE
OPTIONS_FILE_SET+=GSSAPI_NONE

helps to solve this.

Cheers!

----

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

2

Re: FreeBSD - iRedMail-0.9.4 - curl fails to compile with GSSAPI enabled

Fixed in development edition and repacked iRedMail-0.9.4, thanks for the feedback. smile