RPM Community Forums

Mailing List Message of <rpm-users>

Re: feedback : the -lexpat flag is missing in 4 Makefile

From: Jeff Johnson <n3npq@mac.com>
Date: Wed 29 Jun 2011 - 17:10:33 CEST
Message-id: <14E297C3-9F26-4129-A6F5-ED1AC0958845@mac.com>

On Jun 28, 2011, at 2:14 AM, YuGiOhJCJ Mailing-List wrote:

> 
> I am on Debian squeeze. I suggest you correct the 4 Makefile.am corresponding to add this flag.
> 
> You can see below the 4 Makefile that I must edit :
> $ for each in `find rpm-5.3.5 -name "Makefile"`; do echo ${each} && diff ${each} `echo ${each} | sed s/5.3.5/5.3.5-m/`; done
> rpm-5.3.5/syck/Makefile
> rpm-5.3.5/syck/ext/yamlbyte/Makefile
> rpm-5.3.5/syck/ext/lua/Makefile
> rpm-5.3.5/syck/tests/Makefile
> rpm-5.3.5/syck/lib/Makefile
> rpm-5.3.5/Makefile
> 250c250
> < LDFLAGS =     
> ---
>> LDFLAGS = -lexpat
> rpm-5.3.5/beecrypt/Makefile
> rpm-5.3.5/beecrypt/include/Makefile
> rpm-5.3.5/beecrypt/python/Makefile
> rpm-5.3.5/beecrypt/python/test/Makefile
> rpm-5.3.5/beecrypt/docs/Makefile
> rpm-5.3.5/beecrypt/gas/Makefile
> rpm-5.3.5/beecrypt/c++/lang/Makefile
> rpm-5.3.5/beecrypt/c++/Makefile
> rpm-5.3.5/beecrypt/c++/math/Makefile
> rpm-5.3.5/beecrypt/c++/security/Makefile
> rpm-5.3.5/beecrypt/c++/security/auth/Makefile
> rpm-5.3.5/beecrypt/c++/security/cert/Makefile
> rpm-5.3.5/beecrypt/c++/security/spec/Makefile
> rpm-5.3.5/beecrypt/c++/provider/Makefile
> rpm-5.3.5/beecrypt/c++/nio/Makefile
> rpm-5.3.5/beecrypt/c++/util/Makefile
> rpm-5.3.5/beecrypt/c++/util/concurrent/Makefile
> rpm-5.3.5/beecrypt/c++/util/concurrent/locks/Makefile
> rpm-5.3.5/beecrypt/c++/beeyond/Makefile
> rpm-5.3.5/beecrypt/c++/io/Makefile
> rpm-5.3.5/beecrypt/c++/crypto/Makefile
> rpm-5.3.5/beecrypt/c++/crypto/spec/Makefile
> rpm-5.3.5/beecrypt/java/Makefile
> rpm-5.3.5/beecrypt/masm/Makefile
> rpm-5.3.5/beecrypt/tests/Makefile
> rpm-5.3.5/rpmconstant/Makefile
> 166c166
> < LDFLAGS =     
> ---
>> LDFLAGS = -lexpat
> rpm-5.3.5/tools/Makefile
> 528c528
> < LDFLAGS =     
> ---
>> LDFLAGS = -lexpat
> rpm-5.3.5/build/Makefile
> rpm-5.3.5/build/auto/Makefile
> rpm-5.3.5/python/Makefile
> rpm-5.3.5/neon/Makefile
> rpm-5.3.5/neon/src/Makefile
> rpm-5.3.5/neon/test/Makefile
> rpm-5.3.5/rpmio/Makefile
> rpm-5.3.5/rpmio/auto/Makefile
> rpm-5.3.5/ruby/Makefile
> rpm-5.3.5/scripts/Makefile
> rpm-5.3.5/misc/Makefile
> rpm-5.3.5/po/Makefile
> rpm-5.3.5/js/Makefile
> rpm-5.3.5/rpmdb/Makefile
> rpm-5.3.5/rpmdb/auto/Makefile
> rpm-5.3.5/pcre/Makefile
> rpm-5.3.5/tests/Makefile
> rpm-5.3.5/tests/mongo/Makefile
> 173c173
> < LDFLAGS =     
> ---
>> LDFLAGS = -lexpat
> rpm-5.3.5/lib/Makefile
> rpm-5.3.5/lib/auto/Makefile
> rpm-5.3.5/doc/Makefile
> rpm-5.3.5/doc/ru/Makefile
> rpm-5.3.5/doc/ja/Makefile
> rpm-5.3.5/doc/pl/Makefile
> rpm-5.3.5/doc/manual/Makefile
> rpm-5.3.5/doc/fr/Makefile
> rpm-5.3.5/doc/ko/Makefile
> rpm-5.3.5/doc/sk/Makefile
> rpm-5.3.5/lua/Makefile
> 
> I hope this feedback can help rpm5 to be better :-)
> 

Before I forget (and your message disappears into my todo++ list) 

This is exactly what is needed to honor LDFLAGS being passed
everywhere. I'm not at all surprised at the failures, because
there's few who are attempting to use LDFLAGS, and
	--with-syck=internal
is an "add-on" that most distros are either not enabling, or
using the "system" version of syck instead.

Thank you!

73 de Jeff
Received on Wed Jun 29 17:10:53 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.