On Jun 24, 2013, at 3:02 PM, Vinoth Sri wrote:
> Hi All,
> I'm newbie to this rpm area and need help in configuring and setup RPM.
> Could somebody help me to configure the rpm with --rcfile option.?
The --rcfile option was removed years ago and there is no reason
(that I am aware of) to resurrect --rcfile.
> I downloaded a copy of 5.1.6 and 5.1.9 source rpm from this site and run the configuration file then issued make command. I could see binary's (rpm and rpmbuild) created successfully but didnt see the --rcfile in provided help file (rpmbuild --help)
> Getting below option instead --rcfile:
> --rpmlua=<FILE:...> Read <FILE:...> instead of default RPM Lua
> --rpmpopt=<FILE:...> Read <FILE:...> instead of default POPT
> Tried to configure without LUA as well.
> - Do I need to enable / setup configuration expl for --rcfile option?
No usage case for --rcfile so nothing to enable. Replace rpmrc
1) use --macros to override compiled in macro paths
2) configure %optfllags (and other per-arch) macros directly instead
of the horendousl complexity of rpmrc
3) add patterns in /etc/rpm/platform if you simply MUST attempt arch
compatibility: imho its easier to invoke rpm/rpmbuild appropriately
than it is to figure out how to use rpmrc for the rare cases where
a new architecture is being added.
> - Do I need to install any separate package for the same.
Examine the output of configure carefully to tell whether you
have missing build pre-req's.
Not that the @rpm5.org configure can/will build a (totally useless)
version of rpm/rpmbuild without any database/compression support.
That is the chosen (by @rpm5.org members) behavior: I was out voted.
73 de Jeff
> Once thing I noticied in PopAll.c file had RC file macro which is no more available in 5.+ version , so wondering whether the command line is removed or replaced?
> Thanks in Advance.
> RPM Package Manager http://rpm5.org
> User Communication List email@example.com
Received on Tue Jun 25 00:35:17 2013