Subject: sasl install on mac os x

From: dj van <[email-masked]>
Date: Fri, 14 Jun 2002 22:32:40 +0200

Version cyrus-sasl-2.1.4

i installt the dlcompat-20010505

and then i made ./configure

creating cache ./config.cache
checking host system type... powerpc-apple-darwin5.5
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... gcc
...........
..........
..........
updating cache ./config.cache
loading cache ./config.cache
checking to build static libsasl2.a... no
checking DB path to use... /etc/sasldb2
checking for db.h... yes
checking for db_create in -ldb-4.0... no
checking for db_create in -ldb4.0... no
checking for db_create in -ldb-4... no
checking for db_create in -ldb-3.3... no
checking for db_create in -ldb3.3... no
checking for db_create in -ldb-3.2... no
checking for db_create in -ldb3.2... no              <<<----- is that 
normel     (no dbs) or shut i installing somthing ???
checking for db_create in -ldb-3.1... no
checking for db_create in -ldb3.1... no
checking for db_create in -ldb-3... no
checking for db_create in -ldb3... no
checking for db_create in -ldb... no
checking for db_open in -ldb... no
checking for ndbm.h... yes
checking for dbm_open in -lndbm... no
checking for dbm_open... yes
checking DB library to use... ndbm
..............
..............
..............
checking whether you have ss_family in struct sockaddr_storage... 
(cached) yes
checking whether you have sa_len in struct sockaddr... (cached) yes
checking for socklen_t... (cached) no
updating cache .././config.cache
creating ./config.status
creating Makefile
creating saslauthd.h
Configuration Complete. Type 'make' to build.

root# make
make  all-recursive
Making all in include
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include   -Wall -W -g 
-O2 -c makemd5.c
/bin/sh ../libtool --mode=link gcc  -Wall -W -g -O2 -L/usr/local/lib  -o 
makemd5  makemd5.o
mkdir .libs
gcc -Wall -W -g -O2 -L/usr/local/lib -o makemd5 makemd5.o
rm -f md5global.h
./makemd5 md5global.h
Making all in sasldb
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -I/usr/local/include   
-Wall -W -g -O2 -c ../sasldb/db_ndbm.c
../sasldb/db_ndbm.c:342: syntax error, found `__attribute__'
../sasldb/db_ndbm.c:342: illegal function definition, found `)'
../sasldb/db_ndbm.c:343: illegal external declaration, missing `;' 
after `,'
../sasldb/db_ndbm.c:344: illegal external declaration, missing `;' 
after `const'
../sasldb/db_ndbm.c:344: illegal external declaration, missing `;' 
after `size_t'
../sasldb/db_ndbm.c:349: illegal external declaration, found `if'
../sasldb/db_ndbm.c:350: illegal method selector, found `7'
../sasldb/db_ndbm.c:350: illegal method definition, missing `{' after `7'
../sasldb/db_ndbm.c:352: illegal external declaration, found `if'
../sasldb/db_ndbm.c:363: illegal external declaration, missing `;' 
after `unsigned'
../sasldb/db_ndbm.c:364: illegal method selector, found `3'
../sasldb/db_ndbm.c:364: illegal method definition, missing `{' after `3'
../sasldb/db_ndbm.c:366: syntax error, found `->'
../sasldb/db_ndbm.c:366: illegal function definition, found `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode

i get sam error like this on db_ndbm.c, db_ndbm.c, getnameinfo.c, 
cram.c, digestmd5.c, gssapi.c

and it stops then by

Making all in plugins
/bin/sh ../libtool --mode=link gcc  -Wall -W -g -O2 -L/usr/local/lib  
-module -export-dynamic -rpath /usr/lib/sasl2 -o libgssapiv2.la  
-version-info 2:4:0 gssapi.lo gssapiv2_init.lo plugin_common.lo 
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err   getnameinfo.lo
rm -fr .libs/libgssapiv2.la .libs/libgssapiv2.* .libs/libgssapiv2.*
gcc -bundle -undefined error -o .libs/libgssapiv2.2.0.4.so  gssapi.lo 
gssapiv2_init.lo plugin_common.lo getnameinfo.lo  -L/usr/local/lib 
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lc  -install_name  
/usr/lib/sasl2/libgssapiv2.2.so -compatibility_version 3 
-current_version 3.4
/usr/bin/ld: gssapi.lo illegal reference to symbol: 
_GSS_C_NT_HOSTBASED_SERVICE defined in indirectly referenced dynamic 
library 
/System/Library/Frameworks/Kerberos.framework/Versions/A/Frameworks/GSS.framework/
Versions/A/GSS
make[2]: *** [libgssapiv2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

it dose not work

please help me i areredy tryed to find enithing in google or on the 
mailng list for my problem but i did not  enithing

sorry for my bad english i hope you onderstand wot i mean

bye

SILVAN
and thanks for helping me