RPM Community Forums

Mailing List Message of <rpm-users>

Attempting to compile rpm5 for RH Linux EL5

From: Saravanan Shanmugham (sarvi) <sarvi@cisco.com>
Date: Thu 17 Sep 2009 - 19:50:30 CEST
Message-ID: <C6A1C20DB743364EB446E923B2229FEF09743221@xmb-sjc-229.amer.cisco.com>
I am trying to compile and install RPM 5.1.9.tar.gz And am running into
the following errors. Is there any configure option I should be trying.
Has this been fixed in a later release? 
 
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../build -I../lib -I../lib
-I../rpmdb -I../rpmio -I../misc -I../db3 -I../db3 -I../pcre -I../pcre
-DRPM_OS_LINUX=020609  -g -O2 -D_GNU_SOURCE -D_REENTRANT -MT rpmdigest.o
-MD -MP -MF .deps/rpmdigest.Tpo -c -o rpmdigest.o rpmdigest.c
rpmdigest.c:265: error: optionsTable[1].argInfo')
rpmdigest.c:267: error: initializer element is not constant
rpmdigest.c:267: error: (near initialization for POPT_ARG_ARGV' undeclared here (not in a 
function)<BR>rpmdigest.c:265: error: initializer element is not 
constant<BR>rpmdigest.c:265: error: (near initialization for 
optionsTable[1]')<BR>rpmdigest.c:270: error: initializer element is not 
constant<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=156564317-17092009><FONT face=Arial 
size=2>Sarvi</FONT></SPAN></DIV></BODY></HTML>
Received on Thu Sep 17 20:02:48 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.