LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   error: sqlite3.h: No such file or directory (https://www.linuxquestions.org/questions/linux-software-2/error-sqlite3-h-no-such-file-or-directory-771732/)

Legolas327 11-26-2009 10:31 AM

error: sqlite3.h: No such file or directory
 
Hello, I am trying to upgrade from Tanogps version 0.93 to the latest 0.99. The Ubuntu repositories only have the 0.93 version so I am try to load from source. I did the typical "sudo ./configure && make; make install" approach and the configured part seems to have no errors but at the end of the make I get some permission errors and them some header errors. I am not familiar enough in the src code compiling to sort it out. If someone could tell me how to get the sqlite3.h headers installed I would appreciate it. sqlite and sqlite3 is installed but the headers are not found. Also I see some permission denial going on at the end (more than I show here).

my comp is an Asus eeepc running eeepc Juanty

2.6.29-1-netbook #0array1 SMP Mon Feb 23 15:02:03 MST 2009 i686 GNU/Linux

here is the code part with errors:

Code:

Making all in src
make[2]: Entering directory `/home/gray/Downloads/tangogps-0.99.1/src'
gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2    -DRELEASE -DHAVE_CONFIG_H -Wall -O2 -g -g -O2 -MT geo_photos.o -MD -MP -MF .deps/geo_photos.Tpo -c -o geo_photos.o geo_photos.c
geo_photos.c:20:21: error: sqlite3.h: No such file or directory
geo_photos.c: In function ‘geo_photo_dialog_image_data_next’:
geo_photos.c:616: warning: implicit declaration of function ‘strptime’
geo_photos.c: At top level:
geo_photos.c:1138: fatal error: opening dependency file .deps/geo_photos.Tpo: Permission denied
compilation terminated.

Code:

/usr/bin/install: cannot remove `/usr/local/share/locale/bg/LC_MESSAGES/tangogps.mo': Permission denied

JohnGraham 11-26-2009 10:42 AM

It looks like you need to install libsqlite3-dev:

Code:

sudo apt-get install libsqlite3-dev

Legolas327 11-27-2009 06:35 PM

Yep! That did it!

Thanks John :)


All times are GMT -5. The time now is 05:56 AM.