Salam!!!
yum install gcc
yum install gcc-c++
Its my habit whenever i make any server, i must intall these to packages
Regards,
Umair Shakil
ETD
On 10/11/07, Rogelio <scubacuda at gmail.com>
wrote:>
> I am trying to trying to "./configure" NDOutils on a CentOS 4.4
box
> with a minimal install, but it gives me the following error, which I
> assume means I need something gcc-related?
>
> *********************./configure output ********************
> **************************************************************
> checking for a BSD-compatible install... /usr/bin/install -c
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for gcc... no
> checking for cc... no
> checking for cc... no
> checking for cl... no
> configure: error: no acceptable C compiler found in $PATH
> See `config.log' for more details.
> **************************************************************
> **************************************************************
>
> I did a "yum search gcc" and found several packages that look
like
> they might be what I need. I assume that it's "gcc-c++" that
I need?
>
> (And for what it's worth, here is my config.log results)
>
> ******************** config.log *****************************
> **************************************************************
> **************************************************************
> 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 = localhost.localdomain
> uname -m = i686
> uname -r = 2.6.9-42.ELsmp
> uname -s = Linux
> uname -v = #1 SMP Sat Aug 12 09:39:11 CDT 2006
>
> /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/kerberos/sbin
> PATH: /usr/kerberos/bin
> PATH: /usr/local/sbin
> PATH: /usr/local/bin
> PATH: /sbin
> PATH: /bin
> PATH: /usr/sbin
> PATH: /usr/bin
> PATH: /usr/X11R6/bin
> PATH: /root/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1337: checking for a BSD-compatible install
> configure:1392: result: /usr/bin/install -c
> configure:1411: checking build system type
> configure:1429: result: i686-pc-linux-gnu
> configure:1437: checking host system type
> configure:1451: result: i686-pc-linux-gnu
> configure:1506: checking for gcc
> configure:1535: result: no
> configure:1586: checking for cc
> configure:1615: result: no
> configure:1628: checking for cc
> configure:1674: result: no
> configure:1727: checking for cl
> configure:1756: result: no
> configure:1770: error: no acceptable C compiler found in $PATH
> See `config.log' for more details.
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_build=i686-pc-linux-gnu
> ac_cv_build_alias=i686-pc-linux-gnu
> 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=i686-pc-linux-gnu
> ac_cv_host_alias=i686-pc-linux-gnu
> ac_cv_path_install='/usr/bin/install -c'
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> CC=''
> CFLAGS=''
> CPP=''
> CPPFLAGS=''
> DBCFLAGS=''
> DBLDFLAGS=''
> DBLIBS=''
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> INSTALL='/usr/bin/install -c'
> INSTALL_DATA='${INSTALL} -m 644'
> INSTALL_PROGRAM='${INSTALL}'
> INSTALL_SCRIPT='${INSTALL}'
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LIBWRAPLIBS=''
> LTLIBOBJS=''
> MOD_CFLAGS=''
> MOD_LDFLAGS=''
> OBJEXT=''
> OTHERLIBS=''
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME=''
> PACKAGE_STRING=''
> PACKAGE_TARNAME=''
> PACKAGE_VERSION=''
> PATH_SEPARATOR=':'
> SET_MAKE=''
> SHELL='/bin/sh'
> SOCKETLIBS=''
> ac_ct_CC=''
> bindir='${exec_prefix}/bin'
> build='i686-pc-linux-gnu'
> build_alias=''
> build_cpu='i686'
> build_os='linux-gnu'
> build_vendor='pc'
> datadir='${prefix}/share'
> exec_prefix='NONE'
> host='i686-pc-linux-gnu'
> host_alias=''
> host_cpu='i686'
> host_os='linux-gnu'
> host_vendor='pc'
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='${prefix}/var'
> mandir='${prefix}/man'
> oldincludedir='/usr/include'
> prefix='NONE'
> program_transform_name='s,x,x,'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_NAME ""
> #define PACKAGE_STRING ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
>
> configure: exit 1
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.centos.org/pipermail/centos/attachments/20071011/e2d0756a/attachment-0004.html>