Re: update on building Cyrus for OS X/Intel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jun 14, 2006, at 4:44 AM, Nigel Kersten wrote:


On 14/06/2006, at 5:22 AM, Joe Auty wrote:

It looks like 2.2.12 doesn't support this architecture... do newer versions?


 $ ./configure
checking build system type... configure: error: cannot guess build type; you must specify one

You need the newer config.guess and config.sub

cp /usr/share/libtool/config.* to your build directory.




Progress! However, there appears to still be a problem.

Building with the following configure arguments:

configure.args  --mandir=${prefix}/share/man \
                --sysconfdir=${prefix}/etc/cyrus \
                --with-cyrus-prefix=${prefix} \
                --with-pidfile=${prefix}/var/run/cyrus-master.pid \
                --with-bdb-incdir=${prefix}/include/db4 \
                --with-bdb-libdir=${prefix}/lib \
                --with-perl=${prefix}/bin/perl \
                --with-sasl=${prefix} \
                --with-openssl=${prefix} \
                --with-cyrus-user=cyrus \
                --with-cyrus-group=mail \
                --with-auth=unix \
                --enable-listext \
                --enable-cmulocal \
                --enable-netscapehack


where ${prefix} is /opt/local produces the following problem:



--->  Building cyrus-imapd with target all
### Making all in /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_mail_cyrus-imapd/work/cyrus-imapd-2.2.12/man
make[1]: Nothing to be done for `all'.
### Making all in /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_mail_cyrus-imapd/work/cyrus-imapd-2.2.12/lib gcc -c -I.. -I/opt/local/include/db4 -I/opt/local/include -I/opt/ local/include -I/opt/local/include -DHAVE_CONFIG_H -g -O2 \
libconfig.c
In file included from libconfig.h:47,
                 from libconfig.c:57:
imapopts.h:181: error: array type has incomplete element type
make[1]: *** [libconfig.o] Error 1
make: *** [all] Error 1
Error: Target com.apple.build returned: shell command "cd "/opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_mail_cyrus-imapd/work/cyrus-imapd-2.2.12" && make all" returned error 2 Command output: ### Making all in /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_mail_cyrus-imapd/work/cyrus-imapd-2.2.12/man
make[1]: Nothing to be done for `all'.
### Making all in /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_mail_cyrus-imapd/work/cyrus-imapd-2.2.12/lib gcc -c -I.. -I/opt/local/include/db4 -I/opt/local/include -I/opt/ local/include -I/opt/local/include -DHAVE_CONFIG_H -g -O2 \
libconfig.c
In file included from libconfig.h:47,
                 from libconfig.c:57:
imapopts.h:181: error: array type has incomplete element type
make[1]: *** [libconfig.o] Error 1
make: *** [all] Error 1

Warning: the following items did not execute (for cyrus-imapd): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install
Error: /opt/local/bin/port: Status 1 encountered during processing.


Any idea what is going on here? The paths here reflect using DarwinPorts to build the software, but the same problem occurs when I build by hand using the same arguments:

./configure --mandir=/opt/local/share/man \
                --sysconfdir=/opt/local/etc/cyrus \
                --with-cyrus-prefix=/opt/local \
                --with-pidfile=/opt/local/var/run/cyrus-master.pid \
                --with-bdb-incdir=/opt/local/include/db4 \
                --with-bdb-libdir=/opt/local/lib \
                --with-perl=/opt/local/bin/perl \
                --with-sasl=/opt/local \
                --with-openssl=/opt/local \
                --with-cyrus-user=cyrus \
                --with-cyrus-group=mail \
                --with-auth=unix \
                --enable-listext \
                --enable-cmulocal \
                --enable-netscapehack


$ make
### Making all in /Users/jauty/Desktop/cyrus-imapd-2.2.12/man
make[1]: Nothing to be done for `all'.
### Making all in /Users/jauty/Desktop/cyrus-imapd-2.2.12/lib
gcc -c -I.. -I/opt/local/include/db4 -I/opt/local/include -I/opt/ local/include -I/opt/local/include -DHAVE_CONFIG_H -g -O2 \
libconfig.c
In file included from libconfig.h:47,
                 from libconfig.c:57:
imapopts.h:181: error: array type has incomplete element type
make[1]: *** [libconfig.o] Error 1
make: *** [all] Error 1



THanks in advance!



Attachment: PGP.sig
Description: This is a digitally signed message part

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux