dear michael, i did check the config.log and this is what it says.......... ## ----------- ## ## Core tests. ## ## ----------- ##
configure:1615: checking build system type configure:1633: result: i686-pc-linux-gnulibc1 configure:1641: checking host system type configure:1655: result: i686-pc-linux-gnulibc1 configure:1663: checking target system type configure:1677: result: i686-pc-linux-gnulibc1 configure:1706: checking for a BSD-compatible install configure:1761: result: /usr/bin/install -c configure:1772: checking whether build environment is sane configure:1815: result: yes configure:1880: checking for gawk configure:1909: result: no configure:1880: checking for mawk configure:1896: found /usr/bin/mawk configure:1906: result: mawk configure:1916: checking whether make sets $(MAKE) configure:1936: result: yes configure:2145: checking configure arguments configure:3722: result: done configure:3890: checking for cc configure:3906: found /usr/bin/cc configure:3916: result: cc configure:3940: checking for ar configure:3956: found /usr/bin/ar configure:3966: result: ar configure:4025: checking for style of include used by make configure:4053: result: GNU configure:4394: checking for C compiler version configure:4397: cc --version </dev/null >&5 cc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4400: $? = 0 configure:4402: cc -v </dev/null >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configure:4405: $? = 0 configure:4407: cc -V </dev/null >&5 cc: '-V' option must have argument configure:4410: $? = 1 configure:4433: checking for C compiler default output file name configure:4436: cc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:4439: $? = 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.7" | #define LDAP_VENDOR_VERSION 20407 | #define LDAP_VENDOR_VERSION_MAJOR 2 | #define LDAP_VENDOR_VERSION_MINOR 4 | #define LDAP_VENDOR_VERSION_PATCH 7 | #define HAVE_MKVERSION 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4478: error: C compiler cannot create executables See `config.log' for more details.
what should have been wrong...........................
On Thu, Feb 14, 2008 at 5:57 PM, Michael Ströder michael@stroeder.com wrote:
naveen mudunuru wrote:
dear all, i'm a newbie . when i was trying to configure OpenLDAP. i got an error saying.
the c compiler is unable to create executables .
Please check whether the configure script can find the gcc executable. Search file config.log for gcc after running configure.
Ciao, Michael.