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

Re: Building OpenLDAP



Hi,

I found my error.
The values of CPPFLAGS and LDFLAGS must be defined in one line.
But now I get the error

make: getcwd:no such file or directory

when running make depend.
Any idea?

Best Regards

anis
----- Original Message ----- 
From: "anis" <anbenham@web.de>
To: <openldap-software@OpenLDAP.org>
Sent: Tuesday, August 10, 2004 10:53 AM
Subject: Building OpenLDAP


Hi ,

I have built LDAP in this way:

############################################################################
########
#Build Berkeley

cd /usr/exchange/db-4.2.52.NC/build_unix
../dist/configure
make
make install

#Build Cyrus

cd /usr/local/dev/re/openldapsetup/ext/cyrus-sasl-2.1.19

./configure --disable-sample --without-dblib --without-pam --without-des --d
isable-des --with-saslauthd=/var/run --disable-checkapop --disable-cram --di
sable-digest --disable-otp --disable-anon --enable-plain --enable-login --en
able-gssapi=/usr/local --with-plugindir=/usr/local/lib/sasl2

make
make install
ln -s /usr/local/lib/sasl2 /usr/lib/sasl2


#OpenLDAP

cd /usr/local/dev/re/openldapsetup/
cd /usr/local/dev/re/openldapsetup/2215/openldap-2.2.15
env
LD_RUN_PATH="/usr/local/BerkeleyDB.4.2/lib:/usr/lib/sasl2"
\
LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.2/lib:/usr/lib/sasl2"
\
CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include
-I/usr/include/sasl" \
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib
-L/usr/lib/sasl2" \
./configure \
--prefix=/usr/local/dev/re/openldap2215 \
--libexecdir=/usr/local/dev/re/openldap2215/sbin \
--sysconfdir=/usr/local/dev/re/openldap2215/etc \
--localstatedir=/usr/local/dev/re/openldap2215/var \
--mandir=/usr/local/dev/re/openldap2215/man \
--enable-syslog \
--disable-ipv6 \
--with-tls \
--enable-slapd \
--enable-cleartext \
--enable-crypt \
--enable-spasswd \
--enable-bdb \
--enable-ldbm \
--enable-monitor \
--enable-slurpd \
--with-cyrus-sasl

#########################################################################

In the output of configure Iget however:
creating Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating doc/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating doc/man/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating doc/man/man1/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating doc/man/man3/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating doc/man/man5/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating doc/man/man8/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating clients/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating clients/tools/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating include/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating libraries/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating libraries/liblber/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating libraries/libldap/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating libraries/libldap_r/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating libraries/liblunicode/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating libraries/liblutil/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating libraries/librewrite/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-bdb/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-dnssrv/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-hdb/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-ldap/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-ldbm/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-meta/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-monitor/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-null/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-passwd/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-perl/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-shell/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/back-sql/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/shell-backends/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/slapi/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slapd/overlays/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating servers/slurpd/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating tests/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating tests/run
sed: file conftest.s1 line 5: Unterminated `s' command
creating tests/progs/Makefile
sed: file conftest.s1 line 5: Unterminated `s' command
creating include/portable.h
include/portable.h is unchanged
creating include/ldap_features.h
include/ldap_features.h is unchanged
creating include/lber_types.h
include/lber_types.h is unchanged
Please run "make depend" to build dependencies


What´s wrong?
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192