[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
[UPDATED] SQLite 3.6.7 (toolchain build)
12-16-2008, 09:06 AM (This post was last modified: 12-31-2008 05:27 PM by edgecrush3r.)
Post: #1
[UPDATED] SQLite 3.6.7 (toolchain build)
*UPDATE*
I've rebuilded version SQLite 3.6.7 last nite, and uploaded it for those who are interested.

http://files.codeware-consultancy.com/in...me&srt=yes

You find the pre-compiled lean-and-mean binairies.

*Installation*

untar/unzip the file contents of the package and copy the folder contents to your nmt.

on the nmt box (using telnet)
go to the directory where you copied the files.
mkdir /usr/local/bin (if not already created)
cp usr/bin/sqlite3 /usr/local/bin/
cp lib/* /usr/local/lib

then just add the /usr/local/bin to your path directory:
PATH=$PATH:/usr/local/bin [enter]

just to be on the safe side, i always run ldconfig after installing fresh libraries:
ldconfig [enter]

*testing*
You can test out sqlite by running the following commands.
type the following using telnet:
sqlite3 testdb [enter]
>>SQLite: create table test (id int(3));
>>SQLite: .tables
>>SQLite: .exit

Thats it... you created a database called testdb, containing a table named test.

Happy new YEAR everyone Wink
Find all posts by this user
12-16-2008, 11:03 AM
Post: #2
RE: SQLite 3.6.62 (toolchain build)
Very nice job.... I'm sure it will become handy for some people here.

It's still rumoured that Syabas will also include an SQLite to handle some future features... time will tell!
Find all posts by this user
12-16-2008, 11:05 AM
Post: #3
RE: SQLite 3.6.62 (toolchain build)
yes we will i hope to see it soon Smile anyway nice work

-----------------------------------------------------------------------------------------------------
Syabas Technology Inc. DBA Popcornhour
Find all posts by this user
12-18-2008, 03:31 PM
Post: #4
RE: SQLite 3.6.62 (toolchain build)
I'm unfamiliar w/SQL data bases. "Lite" implies this application does not implement all the features of MySQL. I am also unfamiliar with how I want to use the SQL data base. Let me explain: I want to port SqueezeCenter to the NMT. In order to port SqueezeCenter I believe I need both PERL and MySQL. I am not interested in making a custom version of SqueezeCenter. Using the stock version of SqueezeCenter is the objective. By what means -or- who could I talk to in order to determine if SQLite will work w/SqueezeCenter w/o modifications.

...thanks

(mvpmc.org developer)
Find all posts by this user
12-18-2008, 04:37 PM
Post: #5
RE: SQLite 3.6.62 (toolchain build)
You can't simply take the MySQL based version of SqueezeCenter and use it with SQLlite without modifications.

MySQL and SQLlite are two different SQL engines with different use cases. They are not compatible with each other and while it is possible to port an application build for MySQL to SQLlite, it can be quite a bit of work.

mediatankcontroller.com: the home of MediatankController 1.0 for Adobe AIR and MediatankController 1.0 for iPhone and iPod Touch.
Visit this user's website Find all posts by this user
12-18-2008, 05:27 PM
Post: #6
RE: SQLite 3.6.62 (toolchain build)
(12-18-2008 04:37 PM)Niels Leenheer Wrote:  You can't simply take the MySQL based version of SqueezeCenter and use it with SQLlite without modifications.

MySQL and SQLlite are two different SQL engines with different use cases. They are not compatible with each other and while it is possible to port an application build for MySQL to SQLlite, it can be quite a bit of work.

Thanks, I was afraid of that. Porting is not out of the question, but (w.r.t. SqueezeCenter) now that SlimDevices is own by Logitech the matter of supporting a ported product (even an open source project) supported by a commercial entity appears to be "grey". (i.e. Before downloading SqueezeCenter there is an agreement you have to "agree to". Yes, I know there are legitimate ways around it, but still.)

It look like I have 2 porting mountains to climb here. One of which is: What are the chances / difficulties associated w/porting MySQL to the NMT?

(mvpmc.org developer)
Find all posts by this user
12-19-2008, 09:38 AM (This post was last modified: 12-19-2008 09:48 AM by edgecrush3r.)
Post: #7
RE: SQLite 3.6.62 (toolchain build)
(12-18-2008 03:31 PM)stuart Wrote:  I'm unfamiliar w/SQL data bases. "Lite" implies this application does not implement all the features of MySQL.

SQLite isnt MySQL, but an DB implementation much more suitable for lighter machines such as embedded devices. The main reason why i've uploaded this, is because quiete some packages (UPNP servers) depend on it.

I think recompiling MySQL should be quiete easy... but with cross compiling you'll never know until it runs Smile Anyway.. I will post it, if i get to it.
Find all posts by this user
12-30-2008, 09:39 PM
Post: #8
RE: SQLite 3.6.62 (toolchain build)
(12-16-2008 09:06 AM)edgecrush3r Wrote:  For those interested i compiled the latest SQLite last night from the repository, using the mipsel-linux-uclibc toolchain Wink

You find the pre-compiled lean-and-mean binairies, so
you just extract and enjoy.

http://files.codeware-consultancy.com/in...me&srt=yes

I am new on installing a database engine on a nmt

could you tell how i can test if it is working and if there are settings i have to change

Thanks in Advance
Find all posts by this user
12-31-2008, 05:28 PM
Post: #9
RE: [UPDATED] SQLite 3.6.7 (toolchain build)
I just added a complete short installation/test guides.

Hope this helps Wink

Cheers,
Tony
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Apps] opkg A100/A110 - Updated 21st Sep vaidyasr 405 84,636 05-15-2013 06:04 PM
Last Post: ricardojrm
Star [CSI] Community Software Installer 2.7.2 ** UPDATED DEC 28th ** Ger Teunis 580 263,691 04-10-2013 12:42 PM
Last Post: timwest73
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,060 01-19-2013 04:07 PM
Last Post: winfried_laane
Music MPD installation howto (updated 4 May 2009) gwillem 494 285,968 07-20-2012 09:43 PM
Last Post: krimpenrik
Music fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009] Mr Segfault 53 45,261 10-12-2011 01:04 AM
Last Post: spud
  [Apps] Qt4 WebKit - Web Browser - A110/100 - Updated 28th June vaidyasr 168 63,569 07-05-2011 10:31 AM
Last Post: gkreidl
  Utils v0.0.4 - A110 - Released - Updated 5th July vaidyasr 84 25,125 01-31-2011 01:21 PM
Last Post: dc11ab
  [split] [Apps] I-pkg A100/A110 - Updated 27th Jan linky 1 1,789 01-27-2011 10:11 PM
Last Post: dc11ab
Video Rutabaga Subtitle Cleaner application 1.4 Updated rutabaga 5 4,809 10-28-2010 07:48 AM
Last Post: rutabaga
  [Request] Could someone build pwnat on the NMT? samy 3 1,907 10-13-2010 07:55 AM
Last Post: samy

Forum Jump: