#7863 closed defect (fixed)
BUG: cyrus-imapd fails to build on Intel Mac
Reported by: | hydrometeor@… | Owned by: | jmpalacios (Juan Manuel Palacios) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | cyrus, imapd | Cc: | markd@… |
Port: |
Description (last modified by jmpalacios (Juan Manuel Palacios))
I was unable to get cyrus-imapd to build on Mac OS X 10.4.5 on Intel. The resul t is below. Strangely, the net-snmp port appears to have installed successfully on the same platform despite the warning message.
port install cyrus-imapd: -------------------------------------------------------------------- net-snmp 5.3 fails to build on darwin 8 (Mac OS X 10.4) due to 'host/hr_storage.c:764: error: duplicate case value', feel free to help investigate. -------------------------------------------------------------------- ---> Unpacking tgz archive for net-snmp 5.3_0 ---> Installing net-snmp 5.3_0 ---> Cleaning net-snmp ---> Fetching cyrus-imapd ---> Verifying checksum(s) for cyrus-imapd ---> Extracting cyrus-imapd ---> Applying patches to cyrus-imapd ---> Configuring cyrus-imapd Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_mail_cyrus-imapd/work/cyrus-imapd-2.2.12" && ./configure --prefix=/opt/local --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" returned error 1 Command output: checking build system type... configure: error: cannot guess build type; you must specify one Error: /opt/local/bin/port: Status 1 encountered during processing.
Change History (8)
comment:1 Changed 19 years ago by mww@…
Owner: | changed from darwinports-bugs@… to jmpp@… |
---|---|
severity: | major → normal |
Summary: | cyrus-imapd fails to build on Intel Mac → BUG: cyrus-imapd fails to build on Intel Mac |
comment:2 Changed 18 years ago by opendarwin@…
I had the same problem, and found this page while searching.
I tried the suggested "--build=is86" and it helped, but then failed later with:
imapopts.h:181: error: array type has incomplete element type
That is caused by gcc 4.x There is a patch available here:
comment:3 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)
Description: | modified (diff) |
---|
comment:4 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)
severity: | normal → Normal |
---|
port(1) output should be formatted within a code block (cf. WikiFormatting).
-jmpp
comment:5 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)
Keywords: | cyrus imapd added |
---|---|
Milestone: | → Available Ports |
Version: | 1.2 |
comment:6 Changed 18 years ago by pipping@…
Milestone: | Available Ports → Port Bugs |
---|
comment:7 Changed 17 years ago by markd@…
Cc: | markd@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Updated to 2.3.8. This now works on Intel without snmp support.
Note: See
TracTickets for help on using
tickets.
does adding
platform i386 { configure.args-append --build=i386 }
help?