Sunday, January 9, 2011

How to configure start up programs / services in Ubuntu

Hello Friends,

I was recently installing a lot of softwares and most of which were started when computer starts. I needed to configure start up programs/services. After looking at some websites I found one tool.. install it using

sudo apt-get install sysv-rc-conf

then run sysv-rc-conf using sudo and configure.

Cheers!!!
Ravi Kumar Gupta -aka- D'Maverick

Saturday, January 1, 2011

configure: error: BDB/HDB: BerkeleyDB not available

Hello Friends,

Today morning while installing OpenLDAP I was getting error like :
configure: error: BDB/HDB: BerkeleyDB not available

I checked, googled and found-

from read me:
BDB and HDB backends require Oracle Berkeley DB 4.4, 4.5,
4.6, 4.7, or 4.8. It is highly recommended to apply the
patches from Oracle for a given release.

And then I installed Berkeley DB and set these environment variables..
CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include"
LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.8/lib -R/usr/local/BerkeleyDB.4.8/lib"
LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.8/lib"

export CPPFLAGS LD_LIBRARY_PATH LDFLAGS

Then everything worked fine...

just ran
./configure
make depend
make
sudo make install

Cheers!!!

Ravi Kumar Gupta aka D'Maverick