Re: [squid-users] error on compiling

From: s f <sf@dont-contact.us>
Date: Sat, 26 Jan 2008 22:12:34 +0545

Before compiling do

sudo apt-get install build-essential

On 1/26/08, Adrian Chadd <adrian@creative.net.au> wrote:
> On Fri, Jan 25, 2008, Rafael Donggon wrote:
> > Below is the config.log error message upon compiling..
> > I am using Ubuntu 7.10 Desktop Ed.
>
> Make sure you install the meta-package "build-essential", and
> not individual packages.
>
> It sounds like you're missing part of the development libraries.
>
>
>
> Adrian
>
> >
> > Please Help.
> >
> > Thank you.
> >
> > config.log error:
> > This file contains any messages produced by compilers
> > while
> > running configure, to aid debugging if configure makes
> > a mistake.
> >
> > It was created by Squid Web Proxy configure
> > 2.6.STABLE18, which was
> > generated by GNU Autoconf 2.61. Invocation command
> > line was
> >
> > $ ./configure
> >
> > ## --------- ##
> > ## Platform. ##
> > ## --------- ##
> >
> > hostname = ubuntu
> > uname -m = i686
> > uname -r = 2.6.22-14-generic
> > uname -s = Linux
> > uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007
> >
> > /usr/bin/uname -p = unknown
> > /bin/uname -X = unknown
> >
> > /bin/arch = unknown
> > /usr/bin/arch -k = unknown
> > /usr/convex/getsysinfo = unknown
> > /usr/bin/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/X11R6/bin
> >
> >
> > ## ----------- ##
> > ## Core tests. ##
> > ## ----------- ##
> >
> > configure:2080: checking for a BSD-compatible install
> > configure:2136: result: /usr/bin/install -c
> > configure:2147: checking whether build environment is
> > sane
> > configure:2190: result: yes
> > configure:2255: checking for gawk
> > configure:2285: result: no
> > configure:2255: checking for mawk
> > configure:2271: found /usr/bin/mawk
> > configure:2282: result: mawk
> > configure:2293: checking whether make sets $(MAKE)
> > configure:2314: result: yes
> > configure:2499: checking whether to enable
> > maintainer-specific portions of Makefiles
> > configure:2508: result: no
> > configure:2579: checking for gcc
> > configure:2595: found /usr/bin/gcc
> > configure:2606: result: gcc
> > configure:2844: checking for C compiler version
> > configure:2851: gcc --version >&5
> > gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu
> > 4.1.2-16ubuntu2)
> > 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:2854: $? = 0
> > configure:2861: gcc -v >&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
> > --with-gxx-include-dir=/usr/include/c++/4.1.3
> > --program-suffix=-4.1 --enable-__cxa_atexit
> > --enable-clocale=gnu --enable-libstdcxx-debug
> > --enable-mpfr --enable-checking=release i486-linux-gnu
> > Thread model: posix
> > gcc version 4.1.3 20070929 (prerelease) (Ubuntu
> > 4.1.2-16ubuntu2)
> > configure:2864: $? = 0
> > configure:2871: gcc -V >&5
> > gcc: '-V' option must have argument
> > configure:2874: $? = 1
> > configure:2897: checking for C compiler default output
> > file name
> > configure:2924: gcc -g conftest.c >&5
> > /usr/bin/ld: crt1.o: No such file: No such file or
> > directory
> > collect2: ld returned 1 exit status
> > configure:2927: $? = 1
> > configure:2965: result:
> > configure: failed program was:
> > | /* confdefs.h. */
> > | #define PACKAGE_NAME "Squid Web Proxy"
> > | #define PACKAGE_TARNAME "squid"
> > | #define PACKAGE_VERSION "2.6.STABLE18"
> > | #define PACKAGE_STRING "Squid Web Proxy
> > 2.6.STABLE18"
> > | #define PACKAGE_BUGREPORT
> > "http://www.squid-cache.org/bugs/"
> > | #define PACKAGE "squid"
> > | #define VERSION "2.6.STABLE18"
> > | /* end confdefs.h. */
> > |
> > | int
> > | main ()
> > | {
> > |
> > | ;
> > | return 0;
> > | }
> > configure:2972: error: C compiler cannot create
> > executables
> > See `config.log' for more details.
> >
> > ## ---------------- ##
> > ## Cache variables. ##
> > ## ---------------- ##
> >
> > 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_LIBS_set=
> > ac_cv_env_LIBS_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_path_install='/usr/bin/install -c'
> > ac_cv_prog_AWK=mawk
> > ac_cv_prog_ac_ct_CC=gcc
> > ac_cv_prog_make_make_set=yes
> >
> > ## ----------------- ##
> > ## Output variables. ##
> > ## ----------------- ##
> >
> > ACLOCAL='${SHELL}
> > /tmp/squid-2.6.STABLE18/cfgaux/missing --run
> > aclocal-1.9'
> > ALLOCA=''
> > AMDEPBACKSLASH=''
> > AMDEP_FALSE=''
> > AMDEP_TRUE=''
> > AMTAR='${SHELL} /tmp/squid-2.6.STABLE18/cfgaux/missing
> > --run tar'
> > AR=''
> > AR_R=''
> > AUTH_LIBS=''
> > AUTH_MODULES=''
> > AUTH_OBJS=''
> > AUTOCONF='${SHELL}
> > /tmp/squid-2.6.STABLE18/cfgaux/missing --run autoconf'
> > AUTOHEADER='${SHELL}
> > /tmp/squid-2.6.STABLE18/cfgaux/missing --run
> > autoheader'
> > AUTOMAKE='${SHELL}
> > /tmp/squid-2.6.STABLE18/cfgaux/missing --run
> > automake-1.9'
> > AWK='mawk'
> > BASIC_AUTH_HELPERS=''
> > CACHE_HTTP_PORT=''
> > CACHE_ICP_PORT=''
> > CC='gcc'
> > CCDEPMODE=''
> > CFLAGS=''
> > CGIEXT=''
> > CPP=''
> > CPPFLAGS=''
> > CRYPTLIB=''
> > CYGPATH_W='echo'
> > DEFS=''
> > DEPDIR=''
> > DIGEST_AUTH_HELPERS=''
> > ECHO_C=''
> > ECHO_N='-n'
> > ECHO_T=''
> > EGREP=''
> > ENABLE_HTCP_FALSE=''
> > ENABLE_HTCP_TRUE=''
> > ENABLE_MINGW32SPECIFIC_FALSE=''
> > ENABLE_MINGW32SPECIFIC_TRUE=''
> > ENABLE_PINGER_FALSE=''
> > ENABLE_PINGER_TRUE=''
> > ENABLE_SSL_FALSE=''
> > ENABLE_SSL_TRUE=''
> > ENABLE_UNLINKD_FALSE=''
> > ENABLE_UNLINKD_TRUE=''
> > ENABLE_WIN32SPECIFIC_FALSE=''
> > ENABLE_WIN32SPECIFIC_TRUE=''
> > ERR_DEFAULT_LANGUAGE=''
> > ERR_LANGUAGES=''
> > EXEEXT=''
> > EXTERNAL_ACL_HELPERS=''
> > FALSE=''
> > GREP=''
> > INSTALL_DATA='${INSTALL} -m 644'
> > INSTALL_PROGRAM='${INSTALL}'
> > INSTALL_SCRIPT='${INSTALL}'
> > INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
> > LDFLAGS='-g'
> > LIBDLMALLOC=''
> > LIBOBJS=''
> > LIBREGEX=''
> > LIBS=''
> > LIBSASL=''
> > LIB_DB=''
> > LIB_EPOLL=''
> > LIB_LBER=''
> > LIB_LDAP=''
> > LIB_MALLOC=''
> > LN=''
> > LN_S=''
> > LTLIBOBJS=''
> > MAINT='#'
> > MAINTAINER_MODE_FALSE=''
> > MAINTAINER_MODE_TRUE='#'
> > MAKEINFO='${SHELL}
> > /tmp/squid-2.6.STABLE18/cfgaux/missing --run makeinfo'
> > MAKE_LEAKFINDER_FALSE=''
> > MAKE_LEAKFINDER_TRUE=''
> > MKDIR=''
> > MV=''
> > NEED_COSSDUMP_FALSE=''
> > NEED_COSSDUMP_TRUE=''
> > NEED_DISKD_FALSE=''
> > NEED_DISKD_TRUE=''
> > NEED_OWN_MD5_FALSE=''
> > NEED_OWN_MD5_TRUE=''
> > NEED_OWN_SNPRINTF_FALSE=''
> > NEED_OWN_SNPRINTF_TRUE=''
> > NEED_OWN_STRSEP_FALSE=''
> > NEED_OWN_STRSEP_TRUE=''
> > NEGOTIATE_AUTH_HELPERS=''
> > NTLM_AUTH_HELPERS=''
> > OBJEXT=''
> > OPT_DEFAULT_HOSTS=''
> > PACKAGE='squid'
> > PACKAGE_BUGREPORT='http://www.squid-cache.org/bugs/'
> > PACKAGE_NAME='Squid Web Proxy'
> > PACKAGE_STRING='Squid Web Proxy 2.6.STABLE18'
> > PACKAGE_TARNAME='squid'
> > PACKAGE_VERSION='2.6.STABLE18'
> > PATH_SEPARATOR=':'
> > PERL=''
> > PKGCONFIG=''
> > RANLIB=''
> > REGEXLIB=''
> > REPL_LIBS=''
> > REPL_OBJS=''
> > REPL_POLICIES=''
> > RM=''
> > SET_MAKE=''
> > SH=''
> > SHELL='/bin/bash'
> > SNMPLIB=''
> > SSLLIB=''
> > STORE_LIBS=''
> > STORE_MODULES=''
> > STORE_OBJS=''
> > STRIP=''
> > TRUE=''
> > USE_AIOPS_WIN32_FALSE=''
> > USE_AIOPS_WIN32_TRUE=''
> > USE_DELAY_POOLS_FALSE=''
> > USE_DELAY_POOLS_TRUE=''
> > USE_DEVPOLL_FALSE=''
> > USE_DEVPOLL_TRUE=''
> > USE_DNSSERVER_FALSE=''
> > USE_DNSSERVER_TRUE=''
> > USE_EPOLL_FALSE=''
> > USE_EPOLL_TRUE=''
> > USE_KQUEUE_FALSE=''
> > USE_KQUEUE_TRUE=''
> > USE_POLL_FALSE=''
> > USE_POLL_TRUE=''
> > USE_SELECT_FALSE=''
> > USE_SELECT_SIMPLE_FALSE=''
> > USE_SELECT_SIMPLE_TRUE=''
> > USE_SELECT_TRUE=''
> > USE_SELECT_WIN32_FALSE=''
> > USE_SELECT_WIN32_TRUE=''
> > USE_SNMP_FALSE=''
> > USE_SNMP_TRUE=''
> > VERSION='2.6.STABLE18'
> > WIN32_PSAPI=''
> > XTRA_LIBS=''
> > XTRA_OBJS=''
> > ac_ct_CC='gcc'
> > am__fastdepCC_FALSE=''
> > am__fastdepCC_TRUE=''
> > am__include=''
> > am__leading_dot='.'
> > am__quote=''
> > am__tar='${AMTAR} chof - "$$tardir"'
> > am__untar='${AMTAR} xf -'
> > bindir='${exec_prefix}/bin'
> > build=''
> > build_alias=''
> > build_cpu=''
> > build_os=''
> > build_vendor=''
> > datadir='${datarootdir}'
> > datarootdir='${prefix}/share'
> > docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> > dvidir='${docdir}'
> > exec_prefix='NONE'
> > host=''
> > host_alias=''
> > host_cpu=''
> > host_os=''
> > host_vendor=''
> > htmldir='${docdir}'
> > includedir='${prefix}/include'
> > infodir='${datarootdir}/info'
> > install_sh='/tmp/squid-2.6.STABLE18/cfgaux/install-sh'
> > libdir='${exec_prefix}/lib'
> > libexecdir='${exec_prefix}/libexec'
> > localedir='${datarootdir}/locale'
> > localstatedir='${prefix}/var'
> > makesnmplib=''
> > mandir='${datarootdir}/man'
> > mkdir_p='mkdir -p --'
> > oldincludedir='/usr/include'
> > pdfdir='${docdir}'
> > prefix='NONE'
> > program_transform_name='s,x,x,'
> > psdir='${docdir}'
> > sbindir='${exec_prefix}/sbin'
> > sharedstatedir='${prefix}/com'
> > sysconfdir='${prefix}/etc'
> > target_alias=''
> >
> > ## ----------- ##
> > ## confdefs.h. ##
> > ## ----------- ##
> >
> > #define PACKAGE_NAME "Squid Web Proxy"
> > #define PACKAGE_TARNAME "squid"
> > #define PACKAGE_VERSION "2.6.STABLE18"
> > #define PACKAGE_STRING "Squid Web Proxy 2.6.STABLE18"
> > #define PACKAGE_BUGREPORT
> > "http://www.squid-cache.org/bugs/"
> > #define PACKAGE "squid"
> > #define VERSION "2.6.STABLE18"
> >
> > configure: exit 77
> >
> >
> > ____________________________________________________________________________________
> > Looking for last minute shopping deals?
> > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> --
> - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
> - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
>
Received on Sat Jan 26 2008 - 09:27:38 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST