[Dovecot] Compiling on Solaris 10

Roger Oliver Clark roclar at wm.edu
Thu May 5 22:22:17 EEST 2005


Trying to compile Dovecot on Solaris 10.  I have tried the 99.14  
release and today's 1.0-stable release.  In both cases I get the  
following error message:

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/usr/local/include  -g -O2 -Wall - 
W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar- 
subscripts -Wformat=2 -Wbad-function-cast -I/usr/sfw/include    -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
In file included from /usr/include/unistd.h:18,
                  from mycrypt.c:6:
/usr/include/sys/feature_tests.h:336:2: #error "Compiler or options  
invalid; UNIX 03 and POSIX.1-2001 applications      require the use  
of c99"
make[3]: *** [mycrypt.o] Error 1

I am using gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) to do  
the build.  It fails with just ./configure ; make

The only thing useful I found on Google was this:

http://www.mail-archive.com/openssl-dev@openssl.org/msg18884.html

Can anybody help?

Thank you,

Roger



More information about the dovecot mailing list