From: jjenning@... (jared l. jennings) Date: 2001-07-27T05:33:32+09:00 Subject: [ruby-talk:18596] Re: Which database should I use? On Fri, Jul 27, 2001 at 05:21:12AM +0900, Massimiliano Mirra wrote: > On Fri, Jul 27, 2001 at 02:40:37AM +0900, Michael Neumann wrote: > > I've successfully tried Oracle, DB2, ODBC, InterBase, MySQL, msql, PostgreSQL with Ruby. > > So I have NetBSD, with Debian this should work as well (even better, I think). > > Where is your problem, exactly? > > Michael, hello to you and to everybody. > > I'm a newbie, after not quite getting on friendly terms with Python > for some weeks, a couple of days ago I've began playing with Ruby and > fell completely in love with it. My sincere congratulations to Matz > and to The Pragmatic Programmers for the incredible work. > > I'm in a similar situation as the original poster of this thread. I > run Debian (testing aka woody) with Ruby 1.6.3 and PostgreSQL 7.1. I > have tried to compile libpgsql-ruby-0.6.4 by following the steps in > the README file, and this is the output of ``ruby extconf.rb'': > > extconf.rb:6:in `require': No such file to load -- mkmf (LoadError) > from extconf.rb:6 > > According to the README the version requirements are met, where should > 'mkmf' be/where can I get it? > > Massimiliano > My copy is in /usr/lib/ruby/1.6... yours should be too since you're running Debian. I'll email you mine, although if you're missing mkmf.rb you might be missing more. You might want to get 1.6.4 or 1.7.1, although those are in unstable. To install things from unstable, put this line in /etc/apt/sources.list: deb http://http.us.debian.org/debian unstable main then apt-get update, apt-get install things you want, and take the line back out unless you want all your packages to be upgraded to unstable the next time you do an apt-get upgrade. -- Doubt is a pain too lonely to know that faith is his twin brother. - Kahlil Gibran