LinuxQuestions.org
Help answer threads with 0 replies.
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 02-04-2007, 06:39 AM   #1
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Rep: Reputation: 15
Problem in Chapter 5.29. Texinfo-4.8


Hello to All
I am new to LINUX, I have just one month stick with redhat 9
Now i am going to build LFS for first time.
I am using LFS Live CD 6.2 as a Host system, Now all going to fine but at last i have problem in chapter 5.29 Texinfo-4.8.
After unzip i was run this command.

./configure --prefix=/tools
then
make
after make command i have face the error mess.

[code:]
rm -f doc.c key.c funs.h
..//info/makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c ./indices.c ./nodemenu.c ./footnotes.c ./variables.c
..//info/makedoc: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
make[2]: *** [funs.h] Error 127
make[2]: Leaving directory `/mnt/lfs/sources/texinfo/texinfo-4.8/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/texinfo/texinfo-4.8'
make: *** [all] Error 2


know tell me what can next can i continue or not....please....
 
Old 02-04-2007, 08:20 AM   #2
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Code:
..//info/makedoc: error while loading shared libraries: libncursesw.so.5:
cannot open shared object file: No such file or directory
Bing. This should set some alarm bells ringing. Might be a typo or forgot to make install or something. Anyway go back to Chapter 5.13 and redo ncurses. You may have to recompile a few other packages also. See how it goes.

EDIT: Fixed post width

Last edited by Daws; 02-04-2007 at 08:23 AM.
 
Old 02-04-2007, 11:47 AM   #3
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hey Daws I have remember that in nucrses compiling i have no any mistak and it was going fine but if u told me that then know i will be check it so please...
Can u tell me how Edit : Fixed post width
or any refrence..
Thanx
 
Old 02-04-2007, 11:31 PM   #4
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Daws
Now i am gain compile and make the nucrses-5.5 package but i have not found any
libnucrsesw.so.5 file, after this i has been run make install command and then check
/tools/lib/ i have not found any libnucrsesw.so.5 file. know i have stick with this above error
please give me any solution.....
 
Old 02-05-2007, 02:06 AM   #5
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Daws After solving this problem
I have sufer with other major problem
Problem in Chapter6.9. Glibc-2.3.6
all it going alright but after runing this {grep Error glibc-check-log} comman i have face an error following.

code:
lfslivecd:root | Mon Feb 5 12:21:28 2007 | /mnt/lfs/sources/glibc-build2
# grep Error glibc-check-log
make[2]: [/mnt/lfs/sources/glibc-build2/posix/annexc.out] Error 1 (ignored)


I think its allright and know i run "make install" command then i have face Segmentation fault error. So please give me a suggestion how can i over come this
Thanx.

code:
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6/time'make[3]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6/elf'
/usr/bin/install -c /mnt/lfs/sources/glibc-build2/elf/ld.so /lib/ld-2.3.6.so.new
mv -f /lib/ld-2.3.6.so.new /lib/ld-2.3.6.so
/usr/bin/install -c /mnt/lfs/sources/glibc-build2/libc.so /lib/libc-2.3.6.so.new
make[2]: *** [/lib/libc-2.3.6.so] Segmentation fault
make[2]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6/elf'
make[1]: *** [elf/ldso_install] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6'
make: *** [install] Error 2
lfslivecd:root | Mon Feb 5 12:25:41 2007 | /mnt/lfs/sources/glibc-build2
#

 
Old 02-05-2007, 02:06 AM   #6
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Daws After solving this problem
I have sufer with other major problem
Problem in Chapter6.9. Glibc-2.3.6
all it going alright but after runing this {grep Error glibc-check-log} comman i have face an error following.

code:
lfslivecd:root | Mon Feb 5 12:21:28 2007 | /mnt/lfs/sources/glibc-build2
# grep Error glibc-check-log
make[2]: [/mnt/lfs/sources/glibc-build2/posix/annexc.out] Error 1 (ignored)


I think its allright and know i run "make install" command then i have face Segmentation fault error. So please give me a suggestion how can i over come this
Thanx.

code:
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6/time'make[3]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6/elf'
/usr/bin/install -c /mnt/lfs/sources/glibc-build2/elf/ld.so /lib/ld-2.3.6.so.new
mv -f /lib/ld-2.3.6.so.new /lib/ld-2.3.6.so
/usr/bin/install -c /mnt/lfs/sources/glibc-build2/libc.so /lib/libc-2.3.6.so.new
make[2]: *** [/lib/libc-2.3.6.so] Segmentation fault
make[2]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6/elf'
make[1]: *** [elf/ldso_install] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6'
make: *** [install] Error 2
lfslivecd:root | Mon Feb 5 12:25:41 2007 | /mnt/lfs/sources/glibc-build2
#

 
Old 02-05-2007, 07:45 AM   #7
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Well. Unfortunately it looks as though this LFS attempt is circling the drain, it is time to start over. It looks like you rushed it.

Quote:
Now i am gain compile and make the nucrses-5.5 package but i have not found any
libnucrsesw.so.5
I don't know why this is the case, but without ncurses you will undoubtedly run into several more problems down the road. For future reference problems like this should not be ignored.

Quote:
make[2]: [/mnt/lfs/sources/glibc-build2/posix/annexc.out] Error 1 (ignored)
You are correct this is expected as stated in the book. Also glibc-build2? You should not keep the build dir or source dir after you have finished with it in Chapter 5.

Code:
make[4]: Nothing to be done for `rtld-all'.
 make[4]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6/time'make[3]: 
 Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6/elf'
 /usr/bin/install -c /mnt/lfs/sources/glibc-build2/elf/ld.so /lib/ld-2.3.6.so.new
 mv -f /lib/ld-2.3.6.so.new /lib/ld-2.3.6.so
 /usr/bin/install -c /mnt/lfs/sources/glibc-build2/libc.so /lib/libc-2.3.6.so.new
 make[2]: *** [/lib/libc-2.3.6.so] Segmentation fault
 make[2]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6/elf'
 make[1]: *** [elf/ldso_install] Error 2
 make[1]: Leaving directory `/mnt/lfs/sources/glibc-build2/glibc-2.3.6'
 make: *** [install] Error 2
 lfslivecd:root | Mon Feb 5 12:25:41 2007 | /mnt/lfs/sources/glibc-build2
In Chapter 6 you should be inside the chroot environment. You should not see /mnt/lfs anywhere. Whether this causes your segmentation fault I do not know. Whatever the case, it is not a good sign.

Like I said this does not look like it can be salvaged and it is time to start over. This time make sure you follow the book to the letter, take your time and be patient or you will run into problems again.

Good Luck
 
Old 02-05-2007, 10:47 AM   #8
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Thanx Daws
Actually i am rushed becouse this is my major project and if i can't do that then that's will be very bad for me and my future. Becouse I have submited this project detailed list as my major project, that's why i am hurry.
Thanx for your suggestion.Now i am follow the book very carefully..
Thanx again...

Last edited by calling_u3; 02-05-2007 at 10:50 AM.
 
  


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
Problem in Chapter 5.11 flobobe Linux From Scratch 12 02-03-2007 03:29 AM
Problem in Chapter 5.7 flobobe Linux From Scratch 4 12-18-2006 12:30 AM
error installing texinfo-4.8 chapter 5.29 the2k Linux From Scratch 3 10-04-2006 08:18 AM
Problem with Glibc-2.3.4 chapter 6.11 adancoco Linux From Scratch 1 02-14-2005 01:04 PM
problem with chroot on chapter 6 ! help please ! Cocolan Linux From Scratch 5 03-24-2004 03:42 PM

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

All times are GMT -5. The time now is 10:53 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
Open Source Consulting | Domain Registration