[Date Prev][Date Next] [Chronological] [Thread] [Top]

problems under IRIX 6.2, 6.5



All,

I've been hoping each new release may solve some of the difficulties
that have cropped up, but they have not.

Here's my scenario.  I've used the UMich 3.3 stuff with patches, linked
against DB 2.4.14, on SGI Indigo2 Impact (250MHz, 128MB memory) running
IRIX 6.2.  It was compiled with gcc 2.7.2.3, and again with egcs 1.0.2,
1.0.3, 1.1b.  It all worked fine (well, worked very fast), using the POSIX
threads available through the patches.

As the OpenLDAP stuff evolved, I tried the version stable snapshots (many
of them), and then the releases 1.0, 1.0.1, 1.1.1, 1.1.2.  I need the
later stuff because of all the fixes with replication (slurpd).

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
same.  I tried it under IRIX 6.5 on a 225MHz R10000 Octane (well, all
Octanes are R10Ks).  Slow there, too.

I just popped 1.1.2 withh DB 2.6.4 (+3 patches) onto a Solaris 2.6
machine, and it screams like it used to on my IRIX machine.  It zips along
under Linux (2.0.36) as well.

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"
   
   configure  \
           --prefix=/usr/local \
           --enable-shared \
           --enable-static \
           --enable-passwd \
           --enable-shell \
           --enable-cldap \
           --enable-rlookups=no \
           --enable-proctitle=no 

Is anyone else running OpenLDAP under IRIX 6.2 or 6.5 (this is where it
will be ultimately)?  Does it work as quick as you would expect it to?
Which set of gory debugging flags to I pass to track down the slowness?

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)

  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
  configure: failed program was:
  #line 1761 "configure"
  #include "confdefs.h"
  main(){return(0);}

Thanks.

Don
-- 
Don Badrak <dbadrak@census.gov>              301.457.1793 work
Telecommunications Office		     301.457.4438 fax
U.S. Bureau of the Census                    301.457.1828 fax
Suitland MD, USA