Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#7863 closed defect (fixed)

BUG: cyrus-imapd fails to build on Intel Mac

Reported by: hydrometeor@… Owned by: jmpp@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: cyrus, imapd Cc: markd@…
Port:

Description (last modified by jmpp@…)

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 18 years ago by mww@…

Owner: changed from darwinports-bugs@… to jmpp@…
severity: majornormal
Summary: cyrus-imapd fails to build on Intel MacBUG: cyrus-imapd fails to build on Intel Mac

does adding

platform i386 { configure.args-append --build=i386 }

help?

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:

https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2692

comment:3 Changed 17 years ago by jmpp@…

Description: modified (diff)

comment:4 Changed 17 years ago by jmpp@…

severity: normalNormal

port(1) output should be formatted within a code block (cf. WikiFormatting).

-jmpp

comment:5 Changed 17 years ago by jmpp@…

Keywords: cyrus imapd added
Milestone: Available Ports
Version: 1.2

comment:6 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:7 Changed 17 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Updated to 2.3.8. This now works on Intel without snmp support.

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.