Thanks.

It doesn't appear that I have the necessary files to install gcc:

[r...@selkirk 4.1.1]# gcc -v
bash: gcc: command not found
[r...@selkirk 4.1.1]# yum install gcc
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
There was an error parsing the RHN proxy settings.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: gcc
Nothing to do
[r...@selkirk 4.1.1]#

Should I get this from RHS (I don't have install CDs)? 


Glen Scratchley
DMS Solutions Architect
Macro 4, Inc. 

(973) 526-3900  Direct: (973) 526-3832  Fax: (973) 526-3899 
A Division of the UNICOM Group of Companies
www.macro4.com

***********************************************************************
This message (including any attachments) contains confidential
information that is PRIVILEGED, CONFIDENTIAL and/or ATTORNEY WORK
PRODUCT and is intended only for the individual(s) named herein. If you
are not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this email is strictly
prohibited. If you have received this message in error, please notify
the UNICOM Systems, Inc. Postmaster (postmas...@unicomsi.com) of the
error immediately, do not read or use the email and any attachments in
any manner, destroy all copies, and delete it from your system if the
communication was sent via email. UNICOM Systems, Inc. (818) 838-0606
Fax: (818) 838-0776
********************************************************************** 


-----Original Message-----
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Black, Michael
(IS)
Sent: Thursday, June 17, 2010 10:07 AM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] c compiler during install

You probably don't have the gcc package installed.  You're seeing an
i386 compiler which may not produce what you want plus you won't
necessarily have all the header files you need.  And did you add that
directory path to cc1 yourself to your PATH?  It's quite non-standard
and should be removed from your path.
 
You SHOULD be able to do this:
gcc -v
 
If not, as root, install it using this;
 
yum install gcc
 
 
 
Michael D. Black
Senior Scientist
Northrop Grumman Mission Systems
 

________________________________

From: sqlite-users-boun...@sqlite.org on behalf of Pavel Ivanov
Sent: Thu 6/17/2010 8:58 AM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] c compiler during install



> I am not a programmer, but I assume that this a c compiler:
>
> [r...@selkirk sqlite-3.6.23.1]# which cc1
> /usr/libexec/gcc/i386-redhat-linux/4.1.1/cc1
> [r...@selkirk sqlite-3.6.23.1]# echo $PATH 
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/s
> bi
> n:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/libexec/gcc/i386-redhat-linux
> /4
> .1.1

Are you sure that it's compiler? If it is then it's a very non-standard
unusual name. gcc usually named exactly like that 'gcc'
and probably it's in /usr/libexec/gcc/i386-redhat-linux/4.1.1/bin/.
But if there's nothing there and 'cc1 --version' outputs that it's
indeed GNU C Compiler then you can make an additional link to it nearby
and name it 'gcc'.


Pavel

On Thu, Jun 17, 2010 at 9:48 AM, Glen Scratchley
<glen.scratch...@macro4.com> wrote:
> This is my first post; I have some SQL experience, but I am a complete

> newbie with sqlite
>
> I didn't get any hits with a search of the faq, so if this has been 
> answered, I apologize; please point me to it.
>
> I am trying to install on RHS 5.  When I run .configure I get this:
>
> [r...@selkirk sqlite-3.6.23.1]# ./configure 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 for style of include used by make...

> GNU checking for gcc... no checking for cc... no checking for 
> cl.exe... no
> configure: error: no acceptable C compiler found in $PATH See 
> `config.log' for more details.
>
> and the entire config.log is:
>
> hostname = selkirk
> uname -m = i686
> uname -r = 2.6.18-8.el5
> uname -s = Linux
> uname -v = #1 SMP Fri Jan 26 14:15:21 EST 2007
>
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
>
> /bin/arch              = i686
> /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/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: /root/bin
> PATH: /usr/libexec/gcc/i386-redhat-linux/4.1.1
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:2092: checking for a BSD-compatible install
> configure:2160: result: /usr/bin/install -c
> configure:2171: checking whether build environment is sane
> configure:2214: result: yes
> configure:2276: checking for gawk
> configure:2292: found /bin/gawk
> configure:2303: result: gawk
> configure:2314: checking whether make sets $(MAKE)
> configure:2336: result: yes
> configure:2533: checking for style of include used by make
> configure:2561: result: GNU
> configure:2634: checking for gcc
> configure:2664: result: no
> configure:2731: checking for cc
> configure:2778: result: no
> configure:2834: checking for cl.exe
> configure:2864: result: no
> configure:2893: error: no acceptable C compiler found in $PATH See 
> `config.log' for more details.
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_env_CCC_set=
> ac_cv_env_CCC_value=
> 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_CXXCPP_set=
> ac_cv_env_CXXCPP_value=
> ac_cv_env_CXXFLAGS_set=
> ac_cv_env_CXXFLAGS_value=
> ac_cv_env_CXX_set=
> ac_cv_env_CXX_value=
> ac_cv_env_F77_set=
> ac_cv_env_F77_value=
> ac_cv_env_FFLAGS_set=
> ac_cv_env_FFLAGS_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=gawk
> ac_cv_prog_make_make_set=yes
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> ACLOCAL='${SHELL}
> /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/m
> is
> sing --run aclocal-1.9'
> AMDEPBACKSLASH='\'
> AMDEP_FALSE='#'
> AMDEP_TRUE=''
> AMTAR='${SHELL}
> /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/m
> is
> sing --run tar'
> AR=''
> AUTOCONF='${SHELL}
> /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/m
> is
> sing --run autoconf'
> AUTOHEADER='${SHELL}
> /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/m
> is
> sing --run autoheader'
> AUTOMAKE='${SHELL}
> /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/m
> is
> sing --run automake-1.9'
> AWK='gawk'
> BUILD_CFLAGS=''
> CC=''
> CCDEPMODE=''
> CFLAGS=''
> CPP=''
> CPPFLAGS=''
> CXX=''
> CXXCPP=''
> CXXDEPMODE=''
> CXXFLAGS=''
> CYGPATH_W='echo'
> DEFS=''
> DEPDIR='.deps'
> DYNAMIC_EXTENSION_FLAGS=''
> ECHO='echo'
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> F77=''
> FFLAGS=''
> GREP=''
> INSTALL_DATA='${INSTALL} -m 644'
> INSTALL_PROGRAM='${INSTALL}'
> INSTALL_SCRIPT='${INSTALL}'
> INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LIBTOOL=''
> LN_S=''
> LTLIBOBJS=''
> MAKEINFO='${SHELL}
> /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/m
> is
> sing --run makeinfo'
> OBJEXT=''
> PACKAGE='sqlite'
> PACKAGE_BUGREPORT='http://www.sqlite.org' <http://www.sqlite.org'/> 
> PACKAGE_NAME='sqlite'
> PACKAGE_STRING='sqlite 3.6.23.1'
> PACKAGE_TARNAME='sqlite'
> PACKAGE_VERSION='3.6.23.1'
> PATH_SEPARATOR=':'
> RANLIB=''
> READLINE_LIBS=''
> SET_MAKE=''
> SHELL='/bin/sh'
> STRIP=''
> THREADSAFE_FLAGS=''
> VERSION='3.6.23.1'
> ac_ct_CC=''
> ac_ct_CXX=''
> ac_ct_F77=''
> am__fastdepCC_FALSE=''
> am__fastdepCC_TRUE=''
> am__fastdepCXX_FALSE=''
> am__fastdepCXX_TRUE=''
> am__include='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='/home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlit
> e-
> 3.6.23.1/install-sh'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> 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 "sqlite"
> #define PACKAGE_TARNAME "sqlite"
> #define PACKAGE_VERSION "3.6.23.1"
> #define PACKAGE_STRING "sqlite 3.6.23.1"
> #define PACKAGE_BUGREPORT "http://www.sqlite.org
<http://www.sqlite.org/> "
> #define PACKAGE "sqlite"
> #define VERSION "3.6.23.1"
>
> configure: exit 1
> [colad...@selkirk sqlite-3.6.23.1]$
>
>
>
>
> I am not a programmer, but I assume that this a c compiler:
>
> [r...@selkirk sqlite-3.6.23.1]# which cc1
> /usr/libexec/gcc/i386-redhat-linux/4.1.1/cc1
> [r...@selkirk sqlite-3.6.23.1]# echo $PATH 
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/s
> bi
> n:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/libexec/gcc/i386-redhat-linux
> /4
> .1.1
>
>
> please feel free to edit this post as required.
> thanks,
>
> Glen Scratchley
> DMS Solutions Architect
> Macro 4, Inc.
>
> (973) 526-3900  Direct: (973) 526-3832  Fax: (973) 526-3899 A Division

> of the UNICOM Group of Companies www.macro4.com 
> <http://www.macro4.com/>
>
> **********************************************************************
> * This message (including any attachments) contains confidential 
> information that is PRIVILEGED, CONFIDENTIAL and/or ATTORNEY WORK 
> PRODUCT and is intended only for the individual(s) named herein. If 
> you are not the intended recipient, you are hereby notified that any 
> dissemination, distribution or copying of this email is strictly 
> prohibited. If you have received this message in error, please notify 
> the UNICOM Systems, Inc. Postmaster (postmas...@unicomsi.com 
> <mailto:postmas...@unicomsi.com> ) of the error immediately, do not 
> read or use the email and any attachments in any manner, destroy all 
> copies, and delete it from your system if the communication was sent
via email.
> UNICOM Systems, Inc. (818) 838-0606 Fax: (818) 838-0776
> **********************************************************************
>
>
>
> - 
> ----------------------------------------------------------------------
> -- This email has been scanned for all known viruses by the 
> MessageLabs Email Security Service and the Macro 4 internal virus 
> protection system.
> . 
> ----------------------------------------------------------------------
> -- _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users



-
------------------------------------------------------------------------
This email has been scanned for all known viruses by the MessageLabs
Email Security Service and the Macro 4 internal virus protection system.
.
------------------------------------------------------------------------

- ------------------------------------------------------------------------
This email has been scanned for all known viruses by the MessageLabs Email
Security Service and the Macro 4 internal virus protection system.
. ------------------------------------------------------------------------
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to