LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-12-2005, 08:42 PM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
Section 6.15 Coreutils compile error


ok, so after running the 'configure' command it seemed to be going good. I ran the 'make' command, hoping it would work(having had some previous trouble). But, I ran into errors. They are posted below
Quote:
make[2]: Entering directory `/sources/coreutils-5.2.1/man'
Updating man page uname.1
Can't locate POSIX.pm in @INC (@INC contains: /tools/lib/perl5/5.8.5/i686-linux /tools/lib/perl5/5.8.5 /tools/lib/perl5/site_perl/5.8.5/i686-linux /tools/lib/perl5/site_perl/5.8.5 /tools/lib/perl5/site_perl .) at ./help2man line 28.
BEGIN failed--compilation aborted at ./help2man line 28.
make[2]: *** [uname.1] Error 2
make[2]: Leaving directory `/sources/coreutils-5.2.1/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-5.2.1'
make: *** [all] Error 2
make[2]: Entering directory `/sources/coreutils-5.2.1/man'
Updating man page uname.1
Can't locate POSIX.pm in @INC (@INC contains: /tools/lib/perl5/5.8.5/i686-linux /tools/lib/perl5/5.8.5 /tools/lib/perl5/site_perl/5.8.5/i686-linux /tools/lib/perl5/site_perl/5.8.5 /tools/lib/perl5/site_perl .) at ./help2man line 28.
BEGIN failed--compilation aborted at ./help2man line 28.
make[2]: *** [uname.1] Error 2
make[2]: Leaving directory `/sources/coreutils-5.2.1/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-5.2.1'
make: *** [all] Error 2
 
Old 08-12-2005, 11:24 PM   #2
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
Did you manually verify that the POSIX.pm file exist? If its missing the only advice I could give you is to start over from where perl gets installed during chapter 5. Luckily its the last section in chapter 5.
 
Old 08-13-2005, 01:30 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
after checking the /mnt/lfs/tools/lib/perl5/5.8.5 directory, and finding that POSIX.pm does not exist, I tried to recompile perl. That quit w/ errors about 'ld' and something else. I have a feeling that somethings messed up. Thoughts? Otherwise I'll probably start over
 
Old 08-13-2005, 02:31 PM   #4
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
Can you post the error? Did you ensure to exit the chroot enviroment and reset all the variables before starting to compile perl?

Since you have only gotten to just now finishing the tools build it might not be too bad of a idea to start over and use the more updated version of the book. The new one uses perl 5.8.6.
 
Old 08-13-2005, 09:04 PM   #5
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
more updated. Like 6.1? Will it be easier? No but seriously, you think that'd work better? I was planning on starting over anyway, but... I'll look into it. I'll have to get the error, yes I exited the chroot environment, re-made user lfs(I had to reinstall my host system, due to system wide permissions errors). Thanks.
 
Old 08-17-2005, 09:28 PM   #6
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
nobody has any other thoughts?
 
Old 09-03-2005, 05:59 PM   #7
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
Sorry bout taking a while to reply, my harddrive that had both my LFS system and the backup on it decided to just wipe itself clean, Ive been reinstalling and tweaking lfs since.

I dont think the new version will be any easier but maybe less trouble as more of the bugs will be worked out. I would of just started back over. You never know but later on down the line you might come into more trouble that will force you to reinstall.
 
Old 09-04-2005, 07:48 PM   #8
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
yep, I started over. Don't worry taking a while...I wasn't hanging around waiting for you . I downloaded the 6.1 lfs-packages-6.1.tar packages.
 
  


Reply



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
Coreutils-5.2.1 error LFS 5.1 michaelbhahn Linux From Scratch 8 09-01-2007 01:36 PM
Section 6.14 Gcc-3.4.1 error microsoft/linux Linux From Scratch 10 08-11-2005 09:52 PM
LFS 6.0 Bindutils section 6.13 error xushi Linux From Scratch 6 05-31-2005 11:31 AM
now getting error in coreutils test(chapter 6-lfs-5.1.1) linuxbh Linux From Scratch 2 09-16-2004 02:45 AM
coreutils-5.0 error rahul_jain_9684 Linux From Scratch 0 09-27-2003 12:51 AM

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

All times are GMT -5. The time now is 11:27 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