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

RE: Problem with ldapsearch



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Lara Adianto

> *** How I installed the server ***
> 1. Configuration
> $ LDFLAGS="-L/usr/local/lib -L/usr/local/lib/sasl2"
> CPPFLAGS="-I/usr/local/openssl/include/openssl
> -I/usr/local/include" LIBS="-lssl -lcrypt -lsasl2"
> ./configure --enable-debug --disable-ipv6
> --with-cyrus-sasl --without-kerberos --with-tls
> --enable-crypt --enable-passwd --enable-ldbm
> --enable-wrappers --enable-x-compile
> --with-yielding_select=manual
>
> Here, I'm not sure that it's correct to enable cross
> compiling. The reason I did so was because when i ran
> configure without it, it would fail and prompt me the
> following messages:
> $configure: warning: programs compiled here do not run
> here
> configure: error: if cross compiling, add
> --enable-x-compile

Since you are not cross-compiling, this indicates a problem with your build
environment. Rather than kludge your away around it like this, you should
instead have looked at the config.log file to see what it was complaining
about, and fix your build environment.

Until you get a clean run of configure, there is no reason to expect your
software to function correctly.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support