Re: [sqlite] C++ compiler
Hi, On Tue, Jan 2, 2018 at 3:34 PM, wrote: > Hi: > > Not only it can, but that is probably the use in the 99.00% of C++ > applications that uses SQLite. That number should probably be 99.999(9)%... ;-) Thank you. > > The only caveat is that you can get some warnings depending on the compiler > you use. > > Cheers > > -- > Adolfo J. Millan > >> >> Mensaje original >> De: eli >> Para: sqlite-users@mailinglists.sqlite.org >> Fecha: Sat, 30 Dec 2017 13:35:35 +0200 >> Asunto: [sqlite] C++ compiler >> >> Hello, > > It would be awesome if SQLite could compile as a part of bigger C++ project. > Right now there is a bunch of pointer casting errors, that can be fixed in > a matter of hour IMHO. > > Cheers, > ___ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > > > ___ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] C++ compiler
Hi: Not only it can, but that is probably the use in the 99.00% of C++ applications that uses SQLite. The only caveat is that you can get some warnings depending on the compiler you use. Cheers -- Adolfo J. Millan > > Mensaje original > De: eli > Para: sqlite-users@mailinglists.sqlite.org > Fecha: Sat, 30 Dec 2017 13:35:35 +0200 > Asunto: [sqlite] C++ compiler > > Hello, It would be awesome if SQLite could compile as a part of bigger C++ project. Right now there is a bunch of pointer casting errors, that can be fixed in a matter of hour IMHO. Cheers, ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] C++ compiler
Ditto. Large C++ project - no problem using SQLite. Are you trying to compile sqlite.c as a C++ file? That won't work obviously, you have to compile as C and link it in. The sqlite3.h header however can be pulled into any C++ file. - Deon -Original Message- From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of Nelson, Erik - 2 Sent: Tuesday, January 2, 2018 9:50 AM To: SQLite mailing list Subject: Re: [sqlite] C++ compiler Eli Sent: Saturday, December 30, 2017 6:36 AM >It would be awesome if SQLite could compile as a part of bigger C++ project. >Right now there is a bunch of pointer casting errors, that can be fixed >in a matter of hour IMHO. I don't have any trouble using it as part of a larger C++ project. -- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.bankofamerica.com%2Femaildisclaimer&data=02%7C01%7C%7C8d0be66235844225ba0508d552094785%7C84df9e7fe9f640afb435%7C1%7C0%7C636505122160488357&sdata=O5qNYHgSsFYXspXcltee5v9RKF4SKqIru%2BPY%2FRWyHrY%3D&reserved=0. If you are not the intended recipient, please delete this message. ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailinglists.sqlite.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsqlite-users&data=02%7C01%7C%7C8d0be66235844225ba0508d552094785%7C84df9e7fe9f640afb435%7C1%7C0%7C636505122160488357&sdata=xij9z7ZYvd5j7T5L1Ygo63BNeQPGYPbcx3eLCate8LI%3D&reserved=0 ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] C++ compiler
On 30 Dec 2017, at 11:35am, eli wrote: > It would be awesome if SQLite could compile as a part of bigger C++ project. It can. It should work fine. This is the main way SQLite is intended to be used. Download the "amalgamation" source code (one .h and one .c file) and include them in your project. The only problem is making sure your compiler understands that a file ending in ".c" is C source code, not C++ source code. Simon. ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] C++ compiler
Hi, On Sat, Dec 30, 2017 at 5:35 AM, eli wrote: > Hello, > > It would be awesome if SQLite could compile as a part of bigger C++ project. > Right now there is a bunch of pointer casting errors, that can be fixed in > a matter of hour IMHO. Which OS/compiler are you trying? What is the exact error message you are receiving? Did you modify t code in any way? Thank you. > > Cheers, > ___ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] C++ compiler
Eli Sent: Saturday, December 30, 2017 6:36 AM >It would be awesome if SQLite could compile as a part of bigger C++ project. >Right now there is a bunch of pointer casting errors, that can be fixed in >a matter of hour IMHO. I don't have any trouble using it as part of a larger C++ project. -- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] C++ compiler
On Sat, Dec 30, 2017 at 5:35 AM, eli wrote: > Hello, > > It would be awesome if SQLite could compile as a part of bigger C++ > project. > Right now there is a bunch of pointer casting errors, that can be fixed in > a matter of hour IMHO. > I'm not a very knowledgeable C++ programmer, but wouldn't a simple: extern C { ... ... SQLite definitions ... } be a way to do it? Or maybe I'm simplifying your question too much (wouldn't be the first time for me). > > Cheers, > -- I have a theory that it's impossible to prove anything, but I can't prove it. Maranatha! <>< John McKown ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] C++ compiler
Hello, It would be awesome if SQLite could compile as a part of bigger C++ project. Right now there is a bunch of pointer casting errors, that can be fixed in a matter of hour IMHO. Cheers, ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] c compiler during install
Thanks to all who (tried to) help me. I was unable to get a valid gcc on my machine, so I moved to a defend RHS machine, which is RHS3 ./configure and the commands that follow in the install file, seem to have worked correctly. 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 11:23 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] c compiler during install You must not be a RHN subscriber. So you'll have to install from the CD. You should be able to find gcc on the cd and do "rpm -i gcc*" It might complain about needing some other things too which you will also need to install. Or...if you have an X window running your Add/Remove Software entry might work. 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:38 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] c compiler during install 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. [ - 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
Re: [sqlite] c compiler during install
Thanks. Another poster suggested (and I confirmed) that I don't have a valid connection to the Internet. Once I fix that, I will confirm that I am an RHN subscriber. 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 11:23 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] c compiler during install You must not be a RHN subscriber. So you'll have to install from the CD. You should be able to find gcc on the cd and do "rpm -i gcc*" It might complain about needing some other things too which you will also need to install. Or...if you have an X window running your Add/Remove Software entry might work. 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:38 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] c compiler during install 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. [ - 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
Re: [sqlite] c compiler during install
You must not be a RHN subscriber. So you'll have to install from the CD. You should be able to find gcc on the cd and do "rpm -i gcc*" It might complain about needing some other things too which you will also need to install. Or...if you have an X window running your Add/Remove Software entry might work. 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:38 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] c compiler during install 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. [ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] c compiler during install
It would appear that you are correct: [r...@selkirk ~]# ping npr.org PING npr.org (216.35.221.76) 56(84) bytes of data. --- npr.org ping statistics --- 8 packets transmitted, 0 received, 100% packet loss, time 7002ms [r...@selkirk ~]# I will fix this before I continue, 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 *** 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 Teg Sent: Thursday, June 17, 2010 10:50 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] c compiler during install Hello Glen, I'm not a Linux guy (though I've installed it and run a DB on it before) but, GS> There was an error parsing the RHN proxy settings. GS> RHN support will be disabled. Suggests your install can't get out on to the 'net to find the files you're looking for. If YUM can't get to the net, YUM can't download the upgrades. C Thursday, June 17, 2010, 10:13:01 AM, you wrote: GS> Thanks. GS> It doesn't appear that I have the necessary files to install gcc: GS> [r...@selkirk 4.1.1]# gcc -v GS> bash: gcc: command not found GS> [r...@selkirk 4.1.1]# yum install gcc Loading "installonlyn" plugin GS> Loading "rhnplugin" plugin There was an error parsing the RHN proxy GS> settings. GS> RHN support will be disabled. GS> Setting up Install Process GS> Setting up repositories GS> No Repositories Available to Set Up GS> Reading repository metadata in from local files Parsing package GS> install arguments Setting up repositories No Repositories Available GS> to Set Up Reading repository metadata in from local files No Match GS> for argument: gcc Nothing to do [r...@selkirk 4.1.1]# GS> Should I get this from RHS (I don't have install CDs)? GS> Glen Scratchley GS> DMS Solutions Architect GS> Macro 4, Inc. ___ 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
Re: [sqlite] c compiler during install
Hello Glen, I'm not a Linux guy (though I've installed it and run a DB on it before) but, GS> There was an error parsing the RHN proxy settings. GS> RHN support will be disabled. Suggests your install can't get out on to the 'net to find the files you're looking for. If YUM can't get to the net, YUM can't download the upgrades. C Thursday, June 17, 2010, 10:13:01 AM, you wrote: GS> Thanks. GS> It doesn't appear that I have the necessary files to install gcc: GS> [r...@selkirk 4.1.1]# gcc -v GS> bash: gcc: command not found GS> [r...@selkirk 4.1.1]# yum install gcc GS> Loading "installonlyn" plugin GS> Loading "rhnplugin" plugin GS> There was an error parsing the RHN proxy settings. GS> RHN support will be disabled. GS> Setting up Install Process GS> Setting up repositories GS> No Repositories Available to Set Up GS> Reading repository metadata in from local files GS> Parsing package install arguments GS> Setting up repositories GS> No Repositories Available to Set Up GS> Reading repository metadata in from local files GS> No Match for argument: gcc GS> Nothing to do GS> [r...@selkirk 4.1.1]# GS> Should I get this from RHS (I don't have install CDs)? GS> Glen Scratchley GS> DMS Solutions Architect GS> Macro 4, Inc. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] c compiler during install
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
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. . -
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
Re: [sqlite] c compiler during install
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 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
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:/sbi > 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 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_targe
Re: [sqlite] c compiler during install
thanks for the reply. There is nothing in that directory other than that executable: [colad...@selkirk 4.1.1]$ ls -la total 5156 drwxr-xr-x 2 root root4096 Aug 8 2008 . drwxr-xr-x 3 root root4096 Aug 8 2008 .. -rwxr-xr-x 1 root root 5246768 Jan 17 2007 cc1 As I said, I'm not a c programmer; however, it appears to be a compiler. [colad...@selkirk 4.1.1]$ ./cc1 --version 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 [colad...@selkirk 4.1.1]$ I have no explanation for the odd name; this system was originally built by someone else (not that that would make a lot of difference) I'll try creating a link as you 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 Pavel Ivanov Sent: Thursday, June 17, 2010 9:59 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 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 > c
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
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:/sbi > 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 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/mis > 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/mis > sing --run tar' > AR='' > AUTOCONF='${SHELL} > /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/mis > sing --run autoconf' > AUTOHEADER='${SHELL} > /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/mis > sing --run autoheader' > AUTOMAKE='${SHELL} > /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/mis > 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=''
[sqlite] c compiler during install
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/mis 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/mis sing --run tar' AR='' AUTOCONF='${SHELL} /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/mis sing --run autoconf' AUTOHEADER='${SHELL} /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/mis sing --run autoheader' AUTOMAKE='${SHELL} /home/coladmin/kits/sqlite-amalgamation-3.6.23.1.tar/sqlite-3.6.23.1/mis 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/mis sing --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='' 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' docdi