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

Re: Trying to compile ldap 1.1.1 on Solaris 2.6. (ITS#45)

At 10:51 PM 1/18/99 GMT, band@eng.mc.xerox.com wrote:
>I had the same problem and Kurt Zeilenga gave me this advice that
>worked like a charm.
>Remember to use Sleepycat version db-2.3.16 (available from Walnut
>Creek; I don't have the URL handy).
>Bill Anderson
>Try this:
>	rm config.cache
>	setenv CPPFLAGS "-I/usr/local/include"
>	setenv LIBS "-L/usr/local/lib -lpthread -lposix4"
>	(replace use of setenv with the appropriate environment
>	setting mechanism for your shell)
>	./configure --with-threads
>Replace "/usr/local" with the appropriate prefix necessary to
>find DB2.

I now recommend putting linker flags in LDFLAGS.  This is because
LIBS will be moved to near the end of the argument list in 1.2 (due
to pthread linking requirements on some platforms).  So:

	setenv CPPFLAGS "-I/usr/local/include"
	setenv LDFLAGS "-L/usr/local/lib"
	setenv LIBS "-lpthread -lposix4"
	./configure --with-threads

For additional information on Solaris, please read:
For additional information on DB2, please read: