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

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

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

2017-12-21 Thread Keith Medcalf
Compile and load the regexp extension (ext/misc/regexp.c in the full source distribution or the commit tracker). Or append the extension to SQLite3.c and load it, or also create a routine that does the initialization for you and aappend that to the SQLite3.c code as well, and use the

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

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

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:

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

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 >

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 >

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

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:

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

Re: [sqlite] Compiling spellfix for sqlite3

2013-08-25 Thread Richard Hipp
On Sun, Aug 25, 2013 at 6:25 AM, Mirat Bayrak wrote: > I needed wanted to build "did you mean this?" feature to my website. I'm > using sqlite3 and learned that i can use spellfix module to order tables > via levenstein. > > I downloaded source code of >

Re: [sqlite] Compiling spellfix for sqlite3

2013-08-25 Thread Keith Medcalf
> I downloaded source code of and compiled spellfix.c (it's inside /ext/misc/) > like this: > gcc -shared -fPIC -Wall -I/tmp/sqlite-src-3071700/ spellfix.c -o spellfix > It compiles successfuly but when i load it into sqlite: > sqlite> .load ./spellfix > I'm getting this error: > Error:

Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised)

2013-05-29 Thread andy
r help! From: Joe Mistachkin Sent: ‎May‎ ‎28‎, ‎2013 ‎6‎:‎36‎ ‎PM To: 'General Discussion of SQLite Database' Subject: Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised) a...@sourcegear.com wrote: > > Why is the default to disable extensions on WP8? > I'm actually not sur

Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised)

2013-05-28 Thread Joe Mistachkin
a...@sourcegear.com wrote: > > Why is the default to disable extensions on WP8? > I'm actually not sure at this point. Previously, it was disabled due to lack of the necessary OS APIs. > > Is there something about the platform that makes extensions not work? > If the extensions are statically

Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised)

2013-05-28 Thread andy
: [sqlite] Compiling SQLite for Windows Phone 8 (revised) a...@sourcegear.com wrote: > > What do I have to do to generate one myself? > Sorry, slight revision... >From a Visual Studio 2012 Phone Tools (you'll need the WP8 SDK) command prompt, the following commands should work: SET

Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised)

2013-05-28 Thread Joe Mistachkin
a...@sourcegear.com wrote: > > What do I have to do to generate one myself? > Sorry, slight revision... >From a Visual Studio 2012 Phone Tools (you'll need the WP8 SDK) command prompt, the following commands should work: SET NCRTLIBPATH=%ProgramFiles(x86)%\Microsoft Visual Studio

Re: [sqlite] Compiling SQLite for Windows Phone 8

2013-05-28 Thread Joe Mistachkin
a...@sourcegear.com wrote: > > What do I have to do to generate one myself? > >From a Visual Studio 2012 Phone Tools (you'll need the WP8 SDK) command prompt, the following commands should work: SET NCRTLIBPATH=%ProgramFiles(x86)%\Microsoft Visual Studio 11.0\VC\WPSDK\WP80\lib SET

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-23 Thread Prashant Shah
Hi, On Thu, May 23, 2013 at 3:23 PM, Stephan Beal wrote: > gcc -fPIC -o libsqlite4.so -shared $(ar t libsqlite4.a) Works :) Thanks. ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-23 Thread Stephan Beal
On Thu, May 23, 2013 at 11:45 AM, Prashant Shah wrote: > Works ! > :). That fix is in the trunk now. > How do I build the libsqlite4.so shared object file ? There is no > .libs folder in sqlite4 > There currently aren't build rules for the .so, but here's a quick-hack

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-23 Thread Prashant Shah
Hi, On Thu, May 23, 2013 at 3:02 PM, Stephan Beal wrote: > Please try: > > - Edit Makefile.linux-gcc and make this change: > -TLIBS = > +TLIBS ?= > > - Run: make TLIBS=-lm Works ! How do I build the libsqlite4.so shared object file ? There is no .libs folder in sqlite4

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-23 Thread Stephan Beal
On Thu, May 23, 2013 at 11:23 AM, Stephan Beal wrote: > The problem is that fts5func.c uses log() from math.h, which requires > linking against -lm. A quick workaround is to copy/paste the output from > where the build fails and add -lm to it: > Please try: - Edit

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-23 Thread Stephan Beal
On Thu, May 23, 2013 at 7:33 AM, Prashant Shah wrote: > libsqlite4.a(fts5func.o): In function `fts5Rank': > /home/user/db/build/sqlite4/src/fts5func.c:159: undefined reference to > `log' > collect2: ld returned 1 exit status > make: *** [sqlite4] Error 1 > The problem is

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-22 Thread Prashant Shah
On Wed, May 22, 2013 at 7:53 PM, Stephan Beal wrote: > make -f GNUmakefile.linux libsqlite4.a(fts5func.o): In function `fts5Rank': /home/user/db/build/sqlite4/src/fts5func.c:159: undefined reference to `log' collect2: ld returned 1 exit status make: *** [sqlite4] Error 1

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-22 Thread Stephan Beal
On Wed, May 22, 2013 at 4:13 PM, Prashant Shah wrote: > How can I compile sqlite4 ? Is there a amalgamation file available ? > Try: make -f GNUmakefile.linux or: ln -s GNUmakefile.linux GNUmakefile make That "should" do it for you. -- - stephan beal

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-22 Thread Prashant Shah
Hi, Also, how do I build a .so file ? Regards. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Compiling libtclsqlite3.so on Cygwin

2013-05-14 Thread Keith Christian
OK Warren, you've helped greatly, thanks again for the assistance, will check other forums if the shared object / dll problems continue. Keith On Tue, May 14, 2013 at 10:53 AM, Warren Young wrote: > On 5/14/2013 09:14, Keith Christian wrote: > >> >> couldn't load file

Re: [sqlite] Compiling libtclsqlite3.so on Cygwin

2013-05-14 Thread Warren Young
On 5/14/2013 09:14, Keith Christian wrote: couldn't load file "./tclsqlite3.o": Exec format error From the Tcl manual: http://tmml.sourceforge.net/doc/tcl/load.html "...such as a .so file under Solaris or a DLL under Windows." Not *.o! My Tcl is awfully rusty, but I managed to get it to

Re: [sqlite] Compiling libtclsqlite3.so on Cygwin

2013-05-14 Thread Keith Christian
Warren, thanks, that built the tclsqlite3.o correctly, and a libsqlite3 file also: -rw-r--r-- 1 kchristian Domain Users 39279 May 14 08:47 tclsqlite3.o -rwxr-xr-x 1 kchristian Domain Users 173214 May 14 08:47 libsqlite3.7.16.2.dll Another question, with a small test script, this error is

Re: [sqlite] Compiling libtclsqlite3.so on Cygwin

2013-05-13 Thread Warren Young
On 5/13/2013 16:36, Keith Christian wrote: gcc -o libtclsqlite3.so -shared tea/generic/tclsqlite3.c -lpthread -ldl -ltcl Don't build it that way. It appears that the TEA build system sees Cygwin and thinks "oh, this is Windows, so it must be VC++ or MinGW". That prevents it from linking to

Re: [sqlite] compiling tools for winrt

2013-01-09 Thread Joe Mistachkin
E. Timothy Uy wrote: > > Hi, in xcompiling tools for winrt I get the errors below. I suspect this > because I am using the vcvars for cross compiling winrt. Is there a way to > make this work? > In order to build for WinRT, extra options are required on the NMAKE command line. Here is an

Re: [sqlite] compiling tools for winrt

2013-01-09 Thread E. Timothy Uy
Thanks Dimiter. I ended up making this change in Makefile.msc 165 165 !IFNDEF NSDKLIBPATH 166 -NSDKLIBPATH = $(WINDOWSSDKDIR)\lib 166 +NSDKLIBPATH = $(WINDOWSSDKDIR)\Lib\win8\um\x86 167 167 !ENDIF On Wed, Jan 9, 2013 at 4:07 PM, Dimiter 'malkia' Stanev wrote: > This looks

Re: [sqlite] compiling tools for winrt

2013-01-09 Thread Dimiter 'malkia' Stanev
This looks like general compile problem. The imported functions below are found in kernel32.dll (kernel32.lib import library). But I'm not sure whether under WinRT kernel32.dll is still used (it might be). If you can either add kernel32.lib to your link flags, or with pragma #ifdef _MSC_VER

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-03 Thread Jonas Malaco Filho
M > To: General Discussion of SQLite Database > Subject: EXT :Re: [sqlite] Compiling SQLite3 with MSVC 2010 > > Richard, > > On Fri, Nov 2, 2012 at 4:14 PM, Richard Hipp <d...@sqlite.org> wrote: > > On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot <ikoro..

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-03 Thread Black, Michael (IS)
From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on behalf of Igor Korot [ikoro...@gmail.com] Sent: Friday, November 02, 2012 6:25 PM To: General Discussion of SQLite Database Subject: EXT :Re: [sqlite] Compiling SQLite3 with MSVC 2010 Richard, On Fri

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-03 Thread Igor Korot
Joe, On Fri, Nov 2, 2012 at 5:32 PM, Joe Mistachkin wrote: > > Igor Korot wrote: >> >> Warning Level: /W4 >> Trying to compile it in the debug mode with WIN32, UNICODE, >> Multi-threaded Debug DLL (/MDd). >> > > The /W4 option produces a lot of compiler warnings, mostly

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-03 Thread Igor Korot
Simon, On Fri, Nov 2, 2012 at 5:05 PM, Simon Slavin wrote: > > On 2 Nov 2012, at 11:52pm, Igor Korot wrote: > >> But C program should compile fine whether you use C or C++ compiler. >> >> Is it not? > > I am repeatedly told that you must tell a C

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Igor Tandetnik
Igor Korot wrote: > But C program should compile fine whether you use C or C++ compiler. > > Is it not? No. A valid C program doesn't have to be a valid C++ program. As a simplest example, C allows implicit conversion from void* to any other pointer type, while C++ does

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Joe Mistachkin
Igor Korot wrote: > > Warning Level: /W4 > Trying to compile it in the debug mode with WIN32, UNICODE, > Multi-threaded Debug DLL (/MDd). > The /W4 option produces a lot of compiler warnings, mostly related to perceived 64-bit portability issues. These warnings are harmless and can be safely

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Keith Medcalf
> Fortunately, all C++ compilers I know can compile C too. Likely because C++ is rarely anything more than syntactic sugar on standard C ... --- () ascii ribbon campaign against html e-mail /\ www.asciiribbon.org ___ sqlite-users mailing list

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Simon Slavin
On 2 Nov 2012, at 11:52pm, Igor Korot wrote: > But C program should compile fine whether you use C or C++ compiler. > > Is it not? I am repeatedly told that you must tell a C compiler that .c files are C files, and that .cpp files are C++ files. Compiling a C file as if

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Igor Korot
Hi, Joe, On Fri, Nov 2, 2012 at 4:34 PM, Joe Mistachkin wrote: > > Igor Korot wrote: >> >> I just read this link. Interesting information. >> IIUC, all those warnings are harmless and they do not appear on other > platforms. >> Which means that either gcc is more forgiving

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Igor Korot
Richard, On Fri, Nov 2, 2012 at 4:32 PM, Richard Hipp wrote: > On Fri, Nov 2, 2012 at 7:25 PM, Igor Korot wrote: > >> Richard, >> >> On Fri, Nov 2, 2012 at 4:14 PM, Richard Hipp wrote: >> > On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Joe Mistachkin
Igor Korot wrote: > > I just read this link. Interesting information. > IIUC, all those warnings are harmless and they do not appear on other platforms. > Which means that either gcc is more forgiving or that I am trying to compile my > application with some very strange configuration. > Or

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Richard Hipp
On Fri, Nov 2, 2012 at 7:25 PM, Igor Korot wrote: > Richard, > > On Fri, Nov 2, 2012 at 4:14 PM, Richard Hipp wrote: > > On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot wrote: > > > >> Hi, ALL, > >> Is anybody trying to compile SQLite with

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Igor Korot
Richard, On Fri, Nov 2, 2012 at 4:14 PM, Richard Hipp wrote: > On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot wrote: > >> Hi, ALL, >> Is anybody trying to compile SQLite with MSVC 2010? >> > > Tests 9e and 9f at http://www.sqlite.org/checklists/3071400#c9 were >

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Richard Hipp
On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot wrote: > Hi, ALL, > Is anybody trying to compile SQLite with MSVC 2010? > Tests 9e and 9f at http://www.sqlite.org/checklists/3071400#c9 were performed using MSVC 2010. > > I am getting a lot of warnings. > Is there any interest

Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll

2012-07-26 Thread Bernhard Mogens Ege
...@sqlite.org] On Behalf Of Joe Mistachkin Sent: 25. juli 2012 22:04 To: 'General Discussion of SQLite Database' Subject: Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll Please use the following and try again: con.ProviderConnectionString = "FullUri=file::memory:?cache=s

Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll

2012-07-25 Thread Joe Mistachkin
Please use the following and try again: con.ProviderConnectionString = "FullUri=file::memory:?cache=shared;"; The "FullUri" property supersedes the "Data Source" property. -- Joe Mistachkin ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll

2012-07-24 Thread Joe Mistachkin
Bernhard Mogens Ege wrote: > > Has _anyone_ made ":memory:;cache=shared" work in C#/System.Data.SQLite? > I think you want "FullUri=file::memory:?cache=shared;" instead (using the code on trunk). -- Joe Mistachkin ___ sqlite-users mailing list

Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll

2012-07-24 Thread Bernhard Mogens Ege
of SQLite Database' Subject: Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll I have now done nearly exactly as you wrote, with these differences: I have added the project System.Data.SQLite.Linq.2010 as well and made it depend on System.Data.SQLite.2010. I did not disable the XML

Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll

2012-07-24 Thread J Decker
also have to select x86(win32) or x64(x64) as a build type for the interop module. Everything else needs to build as Any CPU. On Tue, Jul 24, 2012 at 5:42 AM, Bernhard Mogens Ege wrote: > I have now done nearly exactly as you wrote, with these differences: > > I have added the

Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll

2012-07-24 Thread Bernhard Mogens Ege
I have now done nearly exactly as you wrote, with these differences: I have added the project System.Data.SQLite.Linq.2010 as well and made it depend on System.Data.SQLite.2010. I did not disable the XML generation. I made my project depend on System.Data.SQLite.2010 and

Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll

2012-07-24 Thread Bernhard Mogens Ege
Discussion of SQLite Database Subject: Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll On Mon, Jul 23, 2012 at 3:04 AM, Bernhard Mogens Ege <b...@saseco.dk> wrote: > I am trying to figure out how to compile System.Data.SQLite and in the > process update sqlite from 3.7.12

Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll

2012-07-23 Thread J Decker
On Mon, Jul 23, 2012 at 3:04 AM, Bernhard Mogens Ege wrote: > I am trying to figure out how to compile System.Data.SQLite and in the > process update sqlite from 3.7.12.1 to 3.7.13 as I need the shared cache > option for memory connections. > > > > And when I write 'trying' I am

Re: [sqlite] Compiling System.Data.SQLite with latest sqlite3.dll

2012-07-23 Thread Bernhard Mogens Ege
Well, I ended up trying with 1.0.82.0 as it is now in the repository, and followed the build instructions (which need to be updated ) to generate new dll's with 3.7.14 (as it turns out) included. But I still cannot use the filename syntax (I can use, but it seems to be ignored as I get an empty

  1   2   3   4   >