[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: ldap installation
ok i tried without the trailing slash and semi colons
checking whether the C compiler (cc -I/usr/include /usr/kerberos -L/usr/lib
/usr/
kerberos) works... no
configure: error: installation or configuration problem: C compiler cannot
create
executables.
CPPFLAGS="-I/usr/include" LDFLAGS="-L/u
sr/lib"
./configure --prefix=/usr/local/etc/ldap --exec-prefix=/usr/local/etc/ldap
--sysconfdir=/usr/local/etc/ldap --enable-slapd --enable-crypt --with-cyrus
-sasl
--enable-ldap --enable-spasswd --enable-kpasswd --with-tls --disable-clearte
xt --d
isable-rlookups --enable-sql --enable-debug --enable-syslog --enable-proctit
le --e
nable-cache --enable-referrals --enable-local --with-readline --with-threads
--ena
ble-multimaster --enable-phonetic --enable-wrappers --enable-dynamic --enabl
e-dnss
rv --enable-ldap --enable-ldbm --enable-passwd --enable-shell --enable-sql -
-enabl
e-slurpd --enable-shared --enable-monitor --with-kerberos=yes
this gave me
checking for krb-archaeology.h... no
configure: error: Kerberos detection failed
i am trying ldap version 2.1.8
-----Original Message-----
From: Tony Earnshaw [mailto:tonni@billy.demon.nl]
Sent: Monday, November 25, 2002 8:53 PM
To: Dan Rossi
Cc: openldap-software@OpenLDAP.org
Subject: RE: ldap installation
man, 2002-11-25 kl. 07:37 skrev Dan Rossi:
> ok i've tried a combination of different ways to prefix the include paths
> for both kerberos and berkley , bit silly should
> be --with-kerberos=/usr/kerberos
> CPPFLAGS="-I/usr/include; /usr/kerberos/" LDFLAGS="-L/usr/lib;
> /usr/kerberos/" ./configure
> i cant seem to add both include and lib paths in the same line , and there
> is no way of adding it to the makefile which is pretty standard ,any ideas
> why this is so different to any other linux package ??
This has nothing to do with "linux package", everything to do with gcc
and Unix/linux compilation.
Take out all the semi-colons! Take out the trailing slashes (not
necessary, but good practice). Write all the compile flags on one line,
or split them up with backslashes ('\' characters). Both work!
End off with:
./configure \
--with-kerberos=yes if you really want to, configure will choose to
compile ita own kerberos support, will not use not system libraries.
Best,
Tony
--
Tony Earnshaw
When all's said and done ...
there's nothing left to say or do.
e-post: tonni@billy.demon.nl
www: http://www.billy.demon.nl