LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-04-2011, 07:51 AM   #1
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
Cool The Chicken and the Egg...


Hi,

Okay, in my personal timezone, it's sunday, and since I dont have anything better to do, I decided to give something zany a whack: install Linux from GNU source.
Okay, I've gotten this far: got a 16Gb USB stick partitioned, and mounted, the networking works so I can wget anything.
Snag, I will need GCC...but GNU delivers ... source (unless I'm wrong, if so correct me), so, how to I compile something without a ... compiled compiler?
Oh, if I can untar everything, I get a "invalid tar magic" when I try to unpack make...

Any thoughts? Thanks!

Thor

Edit : following the LFS roadsign, I use TTYLinux as base to start with...

Last edited by Thor_2.0; 09-04-2011 at 07:52 AM.
 
Old 09-04-2011, 08:30 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,502

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
"ws TTYLinux" has GCC-based C development capability.
http://www.ttylinux.net/wsttylinux-dloadPC.html

Kind regards
 
1 members found this post helpful.
Old 09-04-2011, 08:36 AM   #3
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Thanks, I knew I missed something...
 
Old 09-04-2011, 09:52 AM   #4
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
...oh great, now (just like the other ones) it does'nt get anything untarred,

upon arival:

Quote:
tar xvzf bison-2.3.tar.gz
and I get

Quote:
invalid tar magic
Though the "z" is a flag for gz files

I tried a woraround:

Quote:
gunzip bison-2.3.tar.gz
tar xvf bison-2.3.tqr
with the same effect...

Hmm, weird...
Edit : according to the man page, the default download mode is "i" - binary...so, since I did'nt set the mode, the tars should not have been changed during transit...

Last edited by Thor_2.0; 09-04-2011 at 10:07 AM.
 
Old 09-04-2011, 10:13 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,502

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Could it be the tar file is corrupt?
What's the output from
Code:
file bison-2.3.tar.gz
Kind regards
 
Old 09-04-2011, 10:29 AM   #6
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Well...file does'nt work, so I did a "more" and it says nothing weird, all in all the tar scrolls by unhindered...no apparent damages...

Edit : I tried the very same on my system (wget and tar) and here the same file untars nicely...what is bizare is that I could wget ad untar gcc (though not needed, in hindsight) on the affected system without a glitch...
Edit : It is possible that the Busybox Tar is not that good...too bad that I have to give up for this

Last edited by Thor_2.0; 09-04-2011 at 12:20 PM.
 
Old 09-04-2011, 02:20 PM   #7
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Confirmation : the Busybor Tar function does'nt work well on some/most tarballs...I'll try to install a GNU tar...
 
  


Reply

Tags
compile, gnu, install


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
chicken-Egg problem in booting sequence ashishravande Linux - Newbie 11 03-16-2013 11:43 AM
The chicken, or the egg...... ErrorBound General 9 06-19-2007 05:56 AM
Partition root : chicken or egg? snoozing Suse/Novell 11 02-04-2006 09:08 AM
compiler chicken and egg problem novasoy Linux - Newbie 4 06-24-2004 01:18 PM
Which came first...the chicken of the egg? ugenn Linux - Newbie 3 04-13-2002 09:17 AM


All times are GMT -5. The time now is 07:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration