[Dovecot] Error building on OpenBSD 3.9

Chris Cappuccio chris at nmedia.net
Thu Jun 8 03:09:00 EEST 2006


You have two choices, you can either

1. Use the port

or 

2. Read the gcc manual page

B.O.F.H. [bofh at null-route.org] wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> This is for all versions from 1.0b3 - 1.0b8
> 
> All crash at the same place:
> 
> Making all in auth
> gmake[3]: Entering directory `/src/mail/dovecot-1.0.beta8/src/auth'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../src/lib
> - -I../../src/lib-sql -I../../src/lib-settings -I../../src/lib-ntlm
> - -DAUTH_MODULE_DIR=\""/usr/local/lib/dovecot/auth"\"
> - -DPKG_LIBEXECDIR=\""/usr/local/libexec/dovecot"\" -I at includedir@
> @INCLUDE_des@ -I/usr/local/include -I/usr/include/kerberosV
> - -std=gnu99 -O2 -march=athlon -pipe -Wall -W -Wmissing-prototypes
> - -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
> - -Wbad-function-cast  -MT mycrypt.o -MD -MP -MF ".deps/mycrypt.Tpo"
> - -c -o mycrypt.o mycrypt.c; \
> then mv -f ".deps/mycrypt.Tpo" ".deps/mycrypt.Po"; else rm -f
> ".deps/mycrypt.Tpo"; exit 1; fi
> gcc: cannot specify -o with -c or -S and multiple compilations
> gmake[3]: *** [mycrypt.o] Error 1
> gmake[3]: Leaving directory `/src/mail/dovecot-1.0.beta8/src/auth'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/src/mail/dovecot-1.0.beta8/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/src/mail/dovecot-1.0.beta8'
> gmake: *** [all] Error 2
> 
> Gnu-make versus BSD make doesn't differ.
> 
> Compile options were:
> 
> ./configure \
> - --sysconfdir=/etc/dovecot \
> - --localstatedir=/var \
> - --infodir=/usr/share/info \
> - --mandir=/usr/share/man \
> - --disable-rpath \
> - --enable-ipv6 \
> - --enable-asserts \
> - --without-shadow \
> - --without-pam \
> - --without-vpopmail \
> - --with-pgsql \
> - --with-mysql \
> - --with-ssl=openssl \
> - --with-ssldir=/etc/ssl \
> - --with-storages='maildir mbox' \
> - --with-sql-drivers \
> CFLAGS='-O2 -march=athlon -pipe' \
> LDFLAGS='-L/usr/local/lib' \
> CPPFLAGS='-I/usr/local/include -I/usr/include/kerberosV'
> 
> What other data can I provide to help figure out what's going wrong?
> 
> - --
> Ed V.
> 
> IBM: Into Building Money
> 7 June 2006 17:52:03
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (MingW32)
> 
> iQIVAwUBRIdnZKfRmhqF/IZAAQrVUg//U0L4agoc5WGQ8gvj0XiEclzj+izer635
> NYppYOc4AicVKq1Hp3HbcwaYcWYBY0nubkcUemSk+t8V/2qcZY2Y3rvaQo6B2aj8
> rQF8Wj8BdqIzVMsX4IeVJO7XQlI7xUA/vaEOeL69dx43M/+7VE673YuaBpHYLvez
> UwXx/4pWujg0HbSuuX1SqFg5VntAE2XppxfukHmbK4FYfNbmWWGYKuAwAMqdr35t
> r+2cN8GOrk9nRBgisl2ADJW8YbDYvrj1DVcrNeo2cIeK68kqXU8knhCNxs9fXr75
> pNRP811rdDLXQur66JHSlGdcJWOSNuoKUDUWLoJ5vpuQP/QlCpF2IfJ5kiK7rraJ
> 56q4Jbw63IHqYOiEC+yb2pGcgoh7tOOBSGTtlmzorym+0lOBS2SSKz7xd0+zfeU2
> yHlRs5af13nCWG5ZV9e+gdyLuvZkd+8H9RTQyv2pbBgn9GHjq62HreDP/Drj6/DA
> HfHMXOtDF0tkfWbedIDD6SCeH4ptPf6FOqRd0BVdzuMk0Hi4uFeiChmkdXJYo9Vn
> c3176FN31fHmc7ZJm1P7MjAPdzAI/QP+vGiucMJg9bNTZVVOs5t/4aKMdG183zRT
> 5UZR4x+7ZA1JKZ4NgfVuaTM3khsgo9lQgw+A8QwrOOwKFGaek9By0AKxbJ06wIcg
> BFOZZSoKgWc=
> =U0oQ
> -----END PGP SIGNATURE-----

-- 
There is no certainty, there is only opportunity


More information about the dovecot mailing list