I think that this means I'm missing something, and the ./configure still doesn't like it:
[r...@selkirk sqlite-3.6.23.1]# whoami root [r...@selkirk sqlite-3.6.23.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 sqlite-3.6.23.1]# [r...@selkirk sqlite-3.6.23.1]# gcc -v ignoring nonexistent directory "/usr/lib/gcc/i386-redhat-linux/4.1.1/include" ignoring nonexistent directory "/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../i386-redhat-linux/incl ude" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/include End of search list. [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... gcc checking for C compiler default output file name... conftest.s checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. [r...@selkirk sqlite-3.6.23.1]# And the end of config.log is: configure:2634: checking for gcc configure:2650: found /usr/libexec/gcc/i386-redhat-linux/4.1.1//gcc configure:2661: result: gcc configure:2899: checking for C compiler version configure:2907: gcc --version >&5 GNU C version 4.1.1 20070105 (Red Hat 4.1.1-52) (i386-redhat-linux) compiled by GNU C version 4.1.1 20070105 (Red Hat 4.1.1-52). GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64450 configure:2911: $? = 0 configure:2918: gcc -v >&5 ignoring nonexistent directory "/usr/lib/gcc/i386-redhat-linux/4.1.1/include" ignoring nonexistent directory "/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../.. /i386-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/include End of search list. Execution times (seconds) parser : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 (33%) wall 22 kB ( 3%) ggc TOTAL : 0.00 0.02 0.03 788 kB configure:2922: $? = 0 configure:2929: gcc -V >&5 gcc: error: unrecognized command line option "-V" Execution times (seconds) TOTAL : 0.00 0.00 0.00 0 kB configure:2933: $? = 1 configure:2956: checking for C compiler default output file name configure:2978: gcc conftest.c >&5 main Execution times (seconds) parser : 0.00 ( 0%) usr 0.01 (50%) sys 0.00 ( 0%) wall 24 kB ( 3%) ggc expand : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 (33%) wall 5 kB ( 1%) ggc TOTAL : 0.00 0.02 0.03 800 kB configure:2982: $? = 0 configure:3020: result: conftest.s configure:3037: checking whether the C compiler works configure:3047: ./conftest.s ./configure: line 3049: ./conftest.s: Permission denied configure:3051: $? = 126 configure:3060: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. 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_exeext=.s ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=gcc 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/missing --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/missing --run tar' AR='' AUTOCONF='${SHELL} /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3 .6.23.1/missing --run autoconf' AUTOHEADER='${SHELL} /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite -3.6.23.1/missing --run autoheader' AUTOMAKE='${SHELL} /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3 .6.23.1/missing --run automake-1.9' AWK='gawk' BUILD_CFLAGS='' CC='gcc' 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/missing --run makeinfo' OBJEXT='' PACKAGE='sqlite' PACKAGE_BUGREPORT='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='gcc' 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/sqlite- 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" #define PACKAGE "sqlite" #define VERSION "3.6.23.1" configure: exit 1 [r...@selkirk sqlite-3.6.23.1]# Again, let me thank you for your help 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:24 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] c compiler during install You missed this step: After you "su" you are "root". Then: yum install gcc Then do your configure and install. Should work fine. Michael D. Black Senior Scientist Northrop Grumman Mission Systems ________________________________ From: sqlite-users-boun...@sqlite.org on behalf of Glen Scratchley Sent: Thu 6/17/2010 9:21 AM To: j...@kreibi.ch; General Discussion of SQLite Database Subject: Re: [sqlite] c compiler during install Thanks for the reply. I'm not sure what your "as root? Really?" meant, so I tried to install as a regular user; no joy.: [colad...@selkirk sqlite-3.6.23.1]$ PATH=$PATH:/usr/libexec/gcc/i386-redhat-linux/4.1.1/ export PATH [colad...@selkirk sqlite-3.6.23.1]$ which cc1 /usr/libexec/gcc/i386-redhat-linux/4.1.1/cc1 [colad...@selkirk sqlite-3.6.23.1]$ CC=cc1 ./configure ./configure: line 1673: config.log: Permission denied ./configure: line 1683: config.log: Permission denied [colad...@selkirk sqlite-3.6.23.1]$ su Password: [r...@selkirk sqlite-3.6.23.1]# PATH=$PATH:/usr/libexec/gcc/i386-redhat-linux/4.1.1/ export PATH [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]# CC=cc1 ./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... cc1 checking for C compiler default output file name... conftest.s checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. [r...@selkirk sqlite-3.6.23.1]# So I'm concluding that cc1 is not actually a viable c compiler, as another poster suggested. 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 Jay A. Kreibich Sent: Thursday, June 17, 2010 10:03 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] c compiler during install On Thu, Jun 17, 2010 at 09:48:15AM -0400, Glen Scratchley scratched on the wall: > 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 As root? Really? > 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. > 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 Assuming that is your C compiler, try this: # CC=cc1 ./configure -j -- Jay A. Kreibich < J A Y @ K R E I B I.C H > "Intelligence is like underwear: it is important that you have it, but showing it to the wrong people has the tendency to make them feel uncomfortable." -- Angela Johnson _______________________________________________ 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 - ------------------------------------------------------------------------ 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