[lfs-support] lfs-support Digest, Vol 563, Issue 1

Sumit Kokal sumitkokal at gmail.com
Fri Aug 26 21:53:36 PDT 2016


Hello,
Hello sir, my first pass is successfully done..all packages are properly
installed,and  M move to pass 2. First package is binutils.when im
configure the error is that" c compiler can not create executable " i try
3-4 times but same error occurs!
> Host system ubuntu 16lts

Hostsystem Requirement output,
root at sumi-k:/home/sumi# bash version-check.sh
bash, version 4.3.46(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.2) 5.4.0 20160609
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
(Ubuntu GLIBC 2.23-0ubuntu3) 2.23
grep (GNU grep) 2.25
gzip 1.6
Linux version 4.4.0-34-generic (buildd at lgw01-20) (gcc version 5.3.1
20160413 (Ubuntu 5.3.1-14ubuntu2.1) ) #53-Ubuntu SMP Wed Jul 27 16:06:39
UTC 2016
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


On Thu, Aug 25, 2016 at 12:30 AM, <
lfs-support-request at lists.linuxfromscratch.org> wrote:

> Send lfs-support mailing list submissions to
>         lfs-support at lists.linuxfromscratch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.linuxfromscratch.org/listinfo/lfs-support
> or, via email, send a message with subject or body 'help' to
>         lfs-support-request at lists.linuxfromscratch.org
>
> You can reach the person managing the list at
>         lfs-support-owner at lists.linuxfromscratch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lfs-support digest..."
>
>
> Today's Topics:
>
>    1. Pass2 binutils error (Sumit Kokal)
>    2. Pass 2 binutils error (Sumit Kokal)
>    3. Re: Pass 2 binutils error (martynvidler)
>    4. Gperf is not installing correctly (Albert Pinto Gil)
>    5. Re: ***SPAM***  Gperf is not installing correctly
>       (Pierre Labastie)
>    6. Re: ***SPAM*** Gperf is not installing correctly
>       (Albert Pinto Gil)
>    7. Re: Gperf is not installing correctly (Pierre Labastie)
>    8. Re: ***SPAM*** Gperf is not installing correctly (Ken Moffat)
>    9. Re: ***SPAM*** Gperf is not installing correctly
>       (Albert Pinto Gil)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 24 Aug 2016 01:22:40 +0530
> From: Sumit Kokal <sumitkokal at gmail.com>
> To: lfs-support at linuxfromscratch.org
> Subject: [lfs-support] Pass2 binutils error
> Message-ID: <5B1F1254-9F60-44E5-9887-35C0ED343892 at gmail.com>
> Content-Type: text/plain;       charset=us-ascii
>
> Hello sir, my first pass is successfully done..all packages are properly
> installed,and  M move to pass 2. First package is binutils.when im
> configure the error is that" c compiler can not create executable " i try
> 3-4 times but same error occurs!
> Host system ubuntu 16lts
>
> Sent from my iPhone
>
> ------------------------------
>
> Message: 2
> Date: Wed, 24 Aug 2016 01:24:33 +0530
> From: Sumit Kokal <sumitkokal at gmail.com>
> To: Lfs <lfs-support at lists.linuxfromscratch.org>
> Subject: [lfs-support] Pass 2 binutils error
> Message-ID: <2217507E-EA92-4AAF-8D18-47640C7664C8 at gmail.com>
> Content-Type: text/plain;       charset=us-ascii
>
> Hello sir, my first pass is successfully done..all packages are properly
> installed,and  M move to pass 2. First package is binutils.when im
> configure the error is that" c compiler can not create executable " i try
> 3-4 times but same error occurs!
> Host system ubuntu 16lts
>
> Sent from my iPhone
>
> ------------------------------
>
> Message: 3
> Date: Wed, 24 Aug 2016 09:24:13 +0100
> From: martynvidler <martynvidler at aol.com>
> To: lfs-support at lists.linuxfromscratch.org
> Subject: Re: [lfs-support] Pass 2 binutils error
> Message-ID: <01aa8afc-799e-1ae8-b2ac-5af467187e2a at aol.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
>
>
> On 23/08/16 20:54, Sumit Kokal wrote:
> > Hello sir, my first pass is successfully done..all packages are properly
> installed,and  M move to pass 2. First package is binutils.when im
> configure the error is that" c compiler can not create executable " i try
> 3-4 times but same error occurs!
> > Host system ubuntu 16lts
> >
> > Sent from my iPhone
>   Hi can you post the version script output from this page
> http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 24 Aug 2016 18:35:57 +0200
> From: Albert Pinto Gil <apintogil at gmail.com>
> To: LFS Support List <lfs-support at lists.linuxfromscratch.org>
> Subject: [lfs-support] Gperf is not installing correctly
> Message-ID:
>         <CA+rp1feFMErcjfkrni_OJNdThrJheD3=auexb5yHrm3BPFfK6
> w at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello, I'm in chapter 6.51 of LFS 7.9 and, after installing the package
> Gperf like it is explained in the book, when I check if the directory exist
> I got an error. I'm pretty sure of having typed exactly the instructions in
> the book. With this mail I have add the log of the process.
>
> Thanks in advance
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/
> attachments/20160824/472ce245/attachment-0001.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: Gperf_log
> Type: application/octet-stream
> Size: 6572 bytes
> Desc: not available
> URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/
> attachments/20160824/472ce245/attachment-0001.obj>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 24 Aug 2016 18:49:37 +0200
> From: Pierre Labastie <pierre.labastie at neuf.fr>
> To: LFS Support List <lfs-support at lists.linuxfromscratch.org>
> Subject: Re: [lfs-support] ***SPAM***  Gperf is not installing
>         correctly
> Message-ID: <1f1139ec-1fab-7ca5-a1d2-0d41912bf68f at neuf.fr>
> Content-Type: text/plain; charset=utf-8
>
> On 24/08/2016 18:35, Albert Pinto Gil wrote:
> > Hello, I'm in chapter 6.51 of LFS 7.9 and, after installing the package
> Gperf
> > like it is explained in the book, when I check if the directory exist I
> got an
> > error. I'm pretty sure of having typed exactly the instructions in the
> book.
> > With this mail I have add the log of the process.
> >
> > Thanks in advance
> >
> >
> >
> Hi,
>
> There was an error during "make"... So, of course, "make install" failed.
> The
> error is:
> ---------
> /usr/bin/ld: cannot find crtbegin.o: No such file or directory
> ---------
> Since you have been able to reach the gperf page, I guess srtbegin is
> available (it is basically needed whenever you do some compilation).
> So somathing must have changed when doing gperf. Did you exit chroot (or
> reboot) and forgot to reenter chroot?
>
> Pierre
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 24 Aug 2016 19:05:27 +0200
> From: Albert Pinto Gil <apintogil at gmail.com>
> To: LFS Support List <lfs-support at lists.linuxfromscratch.org>
> Subject: Re: [lfs-support] ***SPAM*** Gperf is not installing
>         correctly
> Message-ID:
>         <CA+rp1fd9-i6mXOjuYga+GJpfSQqKevsZcCSDvbSJ9sX=+qbs=w
> @mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello, Because I'm using a virtual Machine I decided to save the machine
> state whenever I want to shutdown my PC, so I have never reboot it. Also
> I've got two terminal window opened. One of them is always in chroot mode.
>
> You said that srtbegin is available because it is necessary for compiling
> the packages. However, where I can find that file? I want to check it just
> in case.
>
> The file crtbegin.o is installed by a concrete package?
>
> Thanks
>
> PS. Sorry if there is too many questions but I'm new to linux.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/
> attachments/20160824/0896dc9f/attachment-0001.html>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 24 Aug 2016 19:15:51 +0200
> From: Pierre Labastie <pierre.labastie at neuf.fr>
> To: LFS Support List <lfs-support at lists.linuxfromscratch.org>
> Subject: Re: [lfs-support] Gperf is not installing correctly
> Message-ID: <35d3ae15-52a0-a510-0a3c-fcd3ca638d90 at neuf.fr>
> Content-Type: text/plain; charset=utf-8
>
> On 24/08/2016 19:05, Albert Pinto Gil wrote:
> > Hello, Because I'm using a virtual Machine I decided to save the machine
> state
> > whenever I want to shutdown my PC, so I have never reboot it. Also I've
> got
> > two terminal window opened. One of them is always in chroot mode.
> >
> > You said that srtbegin is available because it is necessary for
> compiling the
> > packages. However, where I can find that file? I want to check it just
> in case.
> >
> > The file crtbegin.o is installed by a concrete package?
> >
> > Thanks
> >
> > PS. Sorry if there is too many questions but I'm new to linux.
> >
> >
> >
> Oops sorry for typo, I meant crtbegin.o, not srtbegin...
>
> It is installed by gcc. You can find it in
> /usr/lib/gcc/<host-triplet>/<version>
>
> Can you run again the sanity checks at the end of the gcc page (in chapter
> six)?
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 24 Aug 2016 18:23:08 +0100
> From: Ken Moffat <zarniwhoop at ntlworld.com>
> To: LFS Support List <lfs-support at lists.linuxfromscratch.org>
> Subject: Re: [lfs-support] ***SPAM*** Gperf is not installing
>         correctly
> Message-ID: <20160824172308.GA26520 at milliways.localdomain>
> Content-Type: text/plain; charset=utf-8
>
> On Wed, Aug 24, 2016 at 07:05:27PM +0200, Albert Pinto Gil wrote:
> > Hello, Because I'm using a virtual Machine I decided to save the machine
> > state whenever I want to shutdown my PC, so I have never reboot it. Also
> > I've got two terminal window opened. One of them is always in chroot
> mode.
> >
> > You said that srtbegin is available because it is necessary for compiling
> > the packages. However, where I can find that file? I want to check it
> just
> > in case.
> >
> > The file crtbegin.o is installed by a concrete package?
> >
> > Thanks
> >
> > PS. Sorry if there is too many questions but I'm new to linux.
>
> As I think you realised, srtbegin.o was a typo for crtbegin.o - and
> that is installed by gcc deep down below /usr/lib/gcc/.  But you
> must have had it to be able to get this far.
>
> But apart from whatever caused this breakage, you seem to have a
> further problem. I was pleased to see that your log covered all the
> steps in building that package, but shocked that it carried on after
> the error during 'make'.  In the book we do not cover automation, we
> expect people (at least on their first build) to type the commands
> in, run them, and watch for errors. If you did that, you would have
> seen the Error message after make.
>
> I almost wonder if there were unnoticed errors in previous packages.
>
> ĸen
> --
> `I shall take my mountains', said Lu-Tze. `The climate will be good
> for them.'     -- Small Gods
>
>
> ------------------------------
>
> Message: 9
> Date: Wed, 24 Aug 2016 19:35:27 +0200
> From: Albert Pinto Gil <apintogil at gmail.com>
> To: LFS Support List <lfs-support at lists.linuxfromscratch.org>
> Subject: Re: [lfs-support] ***SPAM*** Gperf is not installing
>         correctly
> Message-ID:
>         <CA+rp1fd6hwa3796ih+C0u=SrE-RG6yDOH9uEiZUcNS2GHkcYYg at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Pierre, this is the log I get when doing the sanity check. Because it is
> slightly different from what is said in the book I'm going to try to
> install again GCC. It is the only thing that come to my mind.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/
> attachments/20160824/b74f1c98/attachment-0001.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: GCC_sanity
> Type: application/octet-stream
> Size: 1296 bytes
> Desc: not available
> URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/
> attachments/20160824/b74f1c98/attachment-0001.obj>
>
> ------------------------------
>
> Subject: Digest Footer
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
>
> ------------------------------
>
> End of lfs-support Digest, Vol 563, Issue 1
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20160827/5a0f0601/attachment.html>


More information about the lfs-support mailing list