LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   texinfo - undefined references during make (https://www.linuxquestions.org/questions/linux-software-2/texinfo-undefined-references-during-make-329655/)

fitret 06-02-2005 02:12 PM

texinfo - undefined references during make
 
I've been trying to install makeinfo, part of the texinfo project and I'm having issues. ./configure goes fine, but when i do make, it does not go so well. While make is running, I see errors like "undefined reference to tgetstr/tputs" and at the end, I get the error:

Code:

collect2: ld returned 1 exit status
make[3]: *** [ginfo] Error 1
make[3]: Leaving directory `/home/fitret/texinfo-4.8/info'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fitret/texinfo-4.8/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fitret/texinfo-4.8'
make: *** [all] Error 2

I googled tgetstr and found out that it was part of libcurses.a. I'm running Ubuntu, and as such, only have NCurses, which doesn't include libcurses.a apparantely. A quick google found a fix for this. Running the command "ln -s libncurses.a /usr/lib/libcurses.a" supposedly will cure this issue, and while it did indeed stick a libcurses.a in my /usr/lib/ directory, I'm still getting the same errors.

Oh, and before anyone asks, no, according to my package manager there is no texinfo package. Anyone know how to fix this? Thanks for the help!

oraclecao 06-18-2005 02:38 PM

RE
 
I had the similar problem when I install teTex, and I try to

apt-get install libncurses5-dev

then the problem got fixed.


All times are GMT -5. The time now is 11:13 AM.