Attempting to upgrade to OpenLDAP 2.4.38


Receiving the following output :


Configuring OpenLDAP 2.4.38-Release ...

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking target system type... x86_64-unknown-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking configure arguments... done

checking for ar... ar

checking for style of include used by make... GNU

checking for gcc... gcc

checking whether the C compiler works... no

configure: error: in `/opt/rpmbuild/BUILD/openldap-2.4.38':

configure: error: C compiler cannot create executables

See `config.log' for more details.


Using the following options with ./configure:

$ ./configure --disable-dependency-tracking --enable-ldap --enable-debug --prefix=/usr/local/openldap --libdir=/usr/local/openldap/lib64 --with-tls --with-cyrus-sasl --enable-spasswd --enable-overlays --enable-modules --enable-dynamic=no --enable-slapi --enable-meta --enable-crypt


In the config.log seeing the following:

configure:5744: $? = 127

configure:5764: checking whether the C compiler works

configure:5786: gcc -DOPENLDAP_FD_SETSIZE=4096 -O2 -g -I/usr/local/berkeleydb/include -I/usr/kerberos/include -L/usr/local/berkeleydb/lib64 conftest.c -ldb -ldb-4.6 -ldb46 -ldb-4 -ldb-4-6 -lgcc_s >&5

./configure: line 5788: gcc: command not found

configure:5790: $? = 127

configure:5828: result: no

configure: failed program was:

| /* confdefs.h */

| #define PACKAGE_NAME ""

| #define PACKAGE_TARNAME ""

| #define PACKAGE_VERSION ""

| #define PACKAGE_STRING ""


| #define PACKAGE_URL ""


| #define OPENLDAP_VERSION "2.4.38"

| #define LDAP_VENDOR_VERSION 20438




| #define HAVE_MKVERSION 1

| /* end confdefs.h.  */

configure:5833: error: in `/opt/rpmbuild/BUILD/openldap-2.4.38':

configure:5837: error: C compiler cannot create executables

See `config.log' for more details.



Note: gcc is installed (/usr/bin/gcc) and is version 4.4.7                                                                                                                                                                                                                                                                       



John D. Borresen (Dave)

Linux/Unix Systems Administrator

MIT  Lincoln Laboratory

Surveillance Systems Group

244 Wood St

Lexington, MA  02420

Ph: (781) 981-1609