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

Re: Test fails on Solaris 2.4 (ITS#104)



At 09:15 AM 6/8/99 GMT, b.bouwens@elsevier.nl wrote:
>GNU regex 0.12 OK?

I believe it is.

>Are there provisions in OpenLDAP to use that instead of the
>system version?

OpenLDAP has provisions for search user specified directories
for headers, libraries, and the addition of extra libraries,
ie: CPPFLAGS and LDFLAGS and LIBS.

After downloading and building rx 0.12, build a library
which contains the generated regex.o.  Something like:
	ar ru libgnuregex.a regex.o

(you might also have to ranlib libgnuregex.a).

You should then be able to:
	env CPPFLAGS=-I/path/to/regex-0.12 \
		LDFLAGS=-L/path/to/regex-0.12 \
		LIBS=-lgnuregex \
		./configure

(Guess I should add that to the FAQ).

Kurt