Re: [sqlite] SQLite under linux

2006-09-27 Thread Lloyd
Thanks everybody, I have downloaded the library RPM from http://rpm.pbone.net/ and the library name is libsqlite-3.2.1-1.i386.rpm It may be useful for newbie like me... and did as what you said. And works fine... Thanks, Lloyd. On Wed, 2006-09-27 at 10:08 +0200, Markus Hoenicka wrote: >

Re: [sqlite] SQLite under linux

2006-09-27 Thread Markus Hoenicka
Martin Jenkins <[EMAIL PROTECTED]> was heard to say: > 3. make distclean doesn't remove the installed files from usr/local > I believe it is not supposed to. "make distclean" should remove any files from your build directory that either "configure" or "make" created. This usually returns your

Re: [sqlite] SQLite under linux

2006-09-27 Thread Markus Hoenicka
Lloyd <[EMAIL PROTECTED]> was heard to say: > Unfortunately, I don't know how to install this library in my system. > Please help me.. If I am dealing with the wrong file, please let me know > from where I can get the needed installable library. > Maybe you should tell us which system you run.

Re: [sqlite] SQLite under linux

2006-09-26 Thread Lloyd
On Tue, 2006-09-26 at 19:18 +0100, Martin Jenkins wrote: > If all you want to do is build an application using (some version of) > sqlite then just download the library and link against it - you don't > have to download the SQLite source and build it. > Thanks Martin, I too wanted the same

Re: [sqlite] SQLite under linux

2006-09-26 Thread Martin Jenkins
Martin Jenkins wrote: noticed a couple of minor nits 1. configure wants g++ but ISTM the build doesn't actually use it 2. "make clean" (or was it distclean?) doesn't delete sqlite3.pc There was supposed to be a 3. 3. make distclean doesn't remove the installed files from usr/local I'll have

Re: [sqlite] SQLite under linux

2006-09-26 Thread Martin Jenkins
Clay Dowling wrote: > > ./configure, especially since I build on more platforms than are supported > > by default. OpenBSD and FreeBSD are in my mix. Like you I always ./confgure and haven't had any problems. I just built the libs on Cygwin and noticed a couple of minor nits but nothing worth

Re: [sqlite] SQLite under linux

2006-09-26 Thread Clay Dowling
./configure, especially since I build on more platforms than are supported by default. OpenBSD and FreeBSD are in my mix. Clay Martin Jenkins said: > Clay Dowling wrote: >> I don't have tcl installed on my systems and I've never had a problem >> doing the default build. I do skip "make test"

Re: [sqlite] SQLite under linux

2006-09-26 Thread Martin Jenkins
Clay Dowling wrote: I don't have tcl installed on my systems and I've never had a problem doing the default build. I do skip "make test" because I don't have tcl installed, and because I don't modify my copies of SQLite. Do you use Makefile.linux or go the ./configure route? Martin

Re: [sqlite] SQLite under linux

2006-09-26 Thread Clay Dowling
I don't have tcl installed on my systems and I've never had a problem doing the default build. I do skip "make test" because I don't have tcl installed, and because I don't modify my copies of SQLite. Clay Martin Jenkins said: > Clay Dowling wrote: >> What I strongly recommend doing, rather

Re: [sqlite] SQLite under linux

2006-09-26 Thread Martin Jenkins
Clay Dowling wrote: What I strongly recommend doing, rather than trying to cobble together your own solution, is to download the source and go through the build and install -exactly- as decribed in the document. Good point, but I don't think he has (or wants) Tcl, so the build isn't going to

Re: [sqlite] SQLite under linux

2006-09-26 Thread Martin Jenkins
Lloyd wrote: After performing this section I got lots of errors. (I shall Add it at the end of mail) Either you're going to have to fix these errors BEFORE you proceed OR download the pre-built library from the site. But when I browsed through the output directory, I found the sqlite3.h

Re: [sqlite] SQLite under linux

2006-09-26 Thread Rich Shepard
On Tue, 26 Sep 2006, Lloyd wrote: This too doesn't work. First of all I did not install the library, instead I copied the sqlite-3.3.7.so file to the lib folder. Then ran the ldconfig command. Then I compiled gcc sqlite.c -o sqlite - l /usr/lib/sqlite-3.3.7 I suspect that you are making

Re: [sqlite] SQLite under linux

2006-09-26 Thread Lloyd
Hi, This too doesn't work. First of all I did not install the library, instead I copied the sqlite-3.3.7.so file to the lib folder. Then ran the ldconfig command. Then I compiled gcc sqlite.c -o sqlite - l /usr/lib/sqlite-3.3.7 It is giving the error ld connot find the file called

Re: [sqlite] SQLite under linux

2006-09-26 Thread Mark Richards
To use the library, either in shared or static mode, you must first build it successfully and then install it, Please tell us your build procedure and any errors you got. /m Lloyd wrote: then I tried to "make" the file, but it failed, any how I got the necessary sqlite3.h file. But still

Re: [sqlite] SQLite under linux

2006-09-26 Thread Lloyd Thomas
Hi Lloyd, I had exactly the same problem being new to C++. These are the steps I took. You may find that the library files may be in a folder where RH does not expect them to be. Try 'whereis libsqlite3.so' to locate. I can't remember where the default lib folder is. you will need