Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get SQLite3 in the pkg-config search path so I can build Postler from source?

I'm trying to build Postler from source. I branched it from bzr, and the first step in the install process says to navigate to the postler folder and type "./waf configure", which I did. Upon typing that, it runs a bunch of checks and decides SQLite3 isn't in the pkg-config search path. How do I get it in the search path? I already installed it via sudo apt-get install sqlite3. I'm running Ubuntu 11.10.

like image 851
weberc2 Avatar asked Feb 26 '12 18:02

weberc2


People also ask

What is the correct way to install sqlite3 in Python?

Step 1 − Go to SQLite download page, and download precompiled binaries from Windows section. Step 2 − Download sqlite-shell-win32-*. Step 3 − Create a folder C:\>sqlite and unzip above two zipped files in this folder, which will give you sqlite3.

How do I connect sqlite3 to Python?

Connect To Database#!/usr/bin/python import sqlite3 conn = sqlite3. connect('test. db') print "Opened database successfully"; Here, you can also supply database name as the special name :memory: to create a database in RAM.

What is sqlite3 package?

SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world.


1 Answers

You need to install the development package via sudo apt-get install libsqlite3-dev.

like image 70
Roma Avatar answered Sep 23 '22 05:09

Roma