| 
 | 
 
 | 
| Are you trying to use Berkeley Sleepycat LDBM, and configure bombs out
saying "checking for Berkeley DB link (-ldb) no" and then "no LDBM configured"?
This one had me stumped for a while in HP-UX 11.0.  The -ldb was failing because
configure could not find load points for pthreads stuff.  So I went back and
looked at how Berkeley 3.1.14 was configured and built on my system.  I did
a vanilla configure, and the Makefile contained the following tidbits: CPPFLAGS= -D_REENTRANT LIBS= -lpthread So I changed my configure command to match these items, ie: CC=cc CFLAGS=-O \ CPPFLAGS="-D_REENTRANT -I/usr/local/include -I/usr/local/BerkeleyDB.3.1/include" \ LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.3.1/lib" \ LIBS="-lpthread" \ ./configure --with-ldbm-api=berkeley After that, the configure step quit failing jaearick@colby.edu  | |
| Additional note:  I have had little success using HP's ANSI compiler.  The
code won't pass the tests.  But it will work with gcc 2.95.2
 jaearick@colby.edu  | |
| Note: I have gotten version 2.0.6 to compile (with warnings), load, and pass
the tests when using HP ANSI C compiler.  This was not true with 2.0.4 and
2.0.5.
 jaearick@colby.edu  | |
| [Append to This Answer] | 
| Previous: | 
 | 
| Next: | 
 | 
  | ||||||||