LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-17-2013, 12:44 AM   #1
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Rep: Reputation: Disabled
Help Resolving error related Texinfo-4.13a in cross-lfs


Hi Everyone ... I am trying to compile Texinfo-4.13a but facing the following error during make process
.
.
.
.
/mnt/clfs/sources/sources/texinfo-4.13/info/terminal.c:175: undefined reference to `tputs'
terminal.o: In function `terminal_goto_xy':
/mnt/clfs/sources/sources/texinfo-4.13/info/terminal.c:235: undefined reference to `tputs'
terminal.o:/mnt/clfs/sources/sources/texinfo-4.13/info/terminal.c:272: more undefined references to `tputs' follow
collect2: error: ld returned 1 exit status
make[3]: *** [ginfo] Error 1
make[3]: Leaving directory `/mnt/clfs/sources/sources/texinfo-4.13/tools/info'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/clfs/sources/sources/texinfo-4.13/tools/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/sources/texinfo-4.13/tools'
make: *** [all] Error 2
make: Leaving directory `/mnt/clfs/sources/sources/texinfo-4.13/tools'


My host system is ubuntu 12.10 and i am using clfs-2.0 guide ..for cross compilation of x86_64 bit using x86_64 bit system.

Book : Cross-Compiled Linux From Scratch - Version 2.0.0-RC1-x86_64-Pure64
Pg no: 83 ...getting the above error on 'make -C tools'
 
Old 04-17-2013, 03:49 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,703

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
Quote:
undefined reference to `tputs'
? Missing prerequisite = ncurses
 
Old 04-17-2013, 05:50 AM   #3
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
But ncurses is installed on the host system and i have installed according to the book

ncurses 5.9.20110404

Could you explain a little bit more ??

Thanx
 
Old 04-17-2013, 06:16 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,703

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
'ncurses' : Just a thought. 'tputs' is an ncurses thing.

Difficult to fail with a Texinfo-4.13a build.
May be the patches will do ?
All to be applied with $ patch -p1 < .....
Ref. http://dl.fedoraproject.org/pub/fedo...5.fc15.src.rpm
Texinfo-4.13a is commonly used, e.g. Fedora 11 ... Fedora 18.
-
Attached Files
File Type: txt texinfo-4.13a-patches.tar.bz2.txt (3.3 KB, 33 views)
 
Old 04-17-2013, 06:47 AM   #5
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
hey thanx i will try them but should i be applying all the patchs you sent me??
 
Old 04-17-2013, 06:55 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,703

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
# 5 .
Quote:
.. applying all the patches ...
Works OK here. I made two OK test builds.
One was on Fedora 18 to know if there would be any gcc-4.7 issues.
 
Old 04-17-2013, 07:03 AM   #7
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Hey knudfl,

I resolved the issue without applying the patch you had forward me ...

Solution : ubuntu does not install ncurses library by default so after installing them and restarting the system i was able to resolve the error.

Require to install libncurses5-dev ( which install the necessary library for development )

Thanx for your help
 
Old 08-12-2017, 05:51 PM   #8
biased0variable
LQ Newbie
 
Registered: Aug 2017
Posts: 1

Rep: Reputation: Disabled
texinfo no such file or directory problem

hey adi_30stm, thanks man! your solution helped me. Installed libncurses5.dev and it worked fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-LFS Splits from LFS weibullguy Linux From Scratch 0 09-06-2009 08:20 PM
[SOLVED] Cross-LFS PPC kernel boot error timmytycoon Linux - Kernel 1 06-14-2009 10:58 AM
error chapter 5.31 Texinfo charlie_lab Linux From Scratch 2 05-27-2009 01:30 AM
Cross LFS for IA64 Glibc make error katinoel Linux From Scratch 1 03-03-2007 06:34 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration