yea, this package is pretty much broken... I spent quite some time trying to get it to work, but there was just no love. Seems to be a problem between Ruby versions, not the bdb package itself. The tarball provided builds flawlessly on FreeBSD's 1.9 I think I'll set this free into the wild for someone with more patience.
Search Criteria
Package Details: ruby-bdb 0.6.6-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2014-03-25)
| Package Base: | ruby-bdb |
|---|---|
| Description: | Ruby interface to Berkeley DB |
| Upstream URL: | http://raa.ruby-lang.org/project/bdb |
| Category: | lib |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 2 |
| First Submitted: | 2006-10-10 16:08 |
| Last Updated: | 2012-01-12 22:40 |
Dependencies (1)
Required by (1)
Sources
Latest Comments
Comment by jnbek
Comment by bentglasstube
Doesn't seem to build with ruby 2.1. I had to build against ruby 1.9.3-p545. Additionally, the extconf.rb file only looks for libdb versions 4.7 and lower, so I had to add 5.3 to the version array in bdb-0.6.6/src/extconf.rb line 79.
I'm not really sure how to submit this information so that this package can be updated but hopefully this comment will help anyone in the future.
Anonymous comment
Had an error:
creating Makefile
extconf.rb: Leaving directory `src'
make[1]: Entering directory `/tmp/yaourt-tmp-temerit/aur-ruby-bdb/src/bdb-0.6.6/src'
compiling sequence.c
compiling env.c
compiling common.c
compiling delegator.c
compiling recnum.c
compiling cursor.c
compiling lock.c
compiling transaction.c
compiling log.c
compiling bdb.c
linking shared-object bdb.so
make[1]: Leaving directory `/tmp/yaourt-tmp-temerit/aur-ruby-bdb/src/bdb-0.6.6/src'
==> Entering fakeroot environment...
==> Starting package()...
make[1]: Entering directory `/tmp/yaourt-tmp-temerit/aur-ruby-bdb/src/bdb-0.6.6/src'
/bin/install -c -m 0755 bdb.so /tmp/yaourt-tmp-temerit/aur-ruby-bdb/pkg/usr/lib/ruby/site_ruby/1.9.1/x86_64-linux
installing default bdb libraries
make[1]: Leaving directory `/tmp/yaourt-tmp-temerit/aur-ruby-bdb/src/bdb-0.6.6/src'
install: cannot stat `README': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build ruby-bdb.
==> Restart building ruby-bdb ? [y/N]
==> ---------------------------------
==>
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
Went into /tmp/aur-<username>-tmp/aur-ruby-bdb/src/bdb-0.6.6/src and copied README.en to README. That fixed it.
Anonymous comment
does not build...
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- features (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from extconf.rb:115:in `<main>'
extconf.rb: Leaving directory `src'
make[1]: Entering directory `/home/brian/Development/ruby-bdb/src/bdb-0.6.5/src'
make[1]: *** No rule to make target `all'. Stop.
make[1]: Leaving directory `/home/brian/Development/ruby-bdb/src/bdb-0.6.5/src'
make: *** [all] Error 2