Hello,

It's not a direct answer, but have you tried the one on OpenCSW?

http://www.opencsw.org/packages/CSWdovecot/

I've switched to it from my own build a while ago, and it works well for me.

Cheers,

Laurent

On 27/08/13 22:11, Haney, Donald wrote:
Greetings!

I am attempting to install Dovecot 2.2.5 on Solaris 10 Sparc hardware with 
openssl version 0.9.7d 17 Mar 2004.  I have created a dovecot user and a dove 
null user, assigned them their own login directories specifying the ksh shell 
and assigned them to their own groups.  I have run the configure command 
successfully and am having trouble with the make.

At first, I received the problem listed below:

/bin/bash ../../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   
-I../../src/lib  -I../../src/lib-test  
-DMODULE_DIR=\""/usr/local/lib/dovecot"\"   -std=gnu99 -g -O2 -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
-Wbad-function-cast -fno-builtin-strftime -I/usr/sfw/include -MT iostream-openssl-context.lo -MD 
-MP -MF .deps/iostream-openssl-context.Tpo -c -o iostream-openssl-context.lo 
iostream-openssl-context.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-test 
-DMODULE_DIR=\"/usr/local/lib/dovecot\" -std=gnu99 -g -O2 -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
-Wbad-function-cast -fno-builtin-strftime -I/usr/sfw/include -MT 
iostream-openssl-context.lo -MD -MP -MF .deps/iostream-openssl-context.Tpo -c 
iostream-openssl-context.c  -fPIC -DPIC -o .libs/iostream-openssl-context.o
iostream-openssl-context.c: In function `ssl_proxy_ctx_set_crypto_params':
iostream-openssl-context.c:451: error: `SSL_OP_SINGLE_ECDH_USE' undeclared 
(first use in this function)
iostream-openssl-context.c:451: error: (Each undeclared identifier is reported 
only once
iostream-openssl-context.c:451: error: for each function it appears in.)

I followed directions found in 
http://hg.dovecot.org/dovecot-2.2/rev/27ebd9552471 to resolve this problem (I 
believe).

I am now seeing the following error:

test-http-server.c: In function `main':
test-http-server.c:122: error: size of array `type name' is negative
*** Error code 1
make: Fatal error: Command failed for target `test-http-server.o'
Current working directory /export/home/hanedo00/dovecot-2.2.5/src/lib-http
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
   case $f in \
     *=* | --[!k]*);; \
     *k*) failcom='fail=yes';; \
   esac; \
done; \
dot_seen=no; \

I have not had any luck thus far finding the solution for this error against 
test-http-server.o.  Any assistance would be appreciated.

Thanks,

Don Haney



Reply via email to