I'm trying to install OpenLDAP. Has anyone done this on Etch yet? I have downloaded the software and extracted the files as per the Admin Guide and I'm stuck on one of the steps. I think based on the output in the log files that this has to do with the default setup under Debian Etch so thought I should post the question here first.
After downloading the software you are supposed to run the script Configure. http://www.openldap.org/doc/admin23/install.html#Running%20configure when I ran ./configure the first time the output was; debian:/etc/openldap/openldap-2.3.35# ./configure Configuring OpenLDAP 2.3.35-Release ... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking configure arguments... done checking for cc... no checking for gcc... no configure: error: Unable to locate cc(1) or suitable replacement. Check PATH or set CC. So after some help from the list I did; export CC=/usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 and the ran the ./configure again and the output changed to; debian:/etc/openldap/openldap-2.3.35# ./configure Configuring OpenLDAP 2.3.35-Release ... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk 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... /usr/lib/gcc/i486-linux-gnu/4.1.2 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. So it recognised c1 as a C Compiler, but still couldn't do the job. Looking in the 'config.log' file down toward the middle I can see the following lines; configure:4633: checking whether the C compiler works configure:4639: ./conftest.s ./configure: line 4640: ./conftest.s: Permission denied configure:4642: $? = 126 configure:4651: error: cannot run C compiled programs. Which makes it looks like a PERMISSIONS issue? Can anyone help with what I might do to get this to work? The following is the full output of the 'config.log' file. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = debian uname -m = i686 uname -r = 2.6.18-4-686 uname -s = Linux uname -v = #1 SMP Wed Apr 18 09:55:10 UTC 2007 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/bin/X11 PATH: /usr/lib/gcc/i486-linux-gnu/4.1.2 PATH: /etc/openldap/openldap-2.3.35 ## ----------- ## ## Core tests. ## ## ----------- ## configure:1616: checking build system type configure:1634: result: i686-pc-linux-gnulibc1 configure:1642: checking host system type configure:1656: result: i686-pc-linux-gnulibc1 configure:1664: checking target system type configure:1678: result: i686-pc-linux-gnulibc1 configure:1707: checking for a BSD-compatible install configure:1762: result: /usr/bin/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:1897: found /usr/bin/mawk configure:1907: result: mawk configure:1917: checking whether make sets $(MAKE) configure:1937: result: yes configure:2146: checking configure arguments configure:3867: result: done configure:4083: checking for ar configure:4099: found /usr/bin/ar configure:4109: result: ar configure:4168: checking for style of include used by make configure:4196: result: GNU configure:4267: checking for gcc configure:4293: result: /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 configure:4537: checking for C compiler version configure:4540: /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 --version </dev/null >&5 GNU C version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) (i486-linux-gnu) compiled by GNU C version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31993 configure:4543: $? = 0 configure:4545: /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 -v </dev/null >&5 ignoring nonexistent directory "/usr/local/include/i486-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/i486-linux-gnu/4.1.2/include" ignoring nonexistent directory "/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/include" ignoring nonexistent directory "/usr/include/i486-linux-gnu" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/include End of search list. Execution times (seconds) TOTAL : 0.02 0.01 0.11 791 kB configure:4548: $? = 0 configure:4550: /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 -V </dev/null >&5 cc1: error: unrecognized command line option "-V" Execution times (seconds) TOTAL : 0.00 0.00 0.00 0 kB configure:4553: $? = 1 configure:4576: checking for C compiler default output file name configure:4579: /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 conftest.c >&5 main Execution times (seconds) parser : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.03 (25%) wall 24 kB ( 3%) ggc tree CFG construction : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 8%) wall 1 kB ( 0%) ggc expand : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.02 (17%) wall 5 kB ( 1%) ggc global alloc : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 8%) wall 0 kB ( 0%) ggc final : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.03 (25%) wall 0 kB ( 0%) ggc TOTAL : 0.03 0.00 0.12 803 kB configure:4582: $? = 0 configure:4628: result: conftest.s configure:4633: checking whether the C compiler works configure:4639: ./conftest.s ./configure: line 4640: ./conftest.s: Permission denied configure:4642: $? = 126 configure:4651: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnulibc1 ac_cv_build_alias=i686-pc-linux-gnulibc1 ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 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_exeext=.s ac_cv_host=i686-pc-linux-gnulibc1 ac_cv_host_alias=i686-pc-linux-gnulibc1 ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AR=ar ac_cv_prog_AWK=mawk ac_cv_prog_ac_ct_CC=/usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 ac_cv_prog_make_make_set=yes ac_cv_shtool=build/shtool ac_cv_target=i686-pc-linux-gnulibc1 ac_cv_target_alias=i686-pc-linux-gnulibc1 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /etc/openldap/openldap-2.3.35/build/missing --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /etc/openldap/openldap-2.3.35/build/missing --run tar' AR='ar' AS='' AUTH_LIBS='' AUTOCONF='${SHELL} /etc/openldap/openldap-2.3.35/build/missing --run autoconf' AUTOHEADER='${SHELL} /etc/openldap/openldap-2.3.35/build/missing --run autoheader' AUTOMAKE='${SHELL} /etc/openldap/openldap-2.3.35/build/missing --run automake-1.9' AWK='mawk' BUILD_ACCESSLOG='no' BUILD_AUDITLOG='no' BUILD_BDB='no' BUILD_DENYOP='no' BUILD_DNSSRV='no' BUILD_DYNGROUP='no' BUILD_DYNLIST='no' BUILD_HDB='no' BUILD_LASTMOD='no' BUILD_LDAP='no' BUILD_LDBM='no' BUILD_LIBS_DYNAMIC='' BUILD_META='no' BUILD_MONITOR='no' BUILD_NULL='no' BUILD_PASSWD='no' BUILD_PERL='no' BUILD_PPOLICY='no' BUILD_PROXYCACHE='no' BUILD_REFINT='no' BUILD_RELAY='no' BUILD_RETCODE='no' BUILD_RWM='no' BUILD_SHELL='no' BUILD_SLAPD='no' BUILD_SLAPI='no' BUILD_SLURPD='no' BUILD_SQL='no' BUILD_SYNCPROV='no' BUILD_THREAD='no' BUILD_TRANSLUCENT='no' BUILD_UNIQUE='no' BUILD_VALSORT='no' CC='/usr/lib/gcc/i486-linux-gnu/4.1.2/cc1' CCDEPMODE='' CFLAGS='' CPP='' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' KRB4_LIBS='' KRB5_LIBS='' LDAP_LIBS='' LDBM_LIBS='' LDFLAGS='' LIBOBJS='' LIBS='' LIBSLAPI='' LIBSLAPITOOLS='' LIBSRCS='' LIBTOOL='' LN_S='' LTHREAD_LIBS='' LTLIBOBJS='' LTSTATIC='' LUTIL_LIBS='' MAKEINFO='${SHELL} /etc/openldap/openldap-2.3.35/build/missing --run makeinfo' MODULES_LIBS='' MOD_PERL_LDFLAGS='' OBJDUMP='' OBJEXT='' OL_MKDEP='' OL_MKDEP_FLAGS='' OPENLDAP_LIBRELEASE='2.3' OPENLDAP_LIBVERSION='2:23:2' OPENLDAP_RELEASE_DATE='2007/04/09' PACKAGE='OpenLDAP' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PERLBIN='' PERL_CPPFLAGS='' PLAT='' RANLIB='' SASL_LIBS='' SET_MAKE='' SHELL='/bin/sh' SLAPD_DYNAMIC_BACKENDS='' SLAPD_DYNAMIC_OVERLAYS='' SLAPD_GMP_LIBS='' SLAPD_LIBS='' SLAPD_MODULES_CPPFLAGS='' SLAPD_MODULES_LDFLAGS='' SLAPD_NO_STATIC='' SLAPD_PERL_LDFLAGS='' SLAPD_SLAPI_DEPEND='' SLAPD_SLP_LIBS='' SLAPD_SQL_INCLUDES='' SLAPD_SQL_LDFLAGS='' SLAPD_SQL_LIBS='' SLAPD_STATIC_BACKENDS='back-ldif' SLAPD_STATIC_OVERLAYS='' SLAPI_LIBS='' SLURPD_LIBS='' STRIP='' TLS_LIBS='' VERSION='2.3.35' WITH_ACI_ENABLED='' WITH_MODULES_ENABLED='' WITH_SASL='' WITH_TLS='' WRAP_LIBS='' ac_ct_AR='' ac_ct_AS='' ac_ct_CC='/usr/lib/gcc/i486-linux-gnu/4.1.2/cc1' ac_ct_DLLTOOL='' ac_ct_OBJDUMP='' ac_ct_RANLIB='' ac_ct_STRIP='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnulibc1' build_alias='' build_cpu='i686' build_os='linux-gnulibc1' build_vendor='pc' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnulibc1' host_alias='' host_cpu='i686' host_os='linux-gnulibc1' host_vendor='pc' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/etc/openldap/openldap-2.3.35/build/install-sh' ldap_subdir='/openldap' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnulibc1' target_alias='' target_cpu='i686' target_os='linux-gnulibc1' target_vendor='pc' top_builddir='/etc/openldap/openldap-2.3.35' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_MKVERSION 1 #define LDAP_VENDOR_VERSION 20335 #define LDAP_VENDOR_VERSION_MAJOR 2 #define LDAP_VENDOR_VERSION_MINOR 3 #define LDAP_VENDOR_VERSION_PATCH 35 #define OPENLDAP_PACKAGE "OpenLDAP" #define OPENLDAP_VERSION "2.3.35" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 1 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 2007.05.03 2:11 PM -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]