Newbie question. How to install a new package?

Well, I installed URI by simply popping it into the \lib\ directory,
which gave me an uri.rb script plus an uri subfolder.

Now I’m looking at installing bdb (0.3.3), and it looks somewhat more
complicated. What am I supposed to do with it?

···


Giuseppe “Oblomov” Bilotta

Axiom I of the Giuseppe Bilotta
theory of IT:
Anything is better than MS

Giuseppe Bilotta wrote:

Well, I installed URI by simply popping it into the \lib\ directory,
which gave me an uri.rb script plus an uri subfolder.

Now I’m looking at installing bdb (0.3.3), and it looks somewhat more
complicated. What am I supposed to do with it?

Dumbly forgot the details. Running Ruby 1.6.7 from the 167-2
WindowsInstaller on Windows XP Pro.

···


Giuseppe “Oblomov” Bilotta

Axiom I of the Giuseppe Bilotta
theory of IT:
Anything is better than MS

Now I'm looking at installing bdb (0.3.3), and it looks somewhat more
complicated. What am I supposed to do with it?

See the file README.en

Installation

   ruby extconf.rb
   make
   make install

You may need to specify :

  --with-db-include-dir=<include file directory for bdb>

  --with-db-lib-dir=<library directory for bdb>

  --with-db-prefix=<prefix for library and include of bdb>

Example :

  ruby extconf.rb --with-db-prefix=/home/ts/local

If you have some problems, contact me in private email

Guy Decoux

ts wrote:

Now I’m looking at installing bdb (0.3.3), and it looks somewhat more
complicated. What am I supposed to do with it?

See the file README.en

Installation

ruby extconf.rb
make
make install

You may need to specify :

–with-db-include-dir=

–with-db-lib-dir=

–with-db-prefix=

Example :

ruby extconf.rb --with-db-prefix=/home/ts/local

Oops. Do I need some extra library for the package? Where can I get a
Win32 build?

···


Giuseppe “Oblomov” Bilotta

Axiom I of the Giuseppe Bilotta
theory of IT:
Anything is better than MS

Oops. Do I need some extra library for the package? Where can I get a
Win32 build?

Well, bdb is just an interface to Berkeley DB distributed by Sleepycat

You can find the source for Berkeley DB at

  http://www.sleepycat.com/download.html

You have pre-compiled version of bdb for cygwin at

   http://www.ruby-lang.org/~eban/ruby/binaries/cygwin/ext/

Guy Decoux

ts wrote:

Oops. Do I need some extra library for the package? Where can I get a
Win32 build?

Well, bdb is just an interface to Berkeley DB distributed by Sleepycat

You can find the source for Berkeley DB at

http://www.sleepycat.com/download.html

You have pre-compiled version of bdb for cygwin at

http://www.ruby-lang.org/~eban/ruby/binaries/cygwin/ext/

Doh. I had hoped for a native win32 port … oh well, I’ll see what I
can do with it.

TVM.

···


Giuseppe “Oblomov” Bilotta

Axiom I of the Giuseppe Bilotta
theory of IT:
Anything is better than MS