Topic: installer.sh broken for FreeBSD 11.2 ?
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? iRedMail.sh installer
- Linux/BSD distribution name and version: FreeBSD 11.2-RELEASE-p9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? 0 so far
====
Hello,
I succesfully use iRedMail on Linux for some years. I have solid Linux experience, but only lightweight FreeBSD experience.
I am currently investigating to maybe move to a FreeBSD 11.2 (FreeNAS 11.2U3 iocage jail if that matters) and doing a test setup.
Downloaded the installer and did the following:
portsnap fetch extract update
pkg install bash-static sudo
./iRedMail.sh
That got stuck on MariaDB:
===> mariadb103-client-10.3.14 You are using OpenSSL from ports and have
selected GSSAPI from base, please select another GSSAPI value.
*** Error code 1
A quick search leaded me to a solution. Add the following to /etc/make.conf (although that is already defined in functions/packages_freebsd.sh ?):
OPTIONS_UNSET+= GSSAPI_BASE
OPTIONS_SET+= GSSAPI_NONE
Another try and this time it went very far and did a lot of work. But then i got compiler errors:
cc -DNDEBUG -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local/include/python2.7 -c build/temp.freebsd-11.2-STABLE-amd64-2.7/_openssl.c -o build/temp.freebsd-11.2-STABLE-amd64-2.7/build/temp.freebsd-11.2-STABLE-amd64-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion
[... lot of warnings...]
build/temp.freebsd-11.2-STABLE-amd64-2.7/_openssl.c:2498:21: error: redefinition of 'DTLS_method' as
different kind of symbol
const SSL_METHOD *(*DTLS_method)(void) = NULL;
^
/usr/local/include/openssl/ssl.h:1474:19: note: previous definition is here
const SSL_METHOD *DTLS_method(void); /* DTLS v1.0 or later */
^
build/temp.freebsd-11.2-STABLE-amd64-2.7/_openssl.c:2499:21: error: redefinition of 'DTLS_server_method' as
different kind of symbol
const SSL_METHOD *(*DTLS_server_method)(void) = NULL;
^
/usr/local/include/openssl/ssl.h:1475:19: note: previous definition is here
const SSL_METHOD *DTLS_server_method(void); /* DTLS v1.0 or later */
^
build/temp.freebsd-11.2-STABLE-amd64-2.7/_openssl.c:2500:21: error: redefinition of 'DTLS_client_method' as
different kind of symbol
const SSL_METHOD *(*DTLS_client_method)(void) = NULL;
[... lot of warnings...]
Is this known ? Did i make a mistake ? Anyone with the same problems ?
Or even better, anyone with a solution ? ;-)
Cheers,
Serge
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.