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

RE: test006 failed on hpux10.20 - how to use librx.a?

In my previous posting, I asked:
> Hi,
> test006-acl failed on my hpux10.20 and I have found out from
> http://www.openldap.org/faq/data/cache/152.html
> that I should try using librx.a (replacement for GNU regex0.12)
> But, how to I modify 'configure' (or some other files) to make
> use of librx instead of the broken library?
> Thanks in advance,
> --
> cheewai

The workaround is:
1. compile and install GNU Rx.

2. edit openldap-1.2.11/include/ac/regex.h
replace <regex.h> with <rxposix.h>

3. LIBS=-lrx ./configure
(if librx is not installed in a path known to compiler,
set env variables as in http://www.openldap.org/faq/data/cache/152.html
when running ./configure)

Thanks to kunkee@neosoft.com for his advice.