RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm errors upon running

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 20 Jun 2011 - 20:30:26 CEST
Message-id: <5DFFAE88-3DF6-42E3-AC96-B274321AA2B0@mac.com>
(sorry for the empty msg)

On Jun 20, 2011, at 2:23 PM, Miller, Vincent (Rick) wrote:

> Great…thanks.  Got a RPM 5.3.11 tarball.
> 
> I configure as followed and it exited normally:
> 
> ./configure —with-expat —with-path-magic=/usr/share/misc/magic CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" LIBS="-lgss"
> 
> I then ran gmake and it errored during the compile in rpmdb with:
> 
> gmake[4]: Entering directory `/usr/home/vmiller/rpm-5.3.11/rpmdb'
> /usr/local/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc  -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -I/usr/local/include -DRPM_OS_FREEBSD=080200 -I/usr/local/include   -I/usr/local/include   -I/usr/local/include -DRPM_OS_FREEBSD=080200 -I/usr/local/include   -I/usr/local/include   -fopenmp -g -O2 -fno-delete-null-pointer-checks -D_FORTIFY_SOURCE=2 -fstack-protector -fexceptions -fexceptions -Wno-missing-field-initializers -D_GNU_SOURCE -D_REENTRANT     -MT librpmdb_la-dbconfig.lo -MD -MP -MF .deps/librpmdb_la-dbconfig.Tpo -c -o librpmdb_la-dbconfig.lo `test -f 'dbconfig.c' || echo './'`dbconfig.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../db -I../db -I../db/src -I../db/src -I../scripts -I../scripts -I/usr/local/include -DRPM_OS_FREEBSD=080200 -I/usr/local/include -I/usr/local/include -I/usr/local/include -DRPM_OS_FREEBSD=080200 -I/usr/local/include -I/usr/local/include -fopenmp -g -O2 -fno-delete-null-pointer-checks -D_FORTIFY_SOURCE=2 -fstack-protector -fexceptions -fexceptions -Wno-missing-field-initializers -D_GNU_SOURCE -D_REENTRANT -MT librpmdb_la-dbconfig.lo -MD -MP -MF .deps/librpmdb_la-dbconfig.Tpo -c dbconfig.c  -fPIC -DPIC -o .libs/librpmdb_la-dbconfig.o
> In file included from dbconfig.c:14:
> ./rpmdb.h:433: error: expected specifier-qualifier-list before 'DB_SEQUENCE'
> ./rpmdb.h:490: error: expected specifier-qualifier-list before 'DB_LOGC'

You are not finding db.h for some reason.

What  version of Berkeley DB?

Where is it? More specifically, RPM expects
	#include <db51/db.h>
to find the correct db.h to include.

73 de Jeff




  • application/pkcs7-signature attachment: smime.p7s
Received on Mon Jun 20 20:31:03 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.