[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
OPENLDAP installation error
Hi
I am getting following error when tried to configure open ldap
Basically I just need OPEN LDAP client library and not directory server
I issued following command
$ ./configure --disable-slapd --disable-slurpd
and got this error message
configure:4505: error: C compiler cannot create executables
See `config.log' for more details.
I checked that cc and gcc are installed and in PATH
any idea how to solve?
Pleas help
below are some details from config.log
>>>>>>>>>>>>>>>>>>
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1616: checking build system type
configure:1634: result: sparc-sun-solaris2.10
configure:1642: checking host system type
configure:1656: result: sparc-sun-solaris2.10
configure:1664: checking target system type
configure:1678: result: sparc-sun-solaris2.10
configure:1707: checking for a BSD-compatible install
configure:1762: result: build/shtool install -c
configure:1773: checking whether build environment is sane
configure:1816: result: yes
configure:1881: checking for gawk
configure:1910: result: no
configure:1881: checking for mawk
configure:1910: result: no
configure:1881: checking for nawk
configure:1897: found /usr/bin/nawk
configure:1907: result: nawk
configure:1917: checking whether make sets $(MAKE)
configure:1937: result: yes
configure:2146: checking configure arguments
configure:3644: WARNING: slapd disabled, ignoring --enable-bdb argument
configure:3644: WARNING: slapd disabled, ignoring --enable-hdb argument
configure:3644: WARNING: slapd disabled, ignoring --enable-monitor argument
configure:3644: WARNING: slapd disabled, ignoring --enable-relay argument
configure:3680: WARNING: slapd disabled, ignoring --enable-seqmod argument
configure:3680: WARNING: slapd disabled, ignoring --enable-syncprov argument
configure:3748: result: done
configure:3917: checking for cc
configure:3933: found /usr/ucb/cc
configure:3943: result: cc
configure:3967: checking for ar
configure:3983: found /usr/ccs/bin/ar
configure:3993: result: ar
configure:4052: checking for style of include used by make
configure:4080: result: GNU
configure:4421: checking for C compiler version
configure:4424: cc --version </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:4427: $? = 1
configure:4429: cc -v </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:4432: $? = 1
configure:4434: cc -V </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:4437: $? = 1
configure:4460: checking for C compiler default output file name
configure:4463: cc conftest.c >&5
/usr/ucb/cc: language optional software package not installed
configure:4466: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define OPENLDAP_PACKAGE "OpenLDAP"
| #define OPENLDAP_VERSION "2.4.11"
| #define LDAP_VENDOR_VERSION 20411
| #define LDAP_VENDOR_VERSION_MAJOR 2
| #define LDAP_VENDOR_VERSION_MINOR 4
| #define LDAP_VENDOR_VERSION_PATCH 11
| #define HAVE_MKVERSION 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4505: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=sparc-sun-solaris2.10
ac_cv_build_alias=sparc-sun-solaris2.10
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=sparc-sun-solaris2.10
ac_cv_host_alias=sparc-sun-solaris2.10
ac_cv_prog_AR=ar
ac_cv_prog_AWK=nawk
ac_cv_prog_CC=cc
ac_cv_prog_make_make_set=yes
ac_cv_shtool=build/shtool
ac_cv_target=sparc-sun-solaris2.10
>>>>>>>>>>>
Thanks
Sujeet Vanage