Problem building Cyrus SASL 2.1.17
Mike O'Rourke
mjoop at curia.op.org
Fri Feb 13 09:51:23 EST 2004
>>> Nikola Milutinovic <Nikola.Milutinovic at ev.co.yu> 02/13/04 02:15pm
>>>
Hi all.
I must say I'm puzzled. This is the first time I run into a problem
like this
with SASL.
OS: Tru64 UNIX 4.0D
CC: DEC CC + latest set of GNU tools (make, automake, autoconf,...)
Configure options were:
./configure
--prefix=/usr/opt/Cyrus-SASL-2.1.17
--localstatedir=/var/opt/Cyrus-SASL-2.1.17
--enable-static=yes
--enable-staticdlopen
--enable-java
--disable-krb4
--enable-gssapi=/usr
--enable-login
--enable-ntlm
--enable-sql
--with-javabase=/usr/opt/java130
--with-dbpath=/var/opt/Cyrus-SASL-2.1.17/db/sasldb2
--with-saslauthd=/var/opt/Cyrus-SASL-2.1.17/socket
--with-ipctype=unix
--with-openssl=/usr
--with-gss_impl=heimdal
--with-pgsql=/usr
--with-plugindir=/usr/opt/Cyrus-SASL-2.1.17/plugins
--with-sfio=/usr/opt/SfIO-2002
Configure goes well (except for tieing up to Berkeley DB 4.1, instead
of 4.2,
but I'll sort it out later), recognizing all it should. Running "make"
(tried
both GNU and DEC), fails shortly, with an error:
mv -f .libs/plugin_common.lo plugin_common.o
(cd . && ln -s plugin_common.o plugin_common.lo)
rm -f getaddrinfo.lo getnameinfo.lo snprintf.lo
cd ../lib; gmake getaddrinfo.lo getnameinfo.lo snprintf.lo
gmake[3]: Entering directory
`/home/r/root/build/cyrus-sasl-2.1.17/lib'
gmake[3]: *** No rule to make target `getaddrinfo.lo'. Stop.
gmake[3]: Leaving directory `/home/r/root/build/cyrus-sasl-2.1.17/lib'
gmake[2]: *** [getaddrinfo.lo] Error 2
gmake[2]: Leaving directory
`/home/r/root/build/cyrus-sasl-2.1.17/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/r/root/build/cyrus-sasl-2.1.17'
gmake: *** [all] Error 2
If I understand the course of action here:
1. "make" goes into "./plugins" dir
2. then it tries to satisfy "COMPAT_OBJS = getaddrinfo.lo ..."
3. for that it does "cd ../lib; $(MAKE) $(COMPAT_OBJS)"
4. it fails, not finding source files for build
Now, the strange things:
1. "getaddrinfo.c" and "getnameinfo.c" are in "./saslauthd/", not in
"./lib/"
2. there is no trace of "snprintf.c" ANYWHERE in the package.
What is wrong with this picture?
Nix.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Hi Nix,
What you are seeing was the behavior at least through 2.1.15; it seems
strange that it entered also in your 2.1.17. I had to abandon Tru64 due
to upgrade costs, so I don't have that OS to test anymore. I do, however
notice that between 2.1.12 and 2.1.17 on my SuSE AXP that the
COMPAT_OBJS in the plugins/Makefile is empty on 2.1.17, while on 2.1.12,
it contains the get*info objects. As a quick and dirty fix, you might
try making the COMPAT_OBJS line read:
COMPAT_OBJS =
in plugins/Makefile. It seems that the changes necessary in the
configure script were not made for the tru64 OS, but one of the experts
would need to point you to the necessary sections to change. No telling
if this is the only thing that did not get changed!
Mike
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list