while trying to build postgres with openpkg's build tool on a new
installed openpkg instance i've got an error from postgres's
configure-script, saying that readline isn't installed. but the
build-script resolved the dependency to readline before and rpm -qa
says, that readline is installed.
looking into postgres's configure.log i cound see, that the readline
library could not get loaded, because it couldn't resolve the symbol
"tputs".
it seems that readline has a dependency to a library that contains
tputs, and that this dependency is not automatically resolved by the
spec-file of the readline package.
after some googling i tried installing the ncurses package. then
everything works fine.
adding ncurses to the prereqs of readline could solve the problem, but i
think that this isn't the best solution, because it seems that other
packages/libraries could supply tputs as well. maybe there's a way to
write prereq-conditions in a spec file, that have a "one of" semantic?
hope that helps,
andi
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List openpkg-users@openpkg.org