Compiling Dovecot on Solaris 10

Matthias Lohmann lohm at lynet.de
Fri Feb 3 11:18:27 UTC 2017


Hi there...


I just had the same problem yesterday.

I believe you're using the gcc3 compiler from /usr/sfw ?


Try with a newer gcc 4.

I used/installed the gcc4 packages from opencsw.org to get it
going faster.
(Installs under /opt/csw, so no problems with existing software.)

Change your PATH to "/opt/csw/bin/gcc4:/opt/csw/bin:$PATH"
bevor configure/compile and give it a try.

Worked for me ... and 2.2.27 runs since a few hours.




Am 02.02.2017 um 18:38 schrieb Mantas Gegužis:
> Hello,
>
> I am tying to compile Dovecot 2.2.27 on Solaris 10, and I get this error:
> test-ioloop.c: In function `test_ioloop_pending_io':
> test-ioloop.c:188: error: size of array `type name' is negative
>
> My configuration is like this:
> Install prefix . : /usr/local
> File offsets ... : 64bit
> I/O polling .... : poll
> I/O notifys .... : none
> SSL ............ : yes (OpenSSL)
> GSSAPI ......... : no
> passdbs ........ : static passwd passwd-file shadow pam checkpassword
> dcrypt ..........: yes
>                   : -bsdauth -sia -ldap -sql -vpopmail
> userdbs ........ : static prefetch passwd passwd-file checkpassword
>                   : -ldap -sql -vpopmail -nss
> SQL drivers .... :
>                   : -pgsql -mysql -sqlite -cassandra
> Full text search : squat
>                   : -lucene -solr
>
> Last version that I have compiled was 2.2.24, version 2.2.25 failed
> with error:
> In file included from guid.c:6:
> sha1.h:80: error: static or type qualifiers in abstract declarator
>
> Is there anyone who can help me?
>



More information about the dovecot mailing list