LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-24-2015, 02:07 PM   #1
Amsbred
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Rep: Reputation: Disabled
Wink Problem while making gcc


Hello,
So I'm building my own Linux Distribution as described in http://www.linuxfromscratch.org/lfs/...gcc-pass1.html
The problem I have is while I'm making gcc.
I'm sorry 'cauz I can't copy/paste the errot 'cauz I'm workin' on Virtual Machine. However the error is similar to this one bellow:
Code:
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/root/gcc/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/root/gcc/build'
make: *** [all] Error 2
I have tried the latest gcc version gcc-5.2.0 but all those things didn't work !
I really need your help please. Thanks in advance
 
Old 08-24-2015, 02:42 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
for redhat you really do not build gcc ( well one can but...)

you use yum to install the already built version

gcc5.2 is going to have many issues with rhel6 or 7
gcc5.2 is way too new

also WHY are you running "make" as ROOT
it is normally a VERY BIG NO-NO to run " configure" and "make" as root

you run these as a normal non root user
THEN!! become root to run "make install"

Last edited by John VV; 08-24-2015 at 02:45 PM.
 
Old 08-24-2015, 05:42 PM   #3
Amsbred
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks @John_VV,
It's already done. I tried the following discribtion toohttp://www.linuxfromscratch.org/lfs/...gcc-pass2.html.
I'm lookin' for in other forum without any result ! So I'm blocked expectin' for a solution.
 
Old 08-25-2015, 03:13 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@Amsbred : Welcome to LQ.

Please use the 'Report' button to ask a moderator for moving your thread to the "Linux From Scratch" Forum.
** http://www.linuxquestions.org/questi...om-scratch-13/
! ! ! http://www.linuxquestions.org/questi...s-forum-95154/


I don't think you can compile a "bleeding edge" gcc-5.2.0 on an 8 year old OS.
( The stable "gcc-5.1.1" compiles OK with any contemporary 'Linux OS'.)

The "LFS ready" OS is ... Slackware 14.1 .


-
 
  


Reply

Tags
lfs



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] c/c++ on puppy (making gcc work) tuskotheelephant Puppy 2 01-15-2013 03:12 PM
Out of Memory when making GCC-4.5.2 BrandonJ Linux From Scratch 3 05-18-2011 08:13 PM
question about making GCC-2.95.3 dylbit Linux - General 1 03-21-2006 03:43 AM
gcc making me crazy +Suse 9.1 greenpenguin246 Linux - Software 1 08-10-2005 08:25 PM
Making GCC Compile Executables? The Pentium Guy Debian 3 11-06-2004 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:20 AM.

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