On Wed, Nov 23, 2005, Andreas Schmidt wrote: > 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?
What particular Unix platform is this on? Usually the underlying Unix platform at least has to provide termcap or termlib and not just the run-time libraries, but also the headers, etc. I guess you are running a Linux distribution where the development packages for termcap and/or termlib are not installed, right? Please have a look at the OpenPKG platform prerequisites in http://cvs.openpkg.org/getfile/openpkg-re/osprereq.txt, too. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org