On Mon, Jun 14, 2010 at 4:13 PM, Andrew from Minsk
<[email protected]> wrote:
> I execute 'gem install do_sqlite3 -- "--with-sqlite3-dir=/usr/bin --
> with-sqlite3-include=/usr/include --with-sqlite3-lib=/usr/lib"' as
> root and get the following output:
>
> Building native extensions.  This could take a while...
> ERROR:  Error installing do_sqlite3:
>        ERROR: Failed to build gem native extension.
>

Are you sure that sqlite3 headers and libs are in /usr ?

> /usr/bin/ruby extconf.rb --with-sqlite3-dir=/usr/bin --with-sqlite3-
> include=/usr/include --with-sqlite3-lib=/usr/lib
> checking for sqlite3.h... no

You're supplying -dir option, which overrides -include and -lib ones.

Please use either --with-sqlite3-dir or (--with-sqlite3-include and
--with-sqlite3-lib)
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

-- 
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/merb?hl=en.

Reply via email to