[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM build error on FreeBSD (+ fix)
- From: "Ralf S. Engelschall" <rse+rpm-list engelschall com>
- To: rpm-list redhat com
- Subject: Re: RPM build error on FreeBSD (+ fix)
- Date: Mon, 22 Sep 2003 20:19:18 +0200
On Mon, Sep 22, 2003, Armijn Hemel wrote:
> [...]
> config.status: creating db_config.h
> "/tmp/rpm-4.2/db3/Makefile", line 408: Need an operator
> make: fatal errors encountered -- cannot continue
> configure: error: /usr/local/bin/bash './configure' failed for db3
> [...]
>
> 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... ;-)
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.
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]