[Date Prev][Date Next]
Re: problems under IRIX 6.2, 6.5
At 05:32 PM 1/8/99 -0500, Don Badrak wrote:
>However, now it is not performing at all. It is *very* slow. I haven't
>changed the configuration files (same indexes). I've tried it against DB
>2.4.14, 2.5.9, 2.6.4, and then even went back to 2.3.16, and it's all the
We currently are recommending Berkeley DB 2.3.16. Our code for
later versions is still experimental (in fact DB 2.6.4 itself
is a BETA TEST).
>I tried it under IRIX 6.5 on a 225MHz R10000 Octane (well, all
>Octanes are R10Ks). Slow there, too.
You may be running into a DB2 bug. Try applying our DB2 patch,
here a link to the FAQ answer with details.
I assume all ldbm options are the same on all benched systems...
>Here's how I configure the current release (1.1.2):
> setenv CFLAGS "-I /usr/local/include"
> setenv LDFLAGS "-L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib"
> setenv LDFLAGS "-Wl,-woff,84 -Wl,-woff,85 $LDFLAGS"
> setenv LIBS "-lbind -lpthread"
I don't recommend putting -lpthread in your $LIBS (or $LDFLAGS).
If you let configure find -lpthread by itself then only those
utilities requiring -lpthread will be linked with it. But
this isn't the problem.
Note: I can easily add a test for -lbind. I just need to
know what routine to test for.
>BTW, using autoconf with a subdirectory (for multi-machine builds in the
>same source tree) doesn't seem to work. Something like:
> mkdir r10k-irix-6.5
> cd r10k-irix-6.5
> ../configure --srcdir=../ [other options]
>fails when you do a "make" with (from configure.log)
Not sure why it trying to link with libldap.la and liblber.la here.
Check your LIBS and LDFLAGS.
I use ../configure (with or without the --srcdir argument) and
it runs fine (on FreeBSD) and the system even builds correctly.
However, mkdep doesn't work, but that's another issue.
> configure:1765: gcc -o conftest -I /usr/local/include -I -I./include -DHAVE_CONFIG_H conftest.c -L/home/csb/dbadrak/build-local/openldap-1.1.2/ldap/libraries -lldif /home/csb/dbadrak/build-local/openldap-1.1.2/ldap/libraries/libldap/libldap.la /home/csb/dbadrak/build-local/openldap-1.1.2/ldap/libraries/liblber/liblber.la -Wl,-woff,84 -Wl,-woff,85 -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lbind 1>&5
> gcc: /home/csb/dbadrak/build-local/openldap-1.1.2/ldap/libraries/libldap/libldap.la: No such file or directory
> gcc: /home/csb/dbadrak/build-local/openldap-1.1.2/ldap/libraries/liblber/liblber.la: No such file or directory