[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4731) Build without modules fails
A fresh pull (as of 2 minutes ago) builds fine for me.
If the problem you're running into is that distclean left something from
your previous build, then you need to tell us what your previous build
invocation was as well.
I suggest you try building with a separate object directory, so that you
can just rm -rf the object tree when you want a fresh build. e.g.
mkdir head
cd head
cvs co ...
cd ..
mkdir obj
cd obj
../head/configure ...
make depend; make
Personally I have never used "make distclean" ...
michael@stroeder.com wrote:
> Full_Name: Michael Ströder
> Version: HEAD
> OS: SuSE Linux 10.1
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (83.124.30.198)
>
>
> I tried to build without modules (after make distclean):
>
> ./configure \
> --prefix=${PREFIX} \
> --enable-dynamic \
> --enable-modules=no \
> --enable-backends=yes \
> --enable-overlays=yes \
> --enable-cleartext \
> --enable-crypt=yes \
> --enable-debug=yes \
> --enable-kpasswd=yes \
> --enable-lmpasswd=yes \
> --enable-rewrite=yes \
> --enable-rlookups=yes \
> --enable-slapi=yes \
> --enable-slp=yes \
> --enable-spasswd=yes \
> --enable-wrappers=no \
> --enable-aci=yes \
> --with-cyrus-sasl=yes \
> --with-kerberos=yes \
> --with-readline=yes \
> --with-threads=yes \
> --with-tls=yes
>
>
> But build fails:
>
> cc -g -O0 -I../../../include -I../../../include -I.. -I./.. -I./../slapi
> -I/opt/bdb-4.5/include -I/opt/sasl/include -I/opt/heimdal/include -c version.c
> -o version.o
> ar ruv libback_monitor.a `echo init.lo search.lo compare.lo modify.lo bind.lo
> operational.lo cache.lo entry.lo backend.lo database.lo thread.lo conn.lo rww.lo
> log.lo operation.lo sent.lo listener.lo time.lo overlay.lo | sed 's/\.lo/.o/g'`
> version.o
> ar: creating libback_monitor.a
> ar: init.o: No such file or directory
> make[3]: *** [libback_monitor.a] Error 1
> make[3]: Leaving directory
> `/home/michael/src/openldap-HEAD/ldap/servers/slapd/back-monitor'
> make[2]: *** [.backend] Error 1
> make[2]: Leaving directory `/home/michael/src/openldap-HEAD/ldap/servers/slapd'
> make[1]: *** [all-common] Error 1
> make[1]: Leaving directory `/home/michael/src/openldap-HEAD/ldap/servers'
> make: *** [all-common] Error 1
>
>
>
>
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/