Hi
Has anyone successfully compiled ruby 1.9 (stable snapshot or 1.9.1-p0)
on OpenBSD? Compiling fails with:
$ make
compiling Win32API
compiling bigdecimal
compiling curses
compiling dbm
gcc -shared -fPIC -o ../../.ext/x86_64-openbsd4.5/dbm.so dbm.o -L.
-L../.. -L. -Wl,-E -ldb -lm -lc
/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
*** Error code 1
Stop in /home/aapo/ruby/ext/dbm (line 158 of Makefile).
*** Error code 1
Stop in /home/aapo/ruby (line 309 of Makefile).
DB is installed
$ pkg_info |grep db
db-4.6.21 Berkeley DB package, revision 4
System is OpenBSD/amd64
$ uname -a
OpenBSD asterix 4.5 GENERIC#3 amd64
OpenBSD 4.5-current (GENERIC) #3: Mon Mar 30 22:14:01 EEST 2009
r...@asterix:/usr/src/sys/arch/amd64/compile/GENERIC
Current, but I don't think that is the issue.
So, can I get advice to work this out?
Aapo Lehtinen
--
http://zenitisti.dy.fi