Berkeley DB Problem Configuring rpm
pmatilai at laiskiainen.org
Tue Oct 30 06:51:34 UTC 2012
On 10/22/2012 09:02 PM, Ian Lake wrote:
> Hello -
> I am trying to build rpm-4.8.0 on Centos-6.3.
> I use this command to configure:
> ./configure --with-python=2.7 --with-db=internal --enable-static=no
> CPPFLAGS="-I/usr/include/nspr4 -I/usr/include/nss3
> -I/usr/local/BerkeleyDB.5.3/include" LDFLAGS="-L/usr/local/BerkeleyDB.5.3/lib"
> and end up with this error:
> configure: error: internal Berkeley DB directory not present,
> see INSTALL
> I downloaded and installed Berkeley DB 5.3.-21. The libraries were installed at
> Any idea on how to fix the error? Am I just doing something wrong with the
> configure options?
As the error message says, see INSTALL where this is documented.
You didn't say *why* you're rebuilding rpm with the same version that's
already included in Centos, but generally the easiest option is to start
with the src.rpm of the system package: grab the src.rpm for rpm 4.8.0
from Centos repository, modify the spec to your needs and rebuild.
- Panu -
More information about the Rpm-list