BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
SQLite
Talkback
 Go back to the SQLite page
 Post a new Talkback comment!
Large File Support error
 By matjako - Posted on February 6, 2007 - 03:21:08   (#21285)
 Current version when comment was posted: 3.2.2
I grabbed the latest source tarball from sqlite.org. It auto-configures and compiles without an error - too good to be true. There is still this "kernel does not support large files" error. A quick grep around the sources shows that this comes from os_unix.c, after checking results of flocking fctrl() calls. It returns EINVAL and the SQL engine, in turn, SQLITE_NOLFS. I concluded file locking is somehow broken in BeOS after having found some weird "flock_server" hack installed by the SVN client. I tried disabling it but still no luck... Bummer. It is a good database engine! :(




Re: largefile support
 By mmu_man - Posted on January 18, 2007 - 16:51:38   (#21215)
 Current version when comment was posted: 3.2.2
usually largefile crap is caused because configuration scripts try to find foo64 versions of syscalls, which we don't have as we already have 64 bit offsets natively.
So it's a moot point.
If it does that in zeta and not in R5 then it's indeed something weird in zeta, or maybe it just doesn't try it in R5 and tries in zeta but fails at some point.

THREADSAFE - who's current BeOS port maintainer?
 By s_d - Posted on May 3, 2006 - 16:43:57   (#19634)
 Current version when comment was posted: 3.2.2
Future of BeOS Firefox depend's on updating sqlite main tree with ability to build with THREADSAFE option

https://bugzilla.mozilla.org/show_bug.cgi?id=330340

currently it looks depending on pthreads, but I wish to avoid BeZilla dependency on pthreads by any means...

sqlite 3.3.4
 By vasper - Posted on March 13, 2006 - 17:08:41   (#19200)
 Current version when comment was posted: 3.2.2
I compiled the latest version on Zeta and it gives the same error: "SQL error: kernel lacks large file support". Perhaps yellowTAB should take a look at it.

Re: Problem
 By jan__64 - Posted on January 10, 2006 - 04:28:23   (#18824)
 Current version when comment was posted: 3.2.2
This works fine on BeOS R5 here. It sounds like a problem with Zeta; probably recompiling on Zeta is necessary. I will do that, when I have some time.



Problem ?
 By Baldur - Posted on January 2, 2006 - 07:31:06   (#18730)
 Current version when comment was posted: 3.2.2
I try this version under Zeta 1.1 (the 3.2.8 too), and i got this error :
$ sqlite3 test1.db
SQLite version 3.2.2
Enter ".help" for instructions
sqlite> create table toto (no int);
SQL error: kernel lacks large file support

What can i do to solve this problem ?

undefined reference to `sqlite3_clear_bindings'
 By hdguajardo - Posted on October 22, 2005 - 21:28:56   (#18104)
 Current version when comment was posted: 3.2.2
I get this error when using the sqlite3_clear_bindings function

Error : ../TestNJB/(Objects.TestNJB)/TestNJB.o:
undefined reference to `sqlite3_clear_bindings'
Error : collect2: ld returned 1 exit status

Is it not included in the library?

pysqlite works!
 By Blue Monk - Posted on September 21, 2005 - 04:24:53   (#17783)
 Current version when comment was posted: 3.2.2
Tips to people building pysqlite - the setup.py script ids the platform as "posix;" under that section of the script, edit the -L argument to ld_so_beos so that it applies to our favorite OS, or run a command like this to create the output of the link step manually:

/boot/home/config/lib/python2.2/config/ld_so_beos /boot/home/config/lib/libpython2.2.so build/temp.beos-5.0-BePC-2.2/_sqlite.o build/temp.beos-5.0-BePC-2.2/encode.o build/temp.beos-5.0-BePC-2.2/strsep.o -L/boot/home/config/lib -lsqlite3 -o build/lib.beos-5.0-BePC-2.2/_sqlite.so

This should allow you to finish the "python setup.py build" step of the install, and proceed with the rest without problem.

 
BeGroovy
  Recent Downloads  -  # 440
Total Downloads  -  # 3,013
Total Views  -  # 2,315
User Ratings  -  N/A
  Class Libraries
Databases
1.  BePodder - 9.80
2.  QEMU - 9.68
3.  ScummVM - 9.57
4.  Jukebox - 9.44
5.  Haiku AGP busm... - 9.35
6.  cpu_fix - 9.31
7.  vim6 - 9.31
8.  VNCServer - 9.30
9.  Beezer - 9.26
10.  HandBrake - 9.25
1.  Ati Radeon G... - 32,894
2.  BeOS 5 Perso... - 32,464
3.  Realtek RTL8... - 20,354
4.  Ensoniq Audi... - 17,700
5.  USB Joystick... - 16,560
6.  BePDF - 15,356
7.  ATI Rage 128... - 13,356
8.  S3 Trio 64 v... - 10,307
9.  VLC Media Pla... - 9,563
10.  DOSBox - 9,477
You are not logged in.
 Login

 
Unless otherwise noted, everything is copyright © 1999-2011 Haikuware. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.