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.
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
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.
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.
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.
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...
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
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?
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.
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.
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."
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.
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
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?
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.
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?
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.
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]
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.
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.
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..
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?
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?