[DRE-maint] Bug#533304: rubygems1.8: "gem install" points make to non-existing /opt/local/lib/ruby/1.8/i686-darwin9.2.2

Daigo Moriwaki daigo at debian.org
Tue Jun 16 15:25:33 UTC 2009


Hi Andreas,

>> I think the following lines of
>>    /var/lib/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/Makefile
>> are part of the problem:
>>
>>> topdir = /opt/local/lib/ruby/1.8/i686-darwin9.2.2
>>> INCFLAGS = -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.2 -I.
>>> arch = i686-darwin9.2.2
>>> sitearch = i686-darwin9.2.2
>>> vendorarch = i686-darwin9.2.2
>
> Since Debian is not darwin, the Makefile provided by the gem won't work. It is
> not the problem of Debian's rubygems.

In my environment (x86), the gem was successfully built.
(However, I strongly recommend that you should use Debian's package)

% sudo gem install sqlite3-ruby
Building native extensions.  This could take a while...
Successfully installed sqlite3-ruby-1.2.4
1 gem installed
Installing ri documentation for sqlite3-ruby-1.2.4...
Installing RDoc documentation for sqlite3-ruby-1.2.4...

% ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

% gem -v
1.3.2

% cd /var/lib/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api
% sudo ruby extconf.rb
checking for fdatasync() in -lrt... yes
checking for sqlite3.h... yes
checking for sqlite3_open() in -lsqlite3... yes
creating Makefile

You should check if you have libsqlite3-dev installed.


Regards,
Daigo

-- 
Daigo Moriwaki
daigo at debian dot org






More information about the Pkg-ruby-extras-maintainers mailing list