File sqlite3.h missing

When trying to generate a new Rails application (to test email posting)
I
receive the message:

Installing sqlite3 (1.3.7) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.

    /home/*/.rbenv/versions/1.9.3-p286/bin/ruby extconf.rb

checking for sqlite3.h… no
sqlite3.h is missing.

Try ‘port install sqlite3 +universal’
or ‘yum install sqlite-devel’

Neither of these work.

Where should the library sqlite3 be located? Where is the library search
path set up?

How do I get the file sqlite3.h and where should I store it?

On 23 March 2013 15:59, Tommy P. [email protected] wrote:

Try ‘port install sqlite3 +universal’
or ‘yum install sqlite-devel’

What operating system are you using?

Colin

Sorry, forget to mention this, Ubuntu 12.04.

On Saturday, 23 March 2013 17:04:29 UTC+1, Colin L. wrote:

    /home/*/.rbenv/versions/1.9.3-p286/bin/ruby extconf.rb

checking for sqlite3.h… no
sqlite3.h is missing.

Try ‘port install sqlite3 +universal’
or ‘yum install sqlite-devel’

What operating system are you using?

Colin

Thanks! Worked perfectly. Really astonishing fast help!

On 23 March 2013 17:19, Tommy P. [email protected] wrote:

Thanks! Worked perfectly. Really astonishing fast help!

Glad to be of help

Colin

On 23 March 2013 16:10, Tommy P. [email protected] wrote:

Sorry, forget to mention this, Ubuntu 12.04.

sudo apt-get install libsqlite3-dev sqlite3

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs