LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   installation error : texinfo-6.1 for building LFS chapter 5 (https://www.linuxquestions.org/questions/linux-from-scratch-13/installation-error-texinfo-6-1-for-building-lfs-chapter-5-a-4175596038/)

niraj.bhagchandani 12-23-2016 09:41 PM

installation error : texinfo-6.1 for building LFS chapter 5
 
Hello Everyone!

This is my first post to this site. I have got a lot help from this website and solved many problems regarding Linux. So this time I am stuck to this situation wherein I am building LFS and when I type the following command
I have refered to the below instruction:

http://www.linuxfromscratch.org/lfs/...5/texinfo.html

$ ./configure --prefix=/tools
it gives me the below error.


configure: WARNING: info needs a terminal library, one of: tinfo ncurses curses termlib termcap terminfo
TestXS.xs:4:20: fatal error: EXTERN.h: No such file or directory

#include "EXTERN.h"
^
compilation terminated.
make: *** [Makefile:1165: TestXS_la-TestXS.lo] Error 1
configure: WARNING: Could not find a terminal library among tinfo ncurses curses termlib termcap terminfo
configure: WARNING: The programs from `info' directory will not be built.


Please help me to solve this issue so that I can build my linux on next phase.

I have searched on internet for this issue but not able to resolve this issue.

Thanks in advance, for supporting this post and replying me.

Regards,
Niraj Bhagchandani

spiky0011 12-24-2016 01:10 AM

Hi That is a warning only, FYI, read here, http://www.linuxfromscratch.org/lfs/...5/texinfo.html.

Luridis 12-26-2016 10:22 PM

Did you not build Perl? If not, you need to.

Did you "make install" when building Perl for the temporary tools? If so, you did it wrong. You were supposed to...

Code:

cp -v perl cpan/podlators/scripts/pod2man /tools/bin
mkdir -pv /tools/lib/perl5/5.24.0
cp -Rv lib/* /tools/lib/perl5/5.24.0

EXTERN.h is an internal Perl header.

niraj.bhagchandani 01-10-2017 11:02 PM

Regarding Texinfo
 
Sir,

Thanks a lot for your wonderful reply, But to make awareness

1. I have installed perl as said in the LFS Build Chapter 5.
2. It did not mentioned the code:

Code:

cp -v perl cpan/podlators/scripts/pod2man /tools/bin
mkdir -pv /tools/lib/perl5/5.24.0
cp -Rv lib/* /tools/lib/perl5/5.24.0

3. I had a big casualty, i.e. I lost the pen-drive in which I was making LFS. So, right now I am not in possession to reply you back. But,

Anyways, I will post this reply again if I find any trouble as, I have to re-start my LFS in new Pen-drive and also take care of the suggestion provided by you.

But, as of now I am closing this post as resolved.

Thanks a lot to LQ users/members and team.

Regards,
Niraj Bhagchandani.


All times are GMT -5. The time now is 03:59 PM.