[lfs-support] please tell the error

prashant dawar prashantdawar.2008 at gmail.com
Fri Nov 16 03:14:11 PST 2012


i am thinking the error is with glibc of host itself. its working in host
quite well but lfs is not able to use it properly due to coding in
configure file itself. i am checking the configure file of binutils now.


On Fri, Nov 16, 2012 at 4:14 PM, Raji A.C <raji at nexegen.net> wrote:

> run this command before starting build apt-get install texinfo
>
>
>
> On Fri, Nov 16, 2012 at 4:07 PM, prashant dawar <
> prashantdawar.2008 at gmail.com> wrote:
>
>>  here is the output of the Result of version check.sh on ubuntu 12.04
>> bash, version 4.2.24(1)-release
>> /bin/sh -> /bin/dash
>> Binutils: (GNU Binutils for Ubuntu) 2.22
>> bison (GNU Bison) 2.5
>> /usr/bin/yacc -> /usr/bin/bison.yacc
>> bzip2,  Version 1.0.6, 6-Sept-2010.
>> Coreutils:  8.13
>> diff (GNU diffutils) 3.2
>> find (GNU findutils) 4.4.2
>> GNU Awk 3.1.8
>> /usr/bin/awk -> /usr/bin/gawk
>> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>> (Ubuntu EGLIBC 2.15-0ubuntu10.3) 2.15
>> grep (GNU grep) 2.10
>> gzip 1.4
>> Linux version 3.2.0-32-generic-pae (buildd at roseapple) (gcc version 4.6.3
>> (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012
>> m4 (GNU M4) 1.4.16
>> GNU Make 3.81
>> patch 2.6.1
>> Perl version='5.14.2';
>> GNU sed version 4.2.1
>> tar (GNU tar) 1.26
>> version-check.sh: line 30: makeinfo: command not found
>> Texinfo:
>> xz (XZ Utils) 5.1.0alpha
>> gcc compilation OK
>>
>>
>>
>> On Thu, Nov 15, 2012 at 8:47 PM, Carl Thorn <thorncs at yahoo.com> wrote:
>>
>>>
>>>
>>> ------------------------------
>>> *From:* prashant dawar <prashantdawar.2008 at gmail.com>
>>> *To:* lfs-support at linuxfromscratch.org
>>> *Sent:* Thu, November 15, 2012 6:15:55 AM
>>> *Subject:* [lfs-support] please tell the error
>>>
>>> i followed the guide . have a problem in section 5,.4
>>> binutils-2.22-pass1  5.4.1 installation of cross binutils
>>> LFS and LFS_TGT are properly set and permission to binutils-build and
>>> binutils-2.22 directories are 777 and every file in binutils-2.22 are also
>>> 777
>>>
>>>
>>> lfs at dell-OptiPlex-780:/mnt/lfs/sources/binutils-build$
>>> /mnt/lfs/sources/binutils-2.22/configure --prefix=/tools
>>> --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT
>>> --disable-nls --disable-werror
>>> checking build system type... i686-pc-linux-gnu
>>> checking host system type... i686-pc-linux-gnu
>>> checking target system type... i686-lfs-linux-gnu
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether ln works... yes
>>> checking whether ln -s works... yes
>>> checking for a sed that does not truncate output... /bin/sed
>>> checking for gawk... gawk
>>> checking for gcc... gcc
>>> checking for C compiler default output file name...
>>> configure: error: in `/mnt/lfs/sources/binutils-build':
>>> configure: error: C compiler cannot create executables
>>> See `config.log' for more details.
>>> lfs at dell-OptiPlex-780:/mnt/lfs/sources/binutils-build$
>>>
>>>
>>>
>>> config.log file is attached. help please.
>>>
>>>
>>> I am not one of the pros here but from what I see you are using Ubuntu
>>> as your host system. I compiled my LFS-7.2 using Ubuntu as my host system
>>> as well. But I had to install some packages that were missing from Ubuntu
>>> before I began my build. If you didn't run the version-check script in
>>> vii-Host System Requirements, you need to do so and then install any
>>> missing packages.
>>>
>>> --
>>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>> Unsubscribe: See the above information page
>>>
>>>
>>
>> --
>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> Unsubscribe: See the above information page
>>
>>
>
>
> --
> --
> Best Regards
> *Raji  A C*
> Nexegen Consultancy Service
> 2nd Floor.Lan-Ship Mall,
> Mavoor Road Jn,
> Bank Road,Calicut-673001,
> Kerala,India
> mail : raji at nexegen.net <nayana at nexegen.net>
>
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20121116/0fb9627e/attachment.html>


More information about the lfs-support mailing list