From: David Kassa (dave at rgbworld dot com)
Date: Tue Mar 23 2004 - 20:44:07 EST
This is a similar problem to one posted a few days ago, but I deleted
the post and no usable solution was found for my OS. The only
suggestion given was to use a rpm for RH-9. This is obviously not an
option for me.
I'm trying to compile cyrus-sasl 2.1.18 on Mac OS 10.3.3. I configured
it with the following options
./configure --enable-anon --enable-plain --enable-login --disable-krb4
--disable-otp --disable-cram --disable-digest
--with-mysql=/usr/local/mysql/lib/mysql --without-pam
--without-saslauthd --without-pwcheck --with-dblib=berkeley
--with-bdb-libdir=/usr/local/bdb/lib
--with-bdb-incdir=/usr/local/bdb/include
--with-openssl=/usr/include/openssl
--with-plugindir=/usr/local/lib/sasl2
(Quick Question on openssl, should I be using the /usr/include/openssl
OR /usr/local/ssl and why? I've seen the first here and the latter on
a tutorial)
But when I do a make I get the following error:
make all-recursive
Making all in include
make[2]: Nothing to be done for `all'.
Making all in sasldb
ar cru .libs/libsasldb.a db_berkeley.o allockey.o
Making all in plugins
make[2]: Nothing to be done for `all'.
Making all in lib
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../plugins -I../include
-I/usr/local/mysql/include/mysql -I/usr/local/bdb/include
-I/usr/local/ssl/include -I/usr/local/mysql/lib/mysql -Wall -W -g -O2
-MT checkpw.lo -MD -MP -MF ".deps/checkpw.Tpo" \
-c -o checkpw.lo `test -f 'checkpw.c' || echo './'`checkpw.c; \
then mv ".deps/checkpw.Tpo" ".deps/checkpw.Plo"; \
else rm -f ".deps/checkpw.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../plugins -I../include
-I/usr/local/mysql/include/mysql -I/usr/local/bdb/include
-I/usr/local/ssl/include -I/usr/local/mysql/lib/mysql -Wall -W -g -O2
-MT checkpw.lo -MD -MP -MF .deps/checkpw.Tpo -c checkpw.c -fno-common
-DPIC -o checkpw.lo
checkpw.c: In function `write_wait':
checkpw.c:325: error: `errno' undeclared (first use in this function)
checkpw.c:325: error: (Each undeclared identifier is reported only once
checkpw.c:325: error: for each function it appears in.)
checkpw.c:325: error: `ETIMEDOUT' undeclared (first use in this
function)
checkpw.c:334: error: `EINTR' undeclared (first use in this function)
checkpw.c:334: error: `EAGAIN' undeclared (first use in this function)
checkpw.c: In function `retry_writev':
checkpw.c:380: error: `errno' undeclared (first use in this function)
checkpw.c:380: error: `EINVAL' undeclared (first use in this function)
checkpw.c:384: error: `EINTR' undeclared (first use in this function)
checkpw.c: In function `read_wait':
checkpw.c:487: error: `errno' undeclared (first use in this function)
checkpw.c:487: error: `ETIMEDOUT' undeclared (first use in this
function)
checkpw.c:496: error: `EINTR' undeclared (first use in this function)
checkpw.c:496: error: `EAGAIN' undeclared (first use in this function)
checkpw.c: In function `retry_read':
checkpw.c:525: error: `errno' undeclared (first use in this function)
checkpw.c:525: error: `EINTR' undeclared (first use in this function)
checkpw.c:525: error: `EAGAIN' undeclared (first use in this function)
checkpw.c: In function `authdaemon_connect':
checkpw.c:784: error: `errno' undeclared (first use in this function)
make[2]: *** [checkpw.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any help would be appreciated and thanks in advance!
David M. Kassa
-- OS X: Because making UNIX user friendly was easier than fixing Windows.
|
|
|