Opened 19 years ago

Closed 19 years ago

#5922 closed defect (fixed)

BUG: imap-uw does not compile

Reported by: todd.opendarwin@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

I tried installing imap-uw today, and couldn't get it to build. I am running 10.4.3, and have darwinports installed in /usr/local. The errors all seem to revolve around openssl, so I tried updating that to the latest version, but got the same problem. The output was this:

---> Fetching imap-uw ---> Verifying checksum(s) for imap-uw ---> Extracting imap-uw ---> Configuring imap-uw ---> Building imap-uw with target osx Error: Target com.apple.build returned: shell command "cd "/usr/local/var/db/dports/build/ file._usr_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_mail_imap-uw/ work/imap-2004g" && make osx" returned error 2 Command output: /usr/local/include/openssl/pem.h:599: error: parse error before "X509_CERT_PAIR" /usr/local/include/openssl/pem.h:599: error: parse error before "X509_CERT_PAIR" /usr/local/include/openssl/pem.h:599: error: parse error before "X509_CERT_PAIR" /usr/local/include/openssl/pem.h:634: error: parse error before '*' token /usr/local/include/openssl/pem.h:634: error: parse error before "EC_GROUP" /usr/local/include/openssl/pem.h:634: error: parse error before '*' token /usr/local/include/openssl/pem.h:634: error: parse error before "EC_GROUP" /usr/local/include/openssl/pem.h:634: error: parse error before '*' token /usr/local/include/openssl/pem.h:634: error: parse error before '*' token /usr/local/include/openssl/pem.h:635: error: parse error before '*' token /usr/local/include/openssl/pem.h:635: error: parse error before "EC_KEY" /usr/local/include/openssl/pem.h:635: error: parse error before '*' token /usr/local/include/openssl/pem.h:635: error: parse error before "EC_KEY" /usr/local/include/openssl/pem.h:635: error: parse error before "EC_KEY" /usr/local/include/openssl/pem.h:635: error: parse error before "EC_KEY" /usr/local/include/openssl/pem.h:636: error: parse error before '*' token /usr/local/include/openssl/pem.h:636: error: parse error before "EC_KEY" /usr/local/include/openssl/pem.h:636: error: parse error before '*' token /usr/local/include/openssl/pem.h:636: error: parse error before "EC_KEY" /usr/local/include/openssl/pem.h:636: error: parse error before "EC_KEY" /usr/local/include/openssl/pem.h:636: error: parse error before "EC_KEY" In file included from /usr/include/openssl/ssl.h:938,

from osdep.c:137:

/usr/local/include/openssl/ssl3.h:414: error: parse error before "EC_KEY" /usr/local/include/openssl/ssl3.h:441: error: parse error before '}' token /usr/local/include/openssl/ssl3.h:443: error: parse error before '}' token make[3]: * [osdep.o] Error 1 make[2]: * [osx] Error 2 make[1]: * [OSTYPE] Error 2 make: * [osx] Error 2

Any help would be much appreciated.

Change History (4)

comment:1 Changed 19 years ago by mww@…

Summary: imap-uw does not compileBUG: imap-uw does not compile

comment:2 Changed 19 years ago by markd@…

Cc: markd@… added

This particular error may have been resolved by dependency updates. It compiles ok for me with one exception. It fails when it tries to set a GID to the user "mail", and there is no such user by default on OS X.

xinstall -g mail -m 2711 mlock/mlock ${destroot}${prefix}/libexec

If I replace "mail" with a valid group on my system it compiles fine. What group should be used, or should the user "mail" be created? It'd be great to patch this and get it fixed.

comment:3 Changed 19 years ago by markd@…

xinstall -g mail -m 2711 mlock/mlock ${destroot}${prefix}/libexec

Ok so the user 'mail' just got deleted on my machine. It compiles fine for me. Unless someone objects this should be closed.

comment:4 Changed 19 years ago by mij@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.