Can anyone confirm whether the db4 port is working on -current on
macppc at the moment?
I was trying to install cyrus, but it's hanging on ctl_cyrusdb -r at
startup.
Simplifying things I've tested with
/usr/local/share/examples/db4/ex_env.c which has also been hanging
sometimes when it does 'dbenv->open'. I'm pretty new to gdb and haven't
worked out how to trace into libraries yet so haven't found more about
where it's called from (well, it's from __os_sleep but I'm not sure
where that's called from).
Same thing on i386 is working fine as far as I can determine.
If anyone could point me in a suitable direction to start looking I'd
appreciate it, but just knowing whether it works for anyone else would
be a good start..
Here's what I did to get ex_env running:
install db4 package,
cd /usr/local/share/examples/db4
gcc -o /tmp/ex_env -I /usr/local/include/db4 -ldb -L /usr/local/lib/db4
ex_env.c
mkdir /tmp/database
/tmp/ex_env
This should output 'Setup env' then 'Teardown env', on my problem box I
just get 'Setup env' then have to ^C most of the time, but (just to
confuse me) sometimes it runs correctly. I haven't had 'ctl_cyrusdb -r'
run correctly though.
Thanks in advance for any pointers...
Stuart
- this is running a recent snap on a new Mac Mini. Haven't used macppc
before but can't think of anything I might have done wrong so far.
OpenBSD 3.8-beta (GENERIC) #403: Thu Aug 18 19:14:19 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 536870912 (524288K)
avail mem = 483835904 (472496K)
using 1254 buffers containing 26841088 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: 7447A (Revision 0x102): 1249 MHz
etc. (more at http://vervain.spacehopper.org/~sthen/macmini.dmesg)