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 04-20-2013, 12:00 AM   #1
DeeGee
Member
 
Registered: Apr 2013
Distribution: Debian, Linux From Scratch, Mint
Posts: 118

Rep: Reputation: 24
LFS 7.3 6.17 GCC Error cannot find neither zip nor jar


My laptop crashed suddenly in the middle of 6.17 GCC. I had already finished configuring and was in the middle of the make.

Anyway, I restarted and remounted the partitions and issued the make command again as root. Now I get the error

Code:
cannot find neither zip nor jar, cannot continue
I doubt this is an expected error as it is not mentioned in the book. What can I do to remedy the process. Shall I have to completely uninstall gcc?
 
Old 04-20-2013, 01:11 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

I think that would be the best idea, remove the old gcc-dir and buld-dir
 
1 members found this post helpful.
Old 04-20-2013, 01:49 AM   #3
DeeGee
Member
 
Registered: Apr 2013
Distribution: Debian, Linux From Scratch, Mint
Posts: 118

Original Poster
Rep: Reputation: 24
Spiky,

Would simply removing the gcc and build directories suffice? Do I have to unmake? I'm scared to do that because then what I compiled in Chapter 5 will also be affected.
 
Old 04-20-2013, 01:57 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by DeeGee View Post
Spiky,

Would simply removing the gcc and build directories suffice? Do I have to unmake? I'm scared to do that because then what I compiled in Chapter 5 will also be affected.
As long as you did not yet do the make install step you can safely remove the gcc and build dir, untar and start from the top of the chapter.

Once you execute the make install step executables, libs etc are copied to their final destination. Before this step all is done inside the ggc and/or build directory.

But that is assuming that your crash did not corrupt anything else on your laptop (be it host related, the temp LFS environment or the already installed parts of chapter 6)!

PS: I do hope you made a backup of chapter 5 when it was mentioned (Caution at the bottom). This way you don't have to start all over again if something goes wrong in chapter 6.
 
1 members found this post helpful.
Old 04-20-2013, 02:49 AM   #5
DeeGee
Member
 
Registered: Apr 2013
Distribution: Debian, Linux From Scratch, Mint
Posts: 118

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by druuna View Post
As long as you did not yet do the make install step you can safely remove the gcc and build dir, untar and start from the top of the chapter.

Once you execute the make install step executables, libs etc are copied to their final destination. Before this step all is done inside the ggc and/or build directory.
Just a small clarification here : top of the chapter meaning chapter 6 or only GCC?

Yes, thankfully I've done a backup!
 
Old 04-20-2013, 02:51 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by DeeGee View Post
Just a small clarification here : top of the chapter meaning chapter 6 or only GCC?
Top of chapter 6.17. GCC-4.7.2
 
Old 04-20-2013, 03:57 AM   #7
DeeGee
Member
 
Registered: Apr 2013
Distribution: Debian, Linux From Scratch, Mint
Posts: 118

Original Poster
Rep: Reputation: 24
Yes its fixed now and druuna, thanks for your patience with my noobish questions !

Also, for anyone else having the same problem, I figured out where the mistake was.

The gcc configure has an option with

enable-language=c,c++

I had missed this option and that so it searched for java. So that was the root of the problem so just check if you had done the configuration properly if the same error occurs.

Last edited by DeeGee; 04-20-2013 at 04:24 AM.
 
1 members found this post helpful.
  


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] LFS-7.3: 6.17 Gcc-4.7.2, ld cannot find crti.o? McZ Linux From Scratch 6 03-05-2013 06:04 AM
[SOLVED] LFS: Error during GCC-4.7.1-Pass 1 (LFS 7.2, Section 5.5) erkant Linux From Scratch 7 11-28-2012 06:03 AM
Gcc 4.6.1 can't Find in /mnt/lfs/tools on LFS verison 7.0 using LFS_TGT xerofoify Linux From Scratch 20 08-03-2012 12:55 PM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM

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

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