[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problems compiling 2/27/2002 cvs



Does anyone have suggestions regarding this problem? While I would prefer to remain with the release branch, I recently realized that the level of support for Cyrus SASL and Kerberos in the current release branch is inadequate for our use.

While I would love to determine the problem in the following code, I am not skilled enough to begin tracking down how to solve this problem. Also, given that several individuals have mentioned a potentially new release based on the HEAD branch, I am anxious to ensure that it will work and compile properly in our environment.

Again, any advise/pointers/suggestions is greatly appreciated!

Tony

At 01:04 PM 02/27/2002 -0800, you wrote:
I have updated via cvs this morning, and attempted to compile. However,
the
compile dies with the following error:

cc -xO3 -xtarget=native -Xa -xdepend -I../../include
-I../../include   -I/usr/local/include -I/usr/local/BerkeleyDB/include
-I/usr/local/krb5/include -I/usr/local/ssl/include     -c -o oc.o oc.c
cc -xO3 -xtarget=native -Xa -xdepend -I../../include
-I../../include   -I/usr/local/include -I/usr/local/BerkeleyDB/include
-I/usr/local/krb5/include -I/usr/local/ssl/include     -c -o saslauthz.o
saslauthz.c
"saslauthz.c", line 491: non-constant initializer: op "U&"
cc: acomp failed for saslauthz.c
make[2]: *** [saslauthz.o] Error 2
make[2]: Leaving directory `/export/ldap/ldap-head/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/export/ldap/ldap-head/servers'
make: *** [all-common] Error 1
#

Does anyone have ideas on how to fix this problem? I am compiling using
Sun
Workshop 5.0 (latest patches applied) on Solaris 8 sparc. I have
downloaded
and installed BerkeleyDB 4.0.X, Cyrus SASL, the MIT Kerberos software and
am using the following configure:

CPPFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB/include
-I/usr/local/krb5/include -I/usr/local/ssl/include" \
LDFLAGS="-L/usr/local/lib -R/usr/local/lib -L/usr/local/BerkeleyDB/lib
-L/usr/local/krb5/lib -R/usr/local/krb5/lib -L/usr/local/ssl/lib" \
CFLAGS="-xO3 -xtarget=native -Xa -xdepend" \
./configure \
--disable-cleartext \
--enable-bdb \
--with-cyrus-sasl \
--with-tls \
--with-kerberos=k5only \
--enable-kpasswd \
--enable-aci \
--enable-lmpasswd \
--enable-syslog \
--enable-referrals

Any help appreciated!

Tony

******************************************************************************
* Anthony Brock
abrock@georgefox.edu *
* Director of Network Services                         George Fox
University *
******************************************************************************

****************************************************************************** * Anthony Brock abrock@georgefox.edu * * Director of Network Services George Fox University * ******************************************************************************