LinuxQuestions.org
Visit Jeremy's Blog.
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 02-27-2018, 12:43 PM   #1
yelinaung
LQ Newbie
 
Registered: Feb 2018
Location: Yangon, Myanmar
Distribution: Fedora
Posts: 3

Rep: Reputation: Disabled
Post I had been encounter with an error in installing GCC!! Error 2


Here is result of version-check.sh




lfs@ubuntu:/home/yla$ sudo sh version-check.sh
bash, version 4.3.48(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.26.1
bison (GNU Bison) 3.0.4
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2, Version 1.0.6, 6-Sept-2010.
Coreutils: 8.25
diff (GNU diffutils) 3.3
find (GNU findutils) 4.7.0-git
GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.6) 5.4.0 20160609
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.6) 5.4.0 20160609
(Ubuntu GLIBC 2.23-0ubuntu10) 2.23
grep (GNU grep) 2.25
gzip 1.6
Linux version 4.13.0-32-generic (buildd@lgw01-amd64-004) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)) #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018
m4 (GNU M4) 1.4.17
GNU Make 4.1
GNU patch 2.7.5
Perl version='5.22.1';
sed (GNU sed) 4.2.2
tar (GNU tar) 1.28
texi2any (GNU texinfo) 6.1
xz (XZ Utils) 5.1.0alpha
g++ compilation OK





Here is make -j4 output (just bottom lines)

make[2]: Entering directory '/mnt/lfs/sources/gcc/build/mpfr'
CDPATH="${ZSH_VERSION+.}:" && cd ../../mpfr && /bin/sh /mnt/lfs/sources/gcc/mpfr/missing aclocal-1.15 -I m4
/mnt/lfs/sources/gcc/mpfr/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/mpfr/aclocal.m4' failed
make[2]: *** [../../mpfr/aclocal.m4] Error 127
make[2]: Leaving directory '/mnt/lfs/sources/gcc/build/mpfr'
Makefile:4991: recipe for target 'all-mpfr' failed
make[1]: *** [all-mpfr] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc/build'
Makefile:863: recipe for target 'all' failed
make: *** [all] Error 2

Last edited by yelinaung; 02-27-2018 at 12:50 PM.
 
Old 02-28-2018, 07:43 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,151

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
The error from make is telling you what to do, you have missing software so install it.
 
  


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
error of installing gcc-2.95.3 hgdcjq Linux - Software 1 08-26-2012 10:33 AM
I encounter with an error in nALFS when running a xml file. k84834 Linux - Newbie 1 08-13-2012 03:56 PM
I encounter with an error in nALFS when running a xml file. k84834 Linux From Scratch 0 08-13-2012 05:00 AM
Why do I encounter Flash plugin error so often? Mr. Alex Linux - Software 7 09-28-2010 07:22 AM
Error in installing gcc Hitboxx Fedora 1 04-27-2006 09:33 AM

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

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