Hi folks!
I don't want to build a rpm-package. I need to build rpm itself from it's
sources. I need to say that I've never seen such an incomplete build
manual.
I downloaded rpm-4.4.7.tar.gz.
popt, db4, beecrypt already exist on my machine.
The ./configure && make && make install didn't work: O.K. you need to
run ./autogen.sh first (Why?).
Then there is a missing config.rpath. Good... googled a patch.
Second: Building doesn't work because of a missing selinux.h. Aha... you
need to configure --without-selinux (Why? ./configure checked for selinux
and didn't find it, so no build process should include it then).
After that, I even installed sqlite. (Why?)
Next it complains (in the make-stage) about missing ne_* headers (Right!
They are missing: configure checked their non-existence). I don't need and
I don't want neon... But --without-neon has no effect.
After having installed neon statically in a temp-dir and changing Makefile
rpm finally compiled.
But it didn't work...
rpm -vv --initdb says:
D: dbiOpen: _dbiapi failed
ldd'ing the executables and libs doesn't show any missing libraries...
What's that all about? Are there somewhere build instructions in the WWW?
Does anybody know what options I need to compile rpm in an "ordinary"
environment?
Any help is really appreciated! Thank you very much in advance...
Felix
f {d} roske {a} roskenet {d} de