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 /usr/lib/ruby/gems/1.8/gems/sqlite3-1.3.4 for inspection.

Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-1.3.4/ext/sqlite3/gem_make.out


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?

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 imagine that a system does ship without “make”).

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


$ apt-get install build-essential