(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) Trash : (Answer) How do I install Sleepycat's BerkeleyDB & OpenLDAP using gcc on Solaris7?
With Solaris 7, I installed the gcc version 2.8.1 package from
www.sunfreeware.com.

I downloaded Sleepycat's BerkeleyDB version 2.7.5 from
www.sleepycat.com and followed their web documentation for
installation:  I went to the build_unix directory, then used:
        ../dist/configure
        make
        make install
By default, this created the directory /usr/local/BerkeleyDB...

Once this was installed, I entered the following commands from sh (not csh):
        env \
                ac_cv_func_pthread_create=no ol_cv_kthread_flag=no \
                ol_cv_pthread_flag=no ol_cv_pthreads_flag=no \
                ol_cv_thread_flag=no \
                CPPFLAGS="-I/usr/local/BerkeleyDB/include" \
                LDFLAGS="-L/usr/local/BerkeleyDB/lib" \
        ./configure \
        --with-ldbm-api=db2

After this I was able to continue with "make depend"
arek@arekdreyer.com
[Append to This Answer]
Previous: (Answer) configure: error: pthread.h and pthread_create are not compatible
Next: (Answer) New Item
This document is: http://www.openldap.org/faq/index.cgi?file=160
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
© Copyright 2003, OpenLDAP Foundation, info@OpenLDAP.org