Hi, I'm fairly new to programming in SuSE Linux. At first I'm trying to compile speech_tools from Festival under SuSE 9.3, but ./configure fails with: checking for tputs in -ltermcap... (cached) no checking for tputs in -lncurses... (cached) no I have ncurses_devel installed and the libs are linked to /usr/lib: /usr/lib/libcurses.so.1 /usr/lib/libcurses.so.1.0.0 /usr/lib/libtermcap.so.2 /usr/lib/libtermcap.so.2.0.8 Should tputs() be in those libs (and in general, how can I check the functions in a library)? Best Regerds, Teemu
On Wednesday 30 November 2005 11:23, Teemu Nikkilä wrote:
Hi,
I'm fairly new to programming in SuSE Linux. At first I'm trying to compile speech_tools from Festival under SuSE 9.3, but ./configure fails with:
checking for tputs in -ltermcap... (cached) no checking for tputs in -lncurses... (cached) no
It should be in /usr/lib/libncurses, so this second line should say 'yes'. There are two possibilities: the first one is that it says (cached). If you installed ncurses after you already ran configure once, the answer will be cached from that run, so it won't look again. Delete the file config.cache from the compile directory to get around this The second is that it really fails because of something completely different, but never tells you. Check the config.log file to get the real error message from its test
Anders Johansson kirjoitti viestissään (lähetysaika keskiviikko 30 marraskuu 2005 23:19):
checking for tputs in -lncurses... (cached) no
It should be in /usr/lib/libncurses, so this second line should say 'yes'. There are two possibilities: the first one is that it says (cached). If you installed ncurses after you already ran configure once, the answer will be cached from that run, so it won't look again. Delete the file config.cache from the compile directory to get around this
Must be this but I can't test it right now. I thought the "cached" means /etc/ld.so.cache, where libncurses should be just fine. My bad, thanks for the answer.
The second is that it really fails because of something completely different, but never tells you. Check the config.log file to get the real error message from its test
I hope I don't have to. Cheers, Teemu
On Wednesday 30 November 2005 4:53 pm, Teemu Nikkila wrote:
Must be this but I can't test it right now. I thought the "cached" means /etc/ld.so.cache, where libncurses should be just fine. My bad, thanks for the answer. I did an nm on libncurses and tputs is definitely in the library.
--
Jerry Feldman
On Wed, 30 Nov 2005 22:19:48 +0100, Anders Johansson wrote:
There are two possibilities:
No, there are three :) The third option is that a package wrongly packages config.cache. I just looked and speech_tools does not, but I've seen enough packages that wrongly do so. Philipp
participants (5)
-
Anders Johansson
-
Jerry Feldman
-
Philipp Thomas
-
Teemu Nikkila
-
Teemu Nikkilä