[dovecot] dovecot-0.99.6rc3 compilation problems on (Open|Free)BSD
Hi there!
Dovecot-0.99.6rc3 barfs at me when I try to compile it on OpenBSD 3.2 or FreeBSD 4.7, both with the same error:
[ ..snip.. ]
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -g -O2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -c charset-iconv.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -g -O2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -c charset-utf8.c
charset-utf8.c:42: storage size of ascii_translation' isn't known charset-utf8.c:42: storage size of
utf8_translation' isn't known
*** Error code 1
Stop in /usr/home/griffin/dovecot-0.99.6rc3/src/lib-charset. *** Error code 1
Stop in /usr/home/griffin/dovecot-0.99.6rc3/src (line 134 of Makefile). *** Error code 1
Stop in /usr/home/griffin/dovecot-0.99.6rc3 (line 202 of Makefile). *** Error code 1
Stop in /usr/home/griffin/dovecot-0.99.6rc3 (line 330 of Makefile).
I didn't use any fancy parameters for ./configure. Any config.* files I can post to help?
/Regards, Johan
On Mon, 2003-01-13 at 22:54, Johan Fredin wrote:
Dovecot-0.99.6rc3 barfs at me when I try to compile it on OpenBSD 3.2 or FreeBSD 4.7, both with the same error:
Thanks, I was just about to release the final version. It compiled only if iconv() existed in your system, otherwise it fallbacks to ASCII+UTF8-only support which I had left broken.
On 13 Jan 2003, Timo Sirainen wrote:
Thanks, I was just about to release the final version. It compiled only if iconv() existed in your system, otherwise it fallbacks to ASCII+UTF8-only support which I had left broken.
But, I do have libiconv (GNU libiconv from ports) installed. Got iconv.h in /usr/local/include/. If I make /usr/include/iconv.h a symlink to that one it works through that error. But instead it barfs again further down the road :/.
[ ..snip.. ]
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib
-I../../src/lib-imap -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -c ssl-proxy-openssl.c
ssl-proxy-openssl.c: In function plain_block_input': ssl-proxy-openssl.c:58:
IOFunc' undeclared (first use in this function)
ssl-proxy-openssl.c:58: (Each undeclared identifier is reported only once
ssl-proxy-openssl.c:58: for each function it appears in.)
ssl-proxy-openssl.c:58: syntax error before plain_read' ssl-proxy-openssl.c: In function
plain_write':
ssl-proxy-openssl.c:119: IOFunc' undeclared (first use in this function) ssl-proxy-openssl.c:119: syntax error before
plain_write'
ssl-proxy-openssl.c: At top level:
ssl-proxy-openssl.c:81: warning: `plain_read' defined but not used
*** Error code 1
Stop in /usr/home/griffin/dovecot-0.99.6rc3/src/login. *** Error code 1
This is OpenBSD 3.2 with OpenSSL 0.9.7-beta3 30 Jul 2002.
/Regards, Johan
On Mon, 2003-01-13 at 23:42, Johan Fredin wrote:
On 13 Jan 2003, Timo Sirainen wrote:
Thanks, I was just about to release the final version. It compiled only if iconv() existed in your system, otherwise it fallbacks to ASCII+UTF8-only support which I had left broken.
But, I do have libiconv (GNU libiconv from ports) installed. Got iconv.h in /usr/local/include/. If I make /usr/include/iconv.h a symlink to that one it works through that error.
CPPFLAGS='-I /usr/local/include' ./configure would be a bit more correct way to fix it.
But instead it barfs again further down the road :/.
Thanks again, would have missed this one too :) Get 0.99.6 in a few minutes.
participants (2)
-
Johan Fredin
-
Timo Sirainen