Programming :: Can't Find Package Sqlite3 - Using TCL On Ubuntu
Jun 9, 2010
I am programming with TCL on Ubuntu Linux. I need to access a SQLite3 database. I loaded the SQLite3 package using sudu apt-get install sqlite3. When I try to open the database in TCL I get the error "can't find package sqlite3"
The line of code is: "sqlite3 db /home/lana/CAL_development/databases/CpRoutine.db"
I also have "package require sqlite3" directive in the program.
View 4 Replies
ADVERTISEMENT
Sep 10, 2010
I'm new to database programming but I'm working in a project that makes use of sqlite3. I know I should #include <sqlite3.h> but it is not there.... i have just sqlite.h. can anyone tell me what to do to have the sqlite3 headers and start using them in my programs
View 9 Replies
View Related
Nov 22, 2010
I'm building a certain RPM package that must require an old version of that same package in order to be installed/upgraded. Is this possible?
For example:
For a package foo v5, somewhere in the spec file:
"Requires: foo >= 4"
I'm declaring this on the Requires tag of the spec file, but when I try to install or upgrade the package (without having the previous required version installed) I get no dependency error! As for other dependencies it all works fine. If, instead, I create a package named "bar" that "Requires: foo >= 4", when installing I do get the expected dependency error. I'm thinking it's not possible to require an old version of the same package.
View 2 Replies
View Related
Jun 16, 2010
I have been given a sql script with SQL commands in it to set up a new sqlite3 db. How do I run such a thing?
View 1 Replies
View Related
Mar 20, 2010
I am running Debian 5.0 (Lenny). I am trying to get Wordpress 2.9.2 to work with Sqlite3. I hear Sqlite is a better database server than MySql because it is lighter on resources and is much smaller. I am very new to Sqlite3, however, so I'm not totally sure what to do here. In my wp-config.php file (the Wordpress configuration file), I've set the database name and user name, and such. Now, I think I know how to create a database, but from that point forward, I'm lost. How do I add the password for Wordpress to access the database. By the way, I made a regular Unix user, called sqlite, for all Sqlite things.
View 1 Replies
View Related
Feb 22, 2010
I am using fedora 10, and everything was working fine till yesterday, i was using yum and my system is updated with yum update as well. Then yesterday i build new kernel from source 2.6.32, and today i boot with that kernel. Now my yum doesnt work.
it gives following error message.
Code:
[root@localhost Download]# yum provides libpulse
Loaded plugins: refresh-packagekit
rpmfusion-free
[Code]....
View 2 Replies
View Related
Sep 11, 2010
Whats best way to compile and test Sqlite3 with DSQLITE_ENABLE_UNLOCK_NOTIFY?
View 1 Replies
View Related
Aug 13, 2009
I am trying to replace my Widows work station with Linux, I am now down to two applications. One is close to being resolved (it's a hardware connector between two pieces of equipment) and the other is replacing Crystal Reports with JasperSoft iReports.
I have been progressively hammering away at this for several months now. And still no progress. All I need to do is connect the stupid report software to my SQLite database.
Now, no I cannot move to another database. This is the solution I have and that's it. I know someone will suggest MySQL or some other db... not in the cards not in this time frame. I have over a year invested in the application/database and have already deployed it for use. And I just don't have the time needed to re-write my application to connect to another database then move all my tables and data over to another database then go through the entire testing cycle again. Okay I think that horse is dead and the position clear.
System Specs:
OS: OpenSuSE 11.0 x86_64
Desktop: KDE 3.5.9 "release 49.1"
CPU: AMD Athlon 7750 Dual-Core
Drives: 3 SATA
[Code].....
And it shows up in iReport after I point to it... but then I get this error from iReport when I try to connect to my DB.
"Unable to add connection. Cannot establish a connection to using org.sqlite.JDBC (Unable to find a suitable driver)."
I have been all over the web and haven't found any clear instructions or directions on where these drivers are stored, how to properly add a driver or how to connect iReport to SQLite... and according the iReport web site I can...
View 14 Replies
View Related
Nov 22, 2010
i am trying to cross compile sqlite3 with following options(i got these options from previous threads in these forum)./configure --host=arm-linux CC=/usr/local/arm-linux/bin/arm-linux-gcc AR=arm-linux-ar STRIP=arm-linux-strip RANLIB=arm-linux-ranlib while executing make command i am getting following error
rm -fr .libs/libsqlite3.so .libs/libsqlite3.so.0 .libs/libsqlite3.so.0.8.6
/usr/local/arm-linux/bin/arm-linux-gcc -shared .libs/sqlite3.o -ldl -lpthread -Wl,-soname -Wl,libsqlite3.so.0 -o .libs/libsqlite3.so.0.8.6
[code]....
View 5 Replies
View Related
Apr 5, 2010
I'm trying to set up a small web server with php and sqlite support. I installed lighttpd, php5, php-sqlite3 and php5-sqlite3. Then, I enabled sqlite and pdo extensions in php.ini:
extension=pdo.so
extension=sqlite.so
extension=pdo_sqlite.so
However, when I try to open a SQLite3 database from php:
$database = new SQLiteDatabase($myDB, 666, $error);
I get the following exception:
SQLiteDatabase::__construct() [sqlitedatabase.--construct]: file is encrypted or is not a database
Some readings in the net make me think that my php settings are not compatible with SQLite3 databases. Is anyone successfully working with SQLite3 databases from PHP5 under Debian? Have you any recommendations? Should I rebuild php maybe?
View 3 Replies
View Related
Jan 6, 2010
First off I'm using OpenSUSE 11.2. I'm trying to compile mediatomb and I'm having difficulty when I run './configure' This is the message I get when it fails:
Code:
configure: error: Support of at least one of mysql or sqlite3 must be configured I have both sqlite3 and mysql installed.
View 8 Replies
View Related
Jun 29, 2010
I have such trouble with YUM:
$ sudo yum update
Total 807 kB/s | 192 MB 04:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Traceback (most recent call last): .....
File "/usr/lib/python2.6/site-packages/yum/sqlutils.py", line 166, in executeSQLQmark
return cursor.execute(query)
sqlite3.DatabaseError: database disk image is malformed
I already try clean yum cache and remove checksum data, rebuild rpm db, check / partition,
but no luck, problem still occurs.
View 8 Replies
View Related
Feb 5, 2010
I'm trying to fix my mbr for windows through ubuntu because I don't have the actual windows xp recovery disk and Grub will not load windows xp. I entered the command "sudo apt-get update" and it loads all the packages but when I am supposed to type in "sudo apt-get install ms-sys" I get the message "E: couldn't find package ms-sys."
View 4 Replies
View Related
Apr 27, 2011
On my 32-bit 10.04 system, I'm trying to run a tcl script that uses tk ("package require Tk") but I'm always getting this error:
can't find package Tk
while executing
"package require Tk"
tcl version is 8.5 whilst tk is 8.4.16-2 and tklib is 0.5-2. It seems that tcl is not able to find tklib so I wonder if there is a way to tell tll where to find the package.
View 1 Replies
View Related
Jan 15, 2010
I download packages (nautilus or squash) for photo bulk resizing, and voil�! I can't find where they end up!
View 9 Replies
View Related
Feb 24, 2011
I installed Ubuntu 9.04 from the CD inside windows 7 as there is a feature to install Ubuntu 9.04 inside windows 7 -----Its really amazing...download any software you have to type some command in terminal.I did that but I am getting an error - COULD NOT FIND PACKAGE
View 2 Replies
View Related
Mar 9, 2011
When executing the following command
> sudo apt-get install acpid
I get the following response
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package acpid
Its a default install of ubuntu server 9.10 with default sources.list for australia. Its a very old computer though, here are the specs:
Pentium 2, 333MHz
Motherboard Chipset Intel 82440LX/EX
ACPI is : Not Supported according to some system detection software I have, is that the reason?
Is there another way to get the computer to shutdown safely when the powerbutton is pressed, instead of power loss occurring?
View 1 Replies
View Related
Apr 18, 2011
I am not able to find following packages:
1.libc6-dev-i386
2.lib32ncurses-dev
3.ia32-libs
4.lib32z-dev
5.lib32readlines-dev
Does any one know if package names have been changed?
View 1 Replies
View Related
May 28, 2011
I couldn't find an amd64 version of the package I wanted, so I forced the architecture on the i386 version I found. (The package in question is xinput-calibrator, so that I can finally get my touchscreen to work.) I later found and added the repository that has the 64 version and tried to install it. It won't install the 64 version because I already have the i386 version. But it also won't let me remove the i386 version.
View 5 Replies
View Related
May 29, 2010
how do i find which package offers gl.h?
View 1 Replies
View Related
May 30, 2010
I can't seem to find the setools-gui package in the repo, and I do not see a deb package for it.I attempted to use alien to install the rpm, but that didn't work. Any idea on how to get the GUI to install?
View 2 Replies
View Related
Jun 27, 2010
When I type this command ;sudo apt-get install build essentialI got this ;
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]...
View 2 Replies
View Related
Jul 29, 2010
I had installed Ubuntu server 10.04 and i am trying to install Webmin for GUI.
When i start with "sudo apt-get install update" the following gets displayed...
Reading package list... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package updates
I had configured correct IP address and i am connected with internet. After googling for some time i figured out that missing repository could cause such problem, which i am not sure.
View 9 Replies
View Related
Sep 8, 2010
I'm newbie in ubuntu and trying to install ffmpeg but there's an error which i couldn't figure out.E: Couldn't find package libmp3lame-devi'm trying somethings according to this article;[URl]
View 7 Replies
View Related
Apr 15, 2011
can't find the prism package in natty. what happend to it? is there anything that replaces prism in natty? i have used prism in combination with the compiz widget layer for certain webpages i had to have on every desktop. was very handy indeed.
View 2 Replies
View Related
Apr 26, 2011
I have ubuntu intrepid installed in one of the amazon servers , when i try to install any software using apt-get i used to get the following error.Code: E: Couldn't find package E: Some index files failed to download, they have been ignored, or old ones used instead.
View 5 Replies
View Related
Apr 27, 2010
I can't find the imagemagick package in the repositories. Anybody knows where I could find a binary for that SW? I tried to install from source but failed... Everything seemed fine up to when I tried "sudo make install", and there I got lots of errors. When i try to run any command, it does not find the libraries..
View 7 Replies
View Related
Mar 28, 2010
I've enable the universe deb in /etc/apt/sources.list yet i still can't find 915resolution. However I've manage to download the source and make install which result in /usr/sbin/915resolution, but when I type 915resolution -l no such command was found. Why?
View 2 Replies
View Related
Jan 29, 2010
Code:
$ uname -a
Linux MyBox 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 21:27:25 UTC 2009 x86_64 GNU/Linux
[code]...
View 3 Replies
View Related
Mar 6, 2010
I did a full install of 9.10 on my Dell Inspirion 1200 laptop & use a Dell 1350 card, after several posts and replies I went to [URL]and followed the instructions for Ubuntu/Debian. This is the result I get....
mike@mike-laptop:~$ sudo apt-get install b43-fwcutter
[sudo] password for mike:
Reading package lists... Done
Building dependency tree
[code]....
I followed this procedure before installation (live CD) and it successfully found and installed the firmware. Apparently it was saved in live CD. What do I need to do?
View 2 Replies
View Related