[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RPM build error on FreeBSD (+ fix)



Armijn Hemel wrote:

On Mon, Sep 22, 2003 at 08:19:18PM +0200, Ralf S. Engelschall wrote:

[cut]


The attached patch makes the configure work on FreeBSD. I tested it on
Linux (Red Hat 9) as well, but it never hurts if someone could verify
it.
[...]


Unfortunately and unexpectedly, this still doesn't work on
all platform. For OpenPKG we discovered (don't ask me which
particular platform it actually was), that not all Bourne-Shells
like embedded TAB chars in here-documents (as it is the case
in this code). We did a very ugly hack as you can see in
http://cvs.openpkg.org/openpkg-src/openpkg/rpm.patch.porting under
"Index: db3/configure". As you can see, the world is wonderful
full of strange problems... ;-)



Eehw. I had dinner just before I saw that hack, not good ;-)



Blame sed, not rpm. db4 is deliberately lightly wired into rpm so that developers
can easily build against external db4 if they are so inclined.




Additionally, if you want RPM to get building and working under FreeBSD,
you also need some more portability patches from the same OpenPKG
RPM patch file. See patch parts annotated with "Add support for BSD
getmntinfo(3)." and "rt/pthread" in the above file.



It's mainly the Python bindings I need. It barfs in the beecrypt with
unknown references to "swapu32".



You have not identified which version of rpm you are trying to build.


If rpm-4.2.1, then you want external beecrypt-3.0.1 and elfutils-0.84. *Really*.

HTH

73 de Jeff





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]