In a previous post, I explained that I had
problems getting a precompiled cyrus-sasl to work for solaris. I though it would be good to try compiling
a newer version of cyrus-sasl, to see if that would work better. Unfortunately, It didn’t go that
well… cyrus-sasl reports errors during compilation on Solaris 10 (sparc)
then I’m trying to compile it with the included gcc in solaris (below the
gcc version output). solaris10 # gcc -v Configured with:
/gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld
--without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3
(csl-sol210-3_4-branch+sol_rpath) And the error compilation stops at, is the
following: (both Solaris make and GNU make fails…) gmake[3]: Entering directory
`/var/tmp/cyrus-sasl-2.1.22/saslauthd' if gcc -DHAVE_CONFIG_H
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/usr/etc/saslauthd.conf\" -I. - -c -o auth_getpwent.o `test -f
'auth_getpwent.c' || echo './'`auth_getpwent.c; \ then mv ".deps/auth_getpwent.Tpo"
".deps/auth_getpwent.Po"; \ else rm -f
".deps/auth_getpwent.Tpo"; exit 1; \ fi In file included from auth_getpwent.c:53: /usr/include/crypt.h:36: error: syntax
error before '(' token /usr/include/crypt.h:36: error: syntax
error before "const" gmake[3]: *** [auth_getpwent.o] Error 1 gmake[3]: Leaving directory
`/var/tmp/cyrus-sasl-2.1.22/saslauthd' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory
`/var/tmp/cyrus-sasl-2.1.22/saslauthd' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory
`/var/tmp/cyrus-sasl-2.1.22' gmake: *** [all] Error 2 Any clues? TIA, /P |