HELP: I can not install sqlite3 (evil gem)

vmserver:~# gem install sqlite3
Building native extensions. This could take a while…
ERROR: Error installing sqlite3:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h… yes
checking for sqlite3_libversion_number() in -lsqlite3… yes
checking for rb_proc_arity()… no
checking for sqlite3_initialize()… no
checking for sqlite3_backup_init()… no
checking for column_database_name()… yes
checking for sqlite3_enable_load_extension()… yes
checking for sqlite3_load_extension()… yes
creating Makefile

sh: make: command not found

Gem files will remain installed in
for inspection.
Results logged to

Can someone help me?

2011/8/11 Vincius R. [email protected]:

sh: make: command not found

Results logged to

Can someone help me?

“command not found” sounds like a pretty obvious clue :slight_smile:

Besides that, have you looked at the file mentioned above to see if
there’s any other useful information there?

Hassan S. ------------------------ [email protected]

twitter: @hassan

2011/8/11 Vincius R. [email protected]

Can someone help me?

Are you logged in as root?
Otherwise try “sudo gem install sqlite3”.
(Maybe you are not allowed to call “make” as a normal user, I can’t
that a system does ship without “make”).

Yes, I’m logged in as root.
I’m using debian lenny…

$ apt-get install build-essential