RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Fwd: Adding lua to -lrpmio to change how PCRE is attached.

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Mon 16 Mar 2009 - 21:57:32 CET
Message-ID: <20090316205732.GA31317@engelschall.com>
On Mon, Mar 16, 2009, Jeff Johnson wrote:

>> At the moment, PCRE and LUA are coupled because of LUA bindings
>> onto PCRE.
>> So the current ordering of builds is
>> 	...
>> 	build PCRE
>> 	build lua
>> 	construct librpmmisc (where PCRE is implictly pulled in)
>> 	build rpmio
>> 	...
>> The build ordering needs to become
>> 	...
>> 	build PCRE
>> 	construct librpmmisc (with PCRE explcitly pulled in)
>> 	build lua (linking against -lrpmmisc)
>> 	build rpmio (and include lua within rpmio).
>> 	...
>> so that PCRE and LUA can be independently selected.
>> Last chance to suggest a better alternative, todo++.

Hmmm... I've still not alternative at hand, because I still do not quite
understands the problem. RPM conditionally requires PCRE for the regex
stuff. And Lua conditionally also requires PCRE for the regex stuff.
What does currently prevent building RPM just with PCRE and just with
LUA only?
                                       Ralf S. Engelschall
Received on Mon Mar 16 21:57:47 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.