[lfs-support] Problem on compiling and installing Binutils-2.21.1a

Uthayanan suthayanan at gmail.com
Tue Jan 10 03:21:57 PST 2012


Hi Firerat,

I  did that in following way.

I went to the binutis-2.21 folder first (after unziping ) and then offered
the commands in the book. I think the commands in the book simply get out
of the binutils folder and create binutil-build under source directory..

Correct me If I am wrong.

On Tue, Jan 10, 2012 at 4:31 PM, Firerat <firer4t at googlemail.com> wrote:

> Let's have a small time out and think about this....
>
> make failed as it found no Makefile, this is created by configure.
>
> Binutils is a little 'odd' in you build it outside of the source dir
>
> in sources you should have the tarball, binutils-x.y.z/ and binutils-build
>
> I suspect you have untared binutils, then created ../binutils-build
> Easy mistake to make....
>
> The book assumes you are in the packages source dir
> Untar binutils, cd into the created dir and then follow the book
> On Jan 10, 2012 10:45 AM, "Uthayanan" <suthayanan at gmail.com> wrote:
>
>> Hi Firerat,
>>
>> lfsuthayan at ubuntu:/$ make -j1
>> make: *** No targets specified and no makefile found.  Stop.
>>
>> I also tried in following way
>>
>> lfsuthayan at ubuntu:/$ export MAKEFLAGS='-j 1'
>> lfsuthayan at ubuntu:/$ make -j1
>> make: *** No targets specified and no makefile found.  Stop.
>>
>> But earlier, Since My laptop is core to duo i set it to two and i didnt
>> get any sort of error.
>>
>> On Tue, Jan 10, 2012 at 4:07 PM, Firerat <firer4t at googlemail.com> wrote:
>>
>>>
>>> On Jan 10, 2012 10:22 AM, "Uthayanan" <suthayanan at gmail.com> wrote:
>>> >
>>> > Hi Firerat
>>> >
>>> > Book says the required disk space should be 350 MB. But my
>>> binutils-build is only 508K
>>> >
>>> > lfsuthayan at ubuntu:/mnt/lfs/Sources$ ls -lh binutils-build/
>>> > total 508K
>>> >
>>> > that means , I am missing something no .... btw I used ubuntu to
>>> create my lfs partition.. is there any thing to do with that ?
>>> >
>>> > On Tue, Jan 10, 2012 at 3:45 PM, Firerat <firer4t at googlemail.com>
>>> wrote:
>>> >>
>>> >>
>>> >> On Jan 10, 2012 9:48 AM, "Uthayanan" <suthayanan at gmail.com> wrote:
>>> >> >
>>> >> > Hi Sandip,
>>> >> >
>>> >> > I followed the book.. During the compilation i didnt get any
>>> errors.. Then during the installation I got the above warning and system
>>> >> > got out of the installation mode soon after the errors.
>>> >> > Do we have different options in compilation ?
>>> >> >
>>> >> > On Tue, Jan 10, 2012 at 3:13 PM, sandip sitapara <
>>> s13884neo at gmail.com> wrote:
>>> >> >>
>>> >> >> There is no error. Just messages that there is nothing to be
>>> installed. I am not sure but testsuit shouldn't be install in system it is
>>> just to check the correct installation and dependencies to run that
>>> software correctly.Also you have to look the compilation options while
>>> building the same.
>>> >> >>
>>> >> >> On Tue, Jan 10, 2012 at 3:05 PM, Uthayanan <suthayanan at gmail.com>
>>> wrote:
>>> >> >>>
>>> >> >>> Hi Group,
>>> >> >>>
>>> >> >>> I get following error when I try to install the binutils. I am
>>> new to lfs and may be this one may be a silly question to ask:) . Please
>>> help me on this
>>> >> >>>
>>> >> >>> make[3]: Entering directory
>>> `/mnt/lfs/Sources/binutils-build/libiberty/testsuite'
>>> >> >>> make[3]: Nothing to be done for `install'.
>>> >> >>> make[3]: Leaving directory
>>> `/mnt/lfs/Sources/binutils-build/libiberty/testsuite'
>>> >> >>> make[2]: Leaving directory
>>> `/mnt/lfs/Sources/binutils-build/libiberty'
>>> >> >>> make[1]: Nothing to be done for `install-target'.
>>> >> >>> make[1]: Leaving directory `/mnt/lfs/Sources/binutils-build'
>>> >> >>> lfsuthayan at ubuntu:/mnt/lfs/Sources/binutils-build$
>>> >> >>> lfsuthayan at ubuntu:/mnt/lfs/Sources/binutils-build$
>>> >> >>>
>>> >> >>>
>>> >> >>>
>>> >> >>> Thanks
>>> >> >>>
>>> >> >>>
>>> >> >>> --
>>> >> >>> Regards,
>>> >> >>> s uthay
>>> >> >>>
>>> >> >>> --
>>> >> >>> 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
>>> >> >>
>>> >> >
>>> >> >
>>> >> >
>>> >> > --
>>> >> > Regards,
>>> >> > s uthay
>>> >> >
>>> >> > --
>>> >> >
>>> >> >
>>> >>
>>> >> The make install simply runs make install in each directory, the
>>> testsuite doesn't have a install target...it is just stating it That is
>>> perfectly normal
>>> >>
>>> >> Warnings can usually be ignored, unless you are working with the code
>>> and want to resolve them
>>> >>
>>> >> Regards 'options in compilation'
>>> >> for the moment follow the book exactly  *do not* deviate from the
>>> book, you will only get lost.
>>> >>
>>> >> When you come across something that reads
>>> >> <EDITME<xxx>EDITME>
>>> >> or the like, then you need to modify for your needs, e.g. timezone in
>>> glibc, papersize in groff, but CEOs those bridges when you get to them :)
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>> >> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>> >> Unsubscribe: See the above information page
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Regards,
>>> > s uthay
>>> >
>>>
>>> Ok, well the copy'n'paste you did doesn't detail any errors
>>>
>>> Do
>>>     make -j1
>>>
>>> Why -j1 ?
>>> If you set MAKEFLAGS="-j<n>" to take advantage of multiple cores the
>>> error can be hidden higher up in the compiler spew,,, -j1 will make it
>>> easier to read
>>>
>>> As binutils is the first package it may well be worth going back and
>>> starting again, it will be something simple, probably a missing package on
>>> your host system
>>>
>>> --
>>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>> Unsubscribe: See the above information page
>>>
>>>
>>
>>
>> --
>> Regards,
>> s uthay
>>
>> --
>> 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
>
>


-- 
Regards,
s uthay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120110/5e6429e8/attachment.html>


More information about the lfs-support mailing list