Fedora :: Compile And Test Sqlite3 With DSQLITE_ENABLE_UNLOCK_NOTIFY?
Sep 11, 2010Whats best way to compile and test Sqlite3 with DSQLITE_ENABLE_UNLOCK_NOTIFY?
View 1 RepliesWhats best way to compile and test Sqlite3 with DSQLITE_ENABLE_UNLOCK_NOTIFY?
View 1 RepliesI am trying to make a simple vector test program, but i can't compile it. Here is the code:
Code:
import java.util.*;
class Vec {
public static void main(String args [ ]) {
[Code]....
I'm trying to compile and link a program to test parapin.
Code:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "parapin.h"
int main(int argc, char *argv[])
{ ...
[Code]....
It looks like the library is found (no error anyway) but the functions in it are not seen. Text at the beginning of libparapin.a includes function names as used in the test program, and parapin.h declares them.
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 have installed Postfix + Amavisd-new, then I am started all services (and configured main.cf and master.cf to use amavis).
The questions are:
1) I am trying to test antivirus scan using eicar test virus
Code:
And the message is successfully delivered to mailbox with mark "CLEAN" in maillog. But I cant see any attachment using
Code:
Where is my mistake?
2) Should I update clam and how I can do it?
3) Is spamassassin enabled by default in amavis (I have started daemon)?
4) Where configuration files of spamassassin is stored?
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 RelatedI 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 RelatedI 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]....
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
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]....
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
View 9 Replies View RelatedI'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 am trying to install mysql 5.1.44..so i downloaded the binary package, i extracted it and then followed the instructions that were in the manual but i keep getting this error when running this command
Code:
scripts/mysql_install_db --basedir=/home/mosty/mysql
the error is
Code:
Installing MySQL system tables...
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
[code]....
You can try to start the mysqld daemon with:
shell> /home/mosty/mysql/bin/mysqld --skip-grant &
and use the command line tool /home/mosty/mysql/bin/mysql to connect to the mysql database and look at the grant tables:
shell> /home/mosty/mysql/bin/mysql -u root mysql
mysql> show tables
I have created mobility of 20 nodes and vbr traffic using following attached script I executed the file as ns234 vbr.tcl I got the vbr.tr and vbr.nam but I was unable to load the graph using matlab <trgraph> I thought problem with is vbr.tcl script.
View 1 Replies View RelatedI just installed Fedora, and I noticed there is no option during the boot-up process to do a memory test -- as compared to Ubuntu.
View 1 Replies View RelatedCode:
Fedora 14 xfce
2.6.35.10-74.fc14.x86_64
HP Mini 210
arecord -L
default
Default
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog .....
I was trying to make a skype call to someone. However, I can hear them, but they can't hear me. I did a skype sound test. And discovered it was my mic not working. However, I can't see any configuration to see if my mic is muted or not.
SQLite3 newbie and C++ newbie. I have a little C++ program that I am attempting to connect to a test database.#include <iostream>using namespace std;#include <sqlite3.h>int main ()
View 1 Replies View RelatedWhen running yum update, I've been getting this:
Quote:
I installed gstreamer from sources 10.0.30 When i tried to test it as in the README, i got this error message
[Code]...
I had installed and checked lamp stack last night but today when I type http://localhost the fodora test page for apache didn't come up. It is just blank. I had also configured apache to load after every boot.
View 14 Replies View RelatedI have a laptop with 1 hard drive (80gb)
I currently run CentOS 5.4 and I want to create an image of my current hard drive so that I can play it in a VM Player (VirtualBox).
What utility can I use to create a disk image? Also, Since i'm only using 20gb. I think I want to make a "sparse" file so that the image only takes up about 20gb.
Now... if there is an easier way to do this... let me know. I tried a few tutorials online with no progress. I spent all day yesterday trying to figure this out. Literally, all day.
I succeeded in setting up a vnc server on a fedpra9 tested it locally and it was successfully connected but no connection done from other machine in the network , even though they can see each othervnc server is pingable se linux is disabled
View 9 Replies View RelatedI just got a graphics card ATI installed on my fedora 10. I would like to see the functioning of the same with some kind of game. Any suggestions for game under fedora 10 to see the graphics application.
View 1 Replies View RelatedHeadphone plugged in the front and the mixer master channel is set to "headphone". System Settings -> Multimedia is set untouched. And the installation configured (in order):
- HDA Intel (VT1708B Analog)
- PulsAudio Sound Server
- Default
Opening System Settings -> Notifications and playing a sound works fine.
Opening System Settings -> Multimedia and hitting the test button: no sound.
Junk: no sound
Amarok: no sound
Why is it that the notifications work (without pulse) but anything else fails? How can I get it to work?
The disk I obtained from a seller runs fine in live mode (no installation) on my Windows XP. I liked what I saw. However, when trying to run cd live on my Linux PC it won't run. Linux pc currently has Kubundu 9.1 installed. Previous to that I had Mint 8 installed, but again Fedora 12 cd would not run. After getting an initial Fedora startup screen, I next receive a bunch of text, ending with a text screen of about 30 lines with "OK" in green to right of each line. At bottom is blinking cursor. That ends my machine's live running of cd.
Obviously, if I can not get cd to run live on linux pc, I'm not going to be able to install. (I should add that ubuntu, kubuntu, mint 8 and pclinuxos all ran successfully live on machine and three of them were installed successfully.) Perhaps, Fedora is at war with Ubuntu et al.
about 6 months ago i reformatted my computer, and after it was all said and done i lost my audio in the process, well i tried countless times to fix it and every time i go to install realtek AC 97 it pops up during installation saying "the software you are installing has not passed the windows logo testing to verify its compatibility with the windows XP" i have read many forums and i see this is a frequent problem to some folks.
> Mainboard : Dell Computer Corp. 02Y832
> Chipset : Intel i865G
> Processor : Intel Pentium 4 @ 2400 MHz
> Physical Memory : 1024 MB (4 x 256 DDR-SDRAM )
[Code].....
how to host a test website on /home/user? with selinux on (if possible) on fedora 12
View 1 Replies View RelatedWhat software can be used to test harddrive from linux in order to find bad blocks, fix them, etc.
View 14 Replies View Related