zedshaw/mongrel2 — Issue #86: make fails with fatal error: sqlite3.h: No such file or directory compilation terminated. 
Author: kracekumar
Created: 2011-12-19 18:57:28+00:00
State: open

I cloned the mongrel2 and ran `make` command and finally ended in following error.

kracekumar@python-lover:~/codes/python/mongrel2$ make
cc -g -O2 -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/config.o src/config/config.c
src/config/config.c:42:21: fatal error: sqlite3.h: No such file or directory
compilation terminated.
make: *** [src/config/config.o] Error 1

I looked into the src/config/config.c at line no 42 there is a header inclusion as follows `#include `, I grepped for sqlite3.h but I couldn't find it.

Note: I have installed sqlite3 already in my system so I commented and tried installation found in many places sqlite3 is required.