I built it under Solaris 2.6 and 2.7. I used the following script for configure,
make, install and test :
#!/bin/ksh
env \
CPPFLAGS="-D_REENTRANT -I/usr/local/include" LDFLAGS="-L/usr/local/lib" \
ac_cv_func_pthread_create=no ol_cv_kthread_flag=no \
./configure \
--with-ldbm-api=gdbm
make depend
make
cd tests
make
cd ..
Bye,
Alain