LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-14-2014, 10:19 PM   #1
bwags93
LQ Newbie
 
Registered: Oct 2014
Location: OKC
Posts: 5

Rep: Reputation: Disabled
6.42 Perl-5.20.0 Error


Ok, so I got past my Inetutils problem, but now im running into a issue with installing Perl, the next section lol.

So Ill go through and do the echo command and both of the export commands in the untapped Perl-5.20.0 file. I run through the sh Configure command without any visible errors.

When I go to the make command, I get this at the end of the command:

Making x2p stuff
make[1]: Entering directory '/sources/perl-5.20.0/x2p'
You haven't done a "make depend" yet!
Makefile:132: recipe for target 'hash.o' failed
make[1]: *** [hash.o] Error 1
make[1]: Leaving directory '/sources/perl-5.20.0/x2p'
Makefile:286: recipe for target 'translators' failed
make: *** [translators] Error 2

Now, after last post I had, I tried moving on and doing the rest of it.

make -k test comes back clean

make install:

make[2]: Leaving directory '/sources/perl-5.20.0/x2p'
../makedepend: line 202: You don't seem to have a proper C preprocessor. Using grep instead.: command not found
../makedepend: line 203: ^#include : command not found
../makedepend: line 204: Updating ...: command not found
../makedepend: line 205: -n: command not found
../makedepend: line 211: -n: command not found
../makedepend: line 213: s|^[^;]*/||: No such file or directory
../makedepend: line 212: -n: command not found
../makedepend: line 214: -f: command not found
../makedepend: line 215: -n: command not found
../makedepend: line 216: -f: command not found
../makedepend: line 218: -f: command not found
../makedepend: line 219: .old: command not found
../makedepend: line 220: -f: command not found
../makedepend: line 221: .new: command not found
../makedepend: line 222: .new: command not found
../makedepend: line 223: $mf: ambiguous redirect
../makedepend: line 224: -rf: command not found
make[1]: Leaving directory '/sources/perl-5.20.0/x2p'

Making x2p stuff
make[1]: Entering directory '/sources/perl-5.20.0/x2p'
You haven't done a "make depend" yet!
Makefile:132: recipe for target 'hash.o' failed
make[1]: *** [hash.o] Error 1
make[1]: Leaving directory '/sources/perl-5.20.0/x2p'
Makefile:286: recipe for target 'translators' failed
make: *** [translators] Error 2
root:/sources/perl-5.20.0#


I even tried moving on to the XML:Parser section and perl cannot find Makefile.PL which im assuming is because of errors in the PERL installation.
 
Old 10-14-2014, 10:51 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Yes, try backtracking through the packages you already have installed and see if you may have accidentally missed one. Sometimes you can forget a section and mess up accidentally. The C preprocessor could be anything between GCC and Perl.

Try this:

Go through the chapters and look for the "Short Descriptions" section and run this command on at least one of the files mentioned:

Code:
whereis xxxxx
It should spit out a /path/to/... per each mentioned. If it doesn't then you may need to recheck that package.

Last edited by ReaperX7; 10-14-2014 at 11:00 PM.
 
Old 10-14-2014, 11:14 PM   #3
bwags93
LQ Newbie
 
Registered: Oct 2014
Location: OKC
Posts: 5

Original Poster
Rep: Reputation: Disabled
Ok, I went through and the only place I found anything missing when running whereis xxxx was all the way back at the GCC-4.9.1 installation 6.17. I did end up running most of the other short descriptions from GCC to Perl and they all checked out. The ones missing from GCC were:

libtsan
libiberty
libgcov
libgcc

If I have to do a re install from this point (fingers crossed no...84 sbu lol pass), would it be a full re do, or would I just have to do this section again? And would I be able to just overwrite whats already existing?

And just reading the descriptions on those missing, I couldn't quite figure out if they even related to the issue I'm having with Perl, and was wondering if you could elaborate.

Thanks!
 
Old 10-15-2014, 03:09 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Since LFS is the core and is fairly small, you could rebuild it fairly quickly. I can tell you, you can save a TON of time by skipping the checks and tests. The sanity checks for GCC and binutils are really all you need to use. You could probably rebuild everything in about 8 hours if you utilize your multi-core CPU with make -jX replacing X with the number of CPU cores in your system +1 (if you use a dual-core and use make -j3 it enables the CPU precache).

You can try to rebuild GCC and reinstall and see if it helps first, but because other components were built against the bootstrap GCC, they may not have the right optimizations or builds against the finalized GCC built in Chapter 6.

Last edited by ReaperX7; 10-15-2014 at 03:11 AM.
 
Old 10-15-2014, 06:02 PM   #5
bwags93
LQ Newbie
 
Registered: Oct 2014
Location: OKC
Posts: 5

Original Poster
Rep: Reputation: Disabled
Ok, Ill try to do the GCC rebuild on its own first to see what happens, if worse comes to worse, I made a backup after I finished the preparation of the LFS system (thank god).
 
  


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
[SOLVED] Updating PERL or any package depending on PERL gives error message Guus Bonnema Fedora - Installation 3 07-26-2011 07:46 AM
Perl use prima; Prima(perl) (image processing software))error knockout_artist Linux - Software 2 09-11-2007 10:13 PM
Perl Error cramer Programming 2 08-03-2006 09:07 PM
Yum error: .conflict between perl and perl-NDBM_File zepplin611 Red Hat 3 10-20-2004 10:22 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM

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

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