Re: [sqlite] Compiling on AIX OS

2020-02-26 Thread Domingo Alvarez Duarte
Hello and thank you for reply ! As I said it's an exercise to know the peculiarities of compiling on this platform and I'm exposing this experience here in hope it can help others and improve sqlite build system. If what you mention is correct about requiring tcl 8.5 or newer then the

Re: [sqlite] Compiling on AIX OS

2020-02-26 Thread Shawn Wagner
I'm pretty sure the full build scripts require tcl 8.5 or newer. Maybe try the -amalgamation or -autoconf versions? On Wed, Feb 26, 2020 at 1:21 AM Domingo Alvarez Duarte wrote: > Hello ! > > > > $ uname -a > AIX minimal 1 7 00C63E504B00 > $ tclsh > % puts $tcl_patchLevel > 8.4.7 > % >

Re: [sqlite] Compiling on AIX OS

2020-02-26 Thread Domingo Alvarez Duarte
Hello ! $ uname -a AIX minimal 1 7 00C63E504B00 $ tclsh % puts $tcl_patchLevel 8.4.7 % On 26/2/20 10:19, Shawn Wagner wrote: puts $tcl_patchLevel ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org

Re: [sqlite] Compiling on AIX OS

2020-02-26 Thread Shawn Wagner
What version of tcl do you have installed? (At the tclsh prompt, do a `puts $tcl_patchLevel`) On Wed, Feb 26, 2020 at 1:05 AM Domingo Alvarez Duarte wrote: > Hello ! > > Trying to compile https://sqlite.org/2020/sqlite-src-3310100.zip on AIX > 7.1 operating system for exercise and to know the

Re: [sqlite] Compiling on AIX OS

2020-02-26 Thread Domingo Alvarez Duarte
Going forward after fixing the access mode from "rb" to "r" we get this error (tclsh8.4): tclsh /home/mingo/dev/sqlite-src-3310100/tool/mkshellc.tcl >shell.c cp /home/mingo/dev/sqlite-src-3310100/ext/fts5/fts5parse.y . rm -f fts5parse.h ./lemon  -S fts5parse.y tclsh

[sqlite] Compiling on AIX OS

2020-02-26 Thread Domingo Alvarez Duarte
Hello ! Trying to compile https://sqlite.org/2020/sqlite-src-3310100.zip on AIX 7.1 operating system for exercise and to know the peculiarities of building software on this OS and I'm getting this error, somehow tclsh that is installed on this OS do not wrap/hide OS incompatibilities.

Re: [sqlite] Compiling SQLite Encryption Extension for ARM processor

2020-02-13 Thread Jens Alfke
> On Feb 13, 2020, at 10:51 AM, Subodh Pathak wrote: > > I am looking for help to configure machine to compile SEE for ARM. I am > using Android mobile Samsung G7. You have to use a cross-compiler, a version of GCC that runs on your platform but generates ARM-Linux code. Specifically, to

Re: [sqlite] Compiling SQLite Encryption Extension for ARM processor

2020-02-13 Thread Richard Hipp
On 2/13/20, Subodh Pathak wrote: > > I am trying to compile SEE for ARM processor. There is a website explain how to compile SQLite for Android here: https://www.sqlite.org/android/doc/trunk/www/index.wiki Please review the instructions on that website and write again if they do not work for

[sqlite] Compiling SQLite Encryption Extension for ARM processor

2020-02-13 Thread Subodh Pathak
Team, I am trying to compile SEE for ARM processor. I have followed following steps. But was not successful in generating " *libsqliteX.so*" file which can be used on Android Samsung G7 mobile. 1. Installed GCC compiler from “http://www.mingw.org/” reference at “ https://gcc.gnu.org/”. 2.

[sqlite] Compiling SQLite without the database storage?

2019-12-21 Thread Jens Alfke
This may sound crazy, but is there a way to compile SQLite without its B-tree and table code? This would be for a use case with _only_ virtual tables — i.e. SQLite being used as a SQL query engine on top of a different data store*. It would be nice not to drag in too much unused code. —Jens *

[sqlite] compiling System.Data.SQLite and using it across VS versions...

2019-06-08 Thread Sam Carleton
So my system using SQLite consists of multiple executables. One is a VS2015 .Net 4.6.2 app, there are two more that are VS2008 C++ applications. At the moment I am using the officially compiled version of System.Data.SQLite for the VS2015 program, and compiling sqlite.dll for the VS2008 C++

Re: [sqlite] Compiling / building SQLite to include regex

2017-12-21 Thread Keith Medcalf
o: sqlite-users@mailinglists.sqlite.org >Subject: [sqlite] Compiling / building SQLite to include regex > >Greetings. I understand that SQLite doesn't come natively with regex >support, but that it can be added. My question is how to do so when I >install. I'm building from source from ><

Re: [sqlite] Compiling / building SQLite to include regex

2017-12-21 Thread jungle Boogie
On 21 December 2017 at 10:18, Richard Hipp wrote: > On 12/21/17, Paul Hoffman wrote: >> Greetings. I understand that SQLite doesn't come natively with regex >> support, but that it can be added. My question is how to do so when I >> install. I'm building

Re: [sqlite] Compiling / building SQLite to include regex

2017-12-21 Thread Richard Hipp
On 12/21/17, Paul Hoffman wrote: > Greetings. I understand that SQLite doesn't come natively with regex > support, but that it can be added. My question is how to do so when I > install. I'm building from source from > . > Is there a

[sqlite] Compiling / building SQLite to include regex

2017-12-21 Thread Paul Hoffman
Greetings. I understand that SQLite doesn't come natively with regex support, but that it can be added. My question is how to do so when I install. I'm building from source from . Is there a simple recipe for "make REGEX work after installation"?

Re: [sqlite] Compiling on Xcode

2017-12-04 Thread Jens Alfke
> On Nov 24, 2017, at 10:14 AM, Lifepillar wrote: > > When building sqlite-amalgamation-321 using Xcode 9.1 in a newly > created project, I get a few dozen warnings Yup, and this is an FAQ. SQLite is very thoroughly tested but the developers do not use compiler

Re: [sqlite] Compiling on Xcode

2017-11-25 Thread Lifepillar
>Hi, ALL, >Right now my C Language option on the Xcode 5.1.1 is set to "GNU99". >When using this option I am getting a lot of different warnings like: > >Value Conversion Issue >Implicit conversion loses integer precision. > >I know its just a warning, but I prefer the code to be compiled clean.

Re: [sqlite] compiling for android

2017-09-11 Thread Christian Czech
Hi, it guess it must be some special settings. We used sqlite quite some time now and the last build problem we got with ndk is quite long time ago. Regards, Christian --- derago e. K., Gartenstr. 4, D-79807 Lottstetten, Amtsgericht Freiburg/Br. HRA621012, weitere

Re: [sqlite] compiling for android

2017-09-11 Thread Dan Kennedy
On 09/11/2017 05:20 AM, Mark Sibly wrote: Hi, I just encountered a problem trying to build the sqlite amalgamation package for android with the latest NDK (v15.2.4203891) on windows 10. The compiler couldn't find mmap, which was causing a ton of errors. I solved it by sticking this at the

[sqlite] compiling for android

2017-09-11 Thread Mark Sibly
Hi, I just encountered a problem trying to build the sqlite amalgamation package for android with the latest NDK (v15.2.4203891) on windows 10. The compiler couldn't find mmap, which was causing a ton of errors. I solved it by sticking this at the top-ish of sqlite3.c #if __ANDROID__ #include

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-26 Thread curmudgeon
Thanks for those explanations Keith and Richard. I always thought the <> were the ones supplied by the language. -- View this message in context: http://sqlite.1065341.n5.nabble.com/Compiling-spellfix-for-sqlite3-tp70656p97122.html Sent from the SQLite mailing list archive at Nabble.com.

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-25 Thread Richard Damon
On 8/25/17 2:15 PM, Keith Medcalf wrote: When the included file is in " " then the file is expected to be located relative to the current directory. If the included file is in < > then it is relative to one of the directories specified in the "include search path". This search may or may not

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-25 Thread Keith Medcalf
traffic volume. >-Original Message- >From: sqlite-users [mailto:sqlite-users- >boun...@mailinglists.sqlite.org] On Behalf Of curmudgeon >Sent: Friday, 25 August, 2017 11:35 >To: sqlite-users@mailinglists.sqlite.org >Subject: Re: [sqlite] Compiling spellfix for sqlite3 > >Tha

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-25 Thread curmudgeon
Thanks Keith, the config info is most welcome. I wasn't sure if I was supposed to download zlib.h the fact it was inside <> instead of "" but understand now. Is the include in csv.c not a bug though, or is it again down to my compiler? -- View this message in context:

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-25 Thread Keith Medcalf
a Stairway to Heaven says a lot about anticipated traffic volume. >-Original Message- >From: sqlite-users [mailto:sqlite-users- >boun...@mailinglists.sqlite.org] On Behalf Of curmudgeon >Sent: Friday, 25 August, 2017 07:41 >To: sqlite-users@mailinglists.sqlite.org >

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-25 Thread curmudgeon
While testing I appended the following code to the end of sqlite3.c. #include "csv.c" #include "stmt.c" #include "compress.c" #include "eval.c" #include "carray.c" int core_init(const char* dummy) { int nErr = 0; nErr += sqlite3_auto_extension((void(*)())sqlite3_compress_init);

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-24 Thread Dominique Devienne
On Thu, Aug 24, 2017 at 1:24 AM, Keith Medcalf wrote: > >On Wed, Aug 23, 2017 at 6:11 PM, Keith Medcalf > wrote: > >Where's that pragma from Keith? Thanks, --DD > > They were added "experimentally" on July 7, 2017 Oh cool, that's great! thanks for the

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-23 Thread Keith Medcalf
On Wednesday, 23 August, 2017 16:28, Dominique Devienne wrote: >On Wed, Aug 23, 2017 at 6:11 PM, Keith Medcalf wrote: >> sqlite> pragma function_list; >> group_concat|1 >> group_concat|1 >> julianday|1 >> julianday|1 >> nullif|1 >> nullif|1 >>

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-23 Thread Dominique Devienne
On Wed, Aug 23, 2017 at 6:11 PM, Keith Medcalf wrote: > > sqlite> pragma function_list; > group_concat|1 > group_concat|1 > julianday|1 > julianday|1 > nullif|1 > nullif|1 > sqlite_compileoption_get|1 > sqlite_compileoption_get|1 > current_timestamp|1 > current_timestamp|1 >

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-23 Thread curmudgeon
Thanks for the explanation Keith and the help. I've learned a lot the last few days. -- View this message in context: http://sqlite.1065341.n5.nabble.com/Compiling-spellfix-for-sqlite3-tp70656p97040.html Sent from the SQLite mailing list archive at Nabble.com.

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-23 Thread Keith Medcalf
gt;-Original Message- >From: sqlite-users [mailto:sqlite-users- >boun...@mailinglists.sqlite.org] On Behalf Of curmudgeon >Sent: Wednesday, 23 August, 2017 02:55 >To: sqlite-users@mailinglists.sqlite.org >Subject: Re: [sqlite] Compiling spellfix for sqlite3 > >Keith,

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-23 Thread curmudgeon
Keith, I finally managed to use carray this morning. The C++ builder IDE had a facility for entering conditional defines in Project|Options. I had noticed this before asking the question on the c++ builder forum but hadn't realised the -D part of -DSQLITE_EXTRA_INIT=cor_init wasn't required.

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-22 Thread Keith Medcalf
On Tuesday, 22 August, 2017 09:30, curmudgeon wrote: >Your cast did the trick Keith and it compiled fine once I removed the >'-DSQLITE_EXTRA_INIT=core_init' line but I have no idea how to get >that directive into the c++ builder application. I've put up a question >on

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-22 Thread curmudgeon
Your cast did the trick Keith and it compiled fine once I removed the '-DSQLITE_EXTRA_INIT=core_init' line but I have no idea how to get that directive into the c++ builder application. I've put up a question on the c++ builder forum but unanswered as yet. -- View this message in context:

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-21 Thread Keith Medcalf
On Monday, 21 August, 2017 11:44, curmudgeon wrote: >Thanks Keith. I followed your instructions but I'm now getting the >following compiler errors >[bcc32 Error] carray.c(412): E2342 Type mismatch in parameter 'xInit' >(wanted 'void (*)()', got 'void *') >// on the 'nErr +=

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-21 Thread curmudgeon
Thanks Keith. I followed your instructions but I'm now getting the following compiler errors [bcc32 Error] carray.c(412): E2342 Type mismatch in parameter 'xInit' (wanted 'void (*)()', got 'void *') // on the 'nErr += sqlite3_auto_extension((void*)sqlite3_carray_init); line' [bcc32 Error]

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-21 Thread Keith Medcalf
- >boun...@mailinglists.sqlite.org] On Behalf Of curmudgeon >Sent: Monday, 21 August, 2017 09:13 >To: sqlite-users@mailinglists.sqlite.org >Subject: Re: [sqlite] Compiling spellfix for sqlite3 > >Keith, I know this is an old post but it refers to something we >discussed >rec

Re: [sqlite] Compiling spellfix for sqlite3

2017-08-21 Thread curmudgeon
Keith, I know this is an old post but it refers to something we discussed recently. I tried the following I added the #include carray.c line to just above the bottom of the amalgamation such that the last few lines are #include carray.c #endif /* SQLITE_CORE */ #endif /* !defined(SQLITE_CORE)

Re: [sqlite] Compiling issue

2016-08-01 Thread Miroslav Rajcic
Thanks Richard. Regards, Miroslav On 1.8.2016. 20:38, Richard Hipp wrote: On 8/1/16, Miroslav Rajcic wrote: Hello, just tried to compile "sqlite-snapshot-201607290155.tar.gz" (amalgam) on OS X and I got these errors: sqlite/sqlite3.c:108772: error: redefinition

Re: [sqlite] Compiling issue

2016-08-01 Thread Richard Hipp
On 8/1/16, Miroslav Rajcic wrote: > Hello, > > just tried to compile "sqlite-snapshot-201607290155.tar.gz" (amalgam) on > OS X and I got these errors: > > sqlite/sqlite3.c:108772: error: redefinition of typedef > 'sqlite3_api_routines' > sqlite/sqlite3.c:5970: error:

Re: [sqlite] Compiling issue

2016-08-01 Thread Miroslav Rajcic
Sorry for the typo, correct sentence would be: Removing the definition at line 108772 solved the problem. Regards, Miroslav On 1.8.2016. 20:25, Miroslav Rajcic wrote: Hello, just tried to compile "sqlite-snapshot-201607290155.tar.gz" (amalgam) on OS X and I got these errors:

[sqlite] Compiling issue

2016-08-01 Thread Miroslav Rajcic
Hello, just tried to compile "sqlite-snapshot-201607290155.tar.gz" (amalgam) on OS X and I got these errors: sqlite/sqlite3.c:108772: error: redefinition of typedef 'sqlite3_api_routines' sqlite/sqlite3.c:5970: error: previous declaration of 'sqlite3_api_routines' was here Removing the

Re: [sqlite] Compiling on Xcode

2016-07-23 Thread Igor Korot
Simon et al, On Sat, Jul 23, 2016 at 2:20 AM, Simon Slavin wrote: > > On 23 Jul 2016, at 4:26am, Igor Korot wrote: > >> "Ambiguous expansion of macro MIN/MAX" > > Sorry, I don't recognise this problem. I would try Googling it. Trying to google I found

Re: [sqlite] Compiling on Xcode

2016-07-23 Thread Simon Slavin
On 23 Jul 2016, at 4:26am, Igor Korot wrote: > "Ambiguous expansion of macro MIN/MAX" Sorry, I don't recognise this problem. I would try Googling it. Simon. ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org

Re: [sqlite] Compiling on Xcode

2016-07-22 Thread Igor Korot
Simon, Sorry for the long delay. I was trying to catch up on some other stuff. On Thu, Jul 14, 2016 at 10:01 AM, Igor Korot wrote: > On Thu, Jul 14, 2016 at 9:38 AM, Simon Slavin wrote: >> >> On 14 Jul 2016, at 12:44pm, Igor Korot

Re: [sqlite] Compiling on Xcode

2016-07-14 Thread Igor Korot
On Thu, Jul 14, 2016 at 9:38 AM, Simon Slavin wrote: > > On 14 Jul 2016, at 12:44pm, Igor Korot wrote: > >> Is there anything else to check? > > No. Those look correct. You looked at the right place and it had the right > options selected. > >

Re: [sqlite] Compiling on Xcode

2016-07-14 Thread Simon Slavin
On 14 Jul 2016, at 12:44pm, Igor Korot wrote: > Is there anything else to check? No. Those look correct. You looked at the right place and it had the right options selected. Although the SQLite team goes to some lengths to avoid errors which prevent compilation, trying

Re: [sqlite] Compiling on Xcode

2016-07-14 Thread Igor Korot
Simon, On Wed, Jul 13, 2016 at 11:51 PM, Simon Slavin wrote: > > On 14 Jul 2016, at 4:43am, Igor Korot wrote: > >> Right now my C Language option on the Xcode 5.1.1 is set to "GNU99". >> When using this option I am getting a lot of different warnings

Re: [sqlite] Compiling on Xcode

2016-07-13 Thread Simon Slavin
On 14 Jul 2016, at 4:43am, Igor Korot wrote: > Right now my C Language option on the Xcode 5.1.1 is set to "GNU99". > When using this option I am getting a lot of different warnings like: > > Value Conversion Issue > Implicit conversion loses integer precision. Check the

[sqlite] Compiling on Xcode

2016-07-13 Thread Igor Korot
Hi, ALL, Right now my C Language option on the Xcode 5.1.1 is set to "GNU99". When using this option I am getting a lot of different warnings like: Value Conversion Issue Implicit conversion loses integer precision. I know its just a warning, but I prefer the code to be compiled clean. I would

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread Bart Smissaert
> About name decoration please see https://msdn.microsoft.com/en-us/library/56h2zst2.aspx Thanks, that was helpful. In the above it says: Note that in a 64-bit environment, functions are not decorated. Not sure what that exactly means as I know that in VBA 64 bits decorated names are used in

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread GB
The top right pane shows which entry points are actually imported by the importing module. Since the top level module is not imported by anything the "imports" Pane is empty. About name decoration please see https://msdn.microsoft.com/en-us/library/56h2zst2.aspx Bart Smissaert schrieb am

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread Bart Smissaert
Haven't I got that here: > Additional Options: > > sqlite3.c /Gz -DSQLITE_API=__declspec(dllexport) Or should I leave the D off before SQLITE_API ? RBS On Tue, Apr 5, 2016 at 11:04 PM, J Decker wrote: > On Tue, Apr 5, 2016 at 2:09 PM, Bart Smissaert > wrote: > > I am not using .def

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread GB
Well, last time I built sqlite3.dll myself was some years ago... I don't remember why we used the .def J Decker schrieb am 05.04.2016 um 23:05: > def files are obsolete. > the instructions include setting SQLITE_API to __declspec(dllexport) > which should do the job... unless there was a typeo >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread GB
Strange. Runs fine here (also Win 7 Pro x64). But version 2.1 may have problems with post-XP OS. Try V2.2 from here: http://www.heise.de/download/dependency-walker.html (German site, but downloads should be easy to spot). But if I remember this right, you need to include the sqlite3.def file

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
I said that wrong, even in the old 32 bits Dependency Walker there is nil in the top right pane. Still, there are no decorated function names in the 64 bit dll to see. Is this normal or do I have to alter my command line parameters? RBS On Tue, Apr 5, 2016 at 10:23 PM, Bart Smissaert wrote: >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
Thanks, that V2.2 works. What is strange though is that I see nil in the top right pane, so decorated function names. Is this different in the 64 bits dll? RBS On Tue, Apr 5, 2016 at 10:03 PM, GB wrote: > Strange. Runs fine here (also Win 7 Pro x64). But version 2.1 may have > problems with

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
I am not using .def files, but use commandline settings from VS: All options: /GS /TC /W3 /Zc:wchar_t /Zi /Gm- /O2 /Fd"x64\Release\vc120.pdb" /fp:precise /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "SQLITE3_STDCALL_EXPORTS" /D "_WINDLL" /errorReport:prompt /WX- /Zc:forScope /Gz /MD

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread GB
Dependency Walker comes in two different flavors, one for x86 and one for x64. You need to use the appropriate one for your DLL. Bart Smissaert schrieb am 05.04.2016 um 09:50: > Trying to compile SQLite 64 bits in MSVS 2013 from the amalgation. > Using instructions from: > >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
I downloaded the 64 bit version of DependencyWalker from here: https://support.microsoft.com/en-us/kb/256872 but it didn't run on my machine although it is Win 7 Pro 64 bits. Will have a look on the MSVS 2013 installation disc. RBS On Tue, Apr 5, 2016 at 8:17 PM, GB wrote: > Dependency

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread J Decker
On Tue, Apr 5, 2016 at 2:09 PM, Bart Smissaert wrote: > I am not using .def files, but use commandline settings from VS: > > All options: > > /GS /TC /W3 /Zc:wchar_t /Zi /Gm- /O2 /Fd"x64\Release\vc120.pdb" /fp:precise > /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread J Decker
def files are obsolete. the instructions include setting SQLITE_API to __declspec(dllexport) which should do the job... unless there was a typeo On Tue, Apr 5, 2016 at 2:03 PM, GB wrote: > Strange. Runs fine here (also Win 7 Pro x64). But version 2.1 may have > problems with post-XP OS. Try V2.2

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
Trying to compile SQLite 64 bits in MSVS 2013 from the amalgation. Using instructions from: http://pavel.cernohorsky.name/blog/2015/09/sqlite_64-bit_binaries_for_windows_and_how_to_build_them_with_visual_studio_2015.php All compiles well, so no warnings and get a dll of about 700 kB. Nil shows

[sqlite] compiling 3.11.1

2016-03-10 Thread Tim Uy
found it - old copy of cerod slipped into my sqlite3.c! On Wed, Mar 9, 2016 at 10:44 PM, Tim Uy wrote: > yup must be just me, it works fine on a clean fossil clone > > On Wed, Mar 9, 2016 at 10:15 PM, Tim Uy wrote: > >> It is probably just something I mangled - but oddly my tsrc/fts5.c has no

[sqlite] compiling 3.11.1

2016-03-09 Thread Tim Uy
yup must be just me, it works fine on a clean fossil clone On Wed, Mar 9, 2016 at 10:15 PM, Tim Uy wrote: > It is probably just something I mangled - but oddly my tsrc/fts5.c has no > trace of sqlite3PagerGet and no more than 2 or so lines. > > On Wed, Mar 9, 2016 at 10:07 PM, Tim Uy

[sqlite] compiling 3.11.1

2016-03-09 Thread Tim Uy
It is probably just something I mangled - but oddly my tsrc/fts5.c has no trace of sqlite3PagerGet and no more than 2 or so lines. On Wed, Mar 9, 2016 at 10:07 PM, Tim Uy wrote: > I'm getting > > tsrc/fts5.c(23549): error C2198: 'sqlite3PagerGet': too few arguments for > call >

[sqlite] compiling 3.11.1

2016-03-09 Thread Tim Uy
I'm getting tsrc/fts5.c(23549): error C2198: 'sqlite3PagerGet': too few arguments for call tsrc/fts5.c(23568): error C2198: 'sqlite3PagerGet': too few arguments for call What am I missing? :P

[sqlite] compiling sqlite3 with FTS5 support

2015-10-09 Thread Dan Kennedy
On 10/09/2015 10:18 AM, chromedout64 at yahoo.com wrote: > I noticed there was talk in the other thread of including FTS5 support in the > amalgamation. That would be great and it seems like that might solve my > problem. Is that correct? > > Also, I noticed what may be a couple typos in the

[sqlite] compiling sqlite3 with FTS5 support

2015-10-09 Thread chromedou...@yahoo.com
I noticed there was talk in the other thread of including FTS5 support in the amalgamation. That would be great and it seems like that might solve my problem. Is that correct? Also, I noticed what may be a couple typos in the FTS5 documentation at https://www.sqlite.org/fts5.html. In the

[sqlite] compiling sqlite3 with FTS5 support

2015-10-07 Thread chromedou...@yahoo.com
Is there a way to build the sqlite3 command line utility with integrated FTS5 support? I have been compiling and installing the latest version by downloading the latest 'autoconf' file, such as sqlite-autoconf-3081101.tar.gz, and building and installing that. However, I noticed that this is

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Prakash Premkumar
I tried with the following flags : gcc -arch x86_64 -o sqlite3.o sqlite3.c shell.c and > gcc -m32 -o sqlite3.o sqlite3.c shell.c but both results in the same error. Can you please help me solve this ? On Thu, Jul 2, 2015 at 2:47 PM, Andy Ling wrote: > > I get the following error

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Prakash Premkumar
Hi Andy, I get the following error while trying to compile after linking with the library ld: warning: ignoring file > /Users/prakash-2282/Downloads/sqlite-amalgamation-201506301510/libsqlite3.a, > file was built for archive which is not the architecture being linked > (x86_64): >

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Prakash Premkumar
Thanks a ton Andy for your reply. can you specify how I should specify the include flags (-I). The kore build complais that "sqlite3.h" header file is not found . Thanks a lot for your time On Thu, Jul 2, 2015 at 1:51 PM, Andy Ling wrote: > > Can you please tell me how to compile it as a

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Amit Chaudhuri
Maybe this will help? http://stackoverflow.com/questions/4234767/how-do-i-build-sqlite3-from-command-line On Thu, Jul 2, 2015 at 10:25 AM, Prakash Premkumar wrote: > I tried with the following flags : > > gcc -arch x86_64 -o sqlite3.o sqlite3.c shell.c > > > and > > >> gcc -m32 -o sqlite3.o

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Prakash Premkumar
Thanks for your reply Kees. I am using kore web server and I want to pass sqlite library in the LDFLAGS option to the kore webserver. ( https://kore.io/doc/#cli ) For this purpose, I would like to compile it as a library, I wont be able to pass the sqlite3.c in the list of sources. Can you

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Andy Ling
> I tried with the following flags : > > gcc -arch x86_64 -o sqlite3.o sqlite3.c shell.c > > > and > > > > gcc -m32 -o sqlite3.o sqlite3.c shell.c > > > but both results in the same error. > > Can you please help me solve this ? > It's getting outside my level of expertise (and not

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Andy Ling
> I get the following error while trying to compile after linking with the > library > > ld: warning: ignoring file > > /Users/prakash-2282/Downloads/sqlite-amalgamation- > 201506301510/libsqlite3.a, > > file was built for archive which is not the architecture being linked > > (x86_64): > >

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Andy Ling
> Thanks a ton Andy for your reply. > > can you specify how I should specify the include flags (-I). > The kore build complais that "sqlite3.h" header file is not found . > Sounds like you need to read a few more manuals :^) Normally there are compiler options that let you tell it which

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Andy Ling
> Can you please tell me how to compile it as a library on Mac OSX and Linux > platforms ? > Use your favourite compiler to generate sqlite3.o then use ar to wrap that up as a .a file. Give that file a name something like libsqlite3.a and you will be able to add -Lsqlite3 to your LDFLAGS. The

[sqlite] Compiling sqlite as as library

2015-07-01 Thread Kees Nuyt
On Wed, 1 Jul 2015 14:28:37 +0530, Prakash Premkumar wrote: >Hi, > >Can you please tell me how to compile sqlite as a library and link with >other applications using the "-L" flag ? That depends on the operating system you want to use it on. For many common platforms a precompiled binary is

[sqlite] Compiling sqlite as as library

2015-07-01 Thread Prakash Premkumar
Hi, Can you please tell me how to compile sqlite as a library and link with other applications using the "-L" flag ? Thanks a lot for your time .

Re: [sqlite] Compiling error on Cygwin on Windows 8.1: 3.8.7.4 and 3.8.8

2015-01-23 Thread Jan Nijtmans
2015-01-19 11:01 GMT+01:00 Frank Ho : > I compiled the SQLite on the Cygwin 1.7.33 running on a Windows 8.1, here's > the error: > > .libs/sqlite3.o: In function `sqlite3ThreadProc': > ../sqlite-autoconf-3080800/sqlite3.c:22471: undefined reference to > `_endthreadex' >

Re: [sqlite] Compiling error on Cygwin on Windows 8.1: 3.8.7.4 and 3.8.8

2015-01-19 Thread Jan Nijtmans
2015-01-19 11:01 GMT+01:00 Frank Ho : > Hi, > > I compiled the SQLite on the Cygwin 1.7.33 running on a Windows 8.1, here's > the error: > > .libs/sqlite3.o: In function `sqlite3ThreadProc': > ../sqlite-autoconf-3080800/sqlite3.c:22471: undefined reference to >

[sqlite] Compiling error on Cygwin on Windows 8.1: 3.8.7.4 and 3.8.8

2015-01-19 Thread Frank Ho
Hi, I compiled the SQLite on the Cygwin 1.7.33 running on a Windows 8.1, here's the error: .libs/sqlite3.o: In function `sqlite3ThreadProc': ../sqlite-autoconf-3080800/sqlite3.c:22471: undefined reference to `_endthreadex' .libs/sqlite3.o: In function `sqlite3ThreadCreate':

Re: [sqlite] compiling for WP81

2014-11-20 Thread E. Timothy Uy
I found the issue. I call vcvarsphoneall.bat and then vcvarsall.bat again in order to reset everything. But WindowsPhoneKitDir does not get unset, this triggers build-all-msvc.bat to cal vcvarsphoneall once again. Probably that segment needs to be removed from build-all-msvc.bat since it seems

Re: [sqlite] compiling for WP81

2014-11-20 Thread E. Timothy Uy
It seem the problem was that I was calling vcvarsphoneall first. Though I am surprised the winrt build worked fine. On Thu, Nov 20, 2014 at 11:15 AM, Joe Mistachkin wrote: > > E. Timothy Uy wrote: > > > >> Seems that when making mkkeywordhash.exe, it should be using the

Re: [sqlite] compiling for WP81

2014-11-20 Thread Joe Mistachkin
E. Timothy Uy wrote: > >> Seems that when making mkkeywordhash.exe, it should be using the x86 lib >> paths. >> >> On Thu, Nov 20, 2014 at 12:45 AM, E. Timothy Uy wrote: >> >>> Hi, I am attempting to compile for WP81 using build-all-msvc.bat. >>> However, when I initialize with

Re: [sqlite] compiling for WP81

2014-11-20 Thread E. Timothy Uy
Seems that when making mkkeywordhash.exe, it should be using the x86 lib paths. On Thu, Nov 20, 2014 at 12:45 AM, E. Timothy Uy wrote: > Hi, I am attempting to compile for WP81 using build-all-msvc.bat. However, > when I initialize with vcvarsphoneall, I end up with > > /debug >

[sqlite] compiling for WP81

2014-11-20 Thread E. Timothy Uy
Hi, I am attempting to compile for WP81 using build-all-msvc.bat. However, when I initialize with vcvarsphoneall, I end up with /debug /out:mkkeywordhash.exe "/LIBPATH:F:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib" "/LIBPATH:C:\Program Files (x86)\Windows Phone Silverlight

Re: [sqlite] Compiling System.Data.SQLite for .NET CF 3.5 (VS2008 & WinCE 6) on x86

2014-05-09 Thread Joe Mistachkin
Eric Johnston wrote: > > The question is: How do I compile System.Data.SQLite for .NET CF 3.5 (VS2008) > with a target platform of x86 for the SQLite.Interop.092.dll? > The Windows CE 6.x SDKs that I've seen do not include support for the x86 platform. Are you aware of one that does? -- Joe

[sqlite] Compiling System.Data.SQLite for .NET CF 3.5 (VS2008 & WinCE 6) on x86

2014-05-08 Thread Eric Johnston
The question is: How do I compile System.Data.SQLite for .NET CF 3.5 (VS2008) with a target platform of x86 for the SQLite.Interop.092.dll? I feel as though this should be painfully obvious, but after going through the release build documentation I still can't find a way to do it. The archives

Re: [sqlite] Compiling SQLite on VxWorks 6.3 (DKM)

2014-03-01 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/02/14 06:37, deltuo wrote: > i compile sqlite 3.8.3 to vxworks 6.9, i first compile sqlite in dkm > and get xx.a lib file, and then test it in vip project, but meet disk > i/o error, can you help me ? thank you , my email is del...@126.com

Re: [sqlite] Compiling SQLite on VxWorks 6.3 (DKM)

2014-03-01 Thread deltuo
i compile sqlite 3.8.3 to vxworks 6.9, i first compile sqlite in dkm and get xx.a lib file, and then test it in vip project, but meet disk i/o error, can you help me ? thank you , my email is del...@126.com -- View this message in context:

[sqlite] Compiling SQLite with latest MinGW: undesired link to MinGW-specific dll.

2014-02-16 Thread Jan Nijtmans
When compiled SQLite out-of-the-box on MinGW-4.0 there are two problems. One is currently in progress on the "mingw4x" branch, but there is one more. For explanation and a suggested fix, see below. When compiling sqlite3.dll, it contains a link to libgcc_s_dw2-1.dll, which must be distributed

[sqlite] Compiling sqlite (amalgamation) with ICU support for windows

2013-11-17 Thread Jens Helweg
Hello,    I am trying to compile sqlite db with icu support using cygwin on windows.    As I am using the amalgamation version my understanding is that everthing I need is already included.    But when I try to compile this it complains about missing header files:  > gcc.exe -DSQLITE_ENABLE_ICU

Re: [sqlite] compiling the non-AMALGAMATION on visual studio

2013-10-30 Thread Joe Mistachkin
David Clark wrote: > > NMAKE : fatal error U1045: spawn failed : No error > Stop. > >From my research, it looks like this error is caused by a 64-bit versus 32-bit issue. What version Windows are you running? Is it 32-bit or 64-bit? Which ActiveTcl distribution file did you install? -- Joe

Re: [sqlite] compiling the non-AMALGAMATION on visual studio

2013-10-30 Thread David Clark
Joe I tried you nmake line on a fresh extract of the .zip file from the download page and got this:         1 file(s) copied. C:\TFS\Main\source\lib\ThirdParty\sqlite_dbg\sqlite-src-3080100>copy /Y .\src\ro wset.c tsrc         1 file(s) copied.

Re: [sqlite] compiling the non-AMALGAMATION on visual studio

2013-10-29 Thread Dominique Devienne
On Mon, Oct 28, 2013 at 10:38 PM, David Clark wrote: > I am trying to compile the source tree on visual studio with makefile.msc > and I get the following: > [...] > Why am I doing this: > I have a database lock error coming from a update query and I am not sure > why. So

Re: [sqlite] compiling the non-AMALGAMATION on visual studio

2013-10-28 Thread Joe Mistachkin
David Clark wrote: > > So I want to debug into it...but debugging into a file bigger than 65000 > lines does not work at all on visual studio 2008.   > Using the latest trunk, you can work around this issue with Visual Studio by using the following make command: nmake /f Makefile.msc

[sqlite] compiling the non-AMALGAMATION on visual studio

2013-10-28 Thread David Clark
I am trying to compile the source tree on visual studio with makefile.msc and I get the following: C:\TFS\Main\source\lib\ThirdParty\sqlite_dbg\sqlite-src-3080100>nmake -B -f make file.msc | more Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation.

  1   2   3   4   5   >