1 (edited by pylox 2015-05-15 21:29:16)

Topic: Install on FreeBSD 10.1 broken

======== Required information ====
- iRedMail version: 0.9.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MARIADB
- Web server (Apache or Nginx): Nginx
- Linux/BSD distribution name and version: FreeBSD 10.1
- Related log if you're reporting an issue:
====

Hi,

i try to install iRedmail 0.9.1 on FreeBSD 10.1 (ezjail, fresh install). But if it comes to compile the curl port it breaks. I'm not a freebsd guru and it is not possible for me to find the cause....
Help would be appreciated

===>   Registering installation for libssh2-1.4.3_5,2 as automatic
[mail.xxxxxx.yy] Installing libssh2-1.4.3_5,2...
===>   Returning to build of curl-7.42.1
===>  Configuring for curl-7.42.1
configure: loading site script /usr/ports/Templates/config.site
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking for path separator... :
checking for sed... (cached) /usr/bin/sed
checking for grep... (cached) /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ar... /usr/bin/ar
configure: using CFLAGS: -I/usr/include -O2 -pipe  -fstack-protector -fno-strict-aliasing
configure: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not include directories. Use CPPFLAGS for: -I/usr/include
configure: WARNING: Continuing even with errors mentioned immediately above this line.
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... cc
checking whether the C compiler works... no
configure: error: in `/var/ports/usr/ports/ftp/curl/work/curl-7.42.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/var/ports/usr/ports/ftp/curl/work/curl-7.42.1/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/ftp/curl
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/cmake
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mariadb55-server
<< ERROR >> Port was not successfully installed, please fix it manually and then re-execute this script.

If i install the curl port (only) on a separate machine - it will work....

pylox

----

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

2

Re: Install on FreeBSD 10.1 broken

This is a FreeBSD ports tree issue. You can try to install it manually:

# cd /usr/ports/ftp/curl
# make install clean

Then run iRedMail installer again:

# bash iRedMail.sh