Rajinder Yadav | 5 Jul 2009 04:43
Favicon

confused at chapter 5.6


I am confused at what needs to be done in chapter 5.6. Linux-2.6.27.4 API Headers.

do I need to unzip the linux kernel at this point?
which direction is this command executed from?

where is 'headers_check' defined for 'make headers_check' step?

Also in the prior step for building gcc, were we just to unzip and rename files mpfr and gmp without building
these packages?

Kind Regards,
Rajinder Yadav

      __________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Justin P. Mattock | 5 Jul 2009 05:04
Picon

Re: confused at chapter 5.6

Rajinder Yadav wrote:
> I am confused at what needs to be done in chapter 5.6. Linux-2.6.27.4 API Headers.
>
> do I need to unzip the linux kernel at this point?
> which direction is this command executed from?
>
> where is 'headers_check' defined for 'make headers_check' step?
>
> Also in the prior step for building gcc, were we just to unzip and rename files mpfr and gmp without building
these packages?
>
> Kind Regards,
> Rajinder Yadav
>
>
>        __________________________________________________________________
> The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
>    
Well firstly you would have untar
the tar ball from kernel.org, then
move into the new kernel's source tree
to execute those commands.
or if your distribution already has a kernel
move to it's source tree to execute those commands.

mpfr and gmp need to be built and installed before compiling
gcc(or use the hosts systems gmp/mpfr i.g. apt-get install *
if your on debian/ubuntu).

Justin P. Mattock
(Continue reading)

Rajinder Yadav | 5 Jul 2009 05:08
Favicon

Re: confused at chapter 5.6


correction: 

which directory is this command executed from?

--- On Sat, 7/4/09, Rajinder Yadav <devguy <at> ymail.com> wrote:

> From: Rajinder Yadav <devguy <at> ymail.com>
> Subject: confused at chapter 5.6
> To: "LFS-Support" <lfs-support <at> linuxfromscratch.org>
> Received: Saturday, July 4, 2009, 10:43 PM
> 
> I am confused at what needs to be done in chapter 5.6.
> Linux-2.6.27.4 API Headers.
> 
> do I need to unzip the linux kernel at this point?
> which direction is this command executed from?
> 
> where is 'headers_check' defined for 'make headers_check'
> step?
> 
> Also in the prior step for building gcc, were we just to
> unzip and rename files mpfr and gmp without building these
> packages?
> 
> Kind Regards,
> Rajinder Yadav
> 
> 
>      
(Continue reading)

Michael Tsang | 5 Jul 2009 05:31
Picon
Gravatar

Re: confused at chapter 5.6

On Sunday 05 July 2009 11:08:47 Rajinder Yadav wrote:
> correction:
>
> which directory is this command executed from?
>
> --- On Sat, 7/4/09, Rajinder Yadav <devguy <at> ymail.com> wrote:
> > From: Rajinder Yadav <devguy <at> ymail.com>
> > Subject: confused at chapter 5.6
> > To: "LFS-Support" <lfs-support <at> linuxfromscratch.org>
> > Received: Saturday, July 4, 2009, 10:43 PM
> >
> > I am confused at what needs to be done in chapter 5.6.
> > Linux-2.6.27.4 API Headers.
> >
> > do I need to unzip the linux kernel at this point?
> > which direction is this command executed from?
> >
> > where is 'headers_check' defined for 'make headers_check'
> > step?
> >
> > Also in the prior step for building gcc, were we just to
> > unzip and rename files mpfr and gmp without building these
> > packages?
> >
> > Kind Regards,
> > Rajinder Yadav
> >
> >
> >      
> > __________________________________________________________________
(Continue reading)

Rajinder Yadav | 5 Jul 2009 05:34
Favicon

Re: confused at chapter 5.6


Hi Justin,

thanks that cleared things up and I was able to proceed. 

Also, I was able to build and install GCC without any issues but I didn't build the supporting packages (mpfr
and gmp) and I don't have the devel package for them installed.

I guess it would be safe to rebuild GCC =) after building mpfr and gmp!

Kind Regards,
Rajinder Yadav

--- On Sat, 7/4/09, Justin P. Mattock <justinmattock <at> gmail.com> wrote:

> From: Justin P. Mattock <justinmattock <at> gmail.com>
> Subject: Re: confused at chapter 5.6
> To: "LFS Support List" <lfs-support <at> linuxfromscratch.org>
> Received: Saturday, July 4, 2009, 11:04 PM
> Rajinder Yadav wrote:
> > I am confused at what needs to be done in chapter 5.6.
> Linux-2.6.27.4 API Headers.
> >
> > do I need to unzip the linux kernel at this point?
> > which direction is this command executed from?
> >
> > where is 'headers_check' defined for 'make
> headers_check' step?
> >
> > Also in the prior step for building gcc, were we just
(Continue reading)

Rajinder Yadav | 5 Jul 2009 05:58
Favicon

Re: confused at chapter 5.6


Hi Michael,

thanks for pointing out the important step, I would have glossed over it had it not been for you.

Kind Regards,
Rajinder Yadav

--- On Sat, 7/4/09, Michael Tsang <miklcct <at> gmail.com> wrote:

> From: Michael Tsang <miklcct <at> gmail.com>
> Subject: Re: confused at chapter 5.6
> To: "LFS Support List" <lfs-support <at> linuxfromscratch.org>
> Received: Saturday, July 4, 2009, 11:31 PM
> On Sunday 05 July 2009 11:08:47
> Rajinder Yadav wrote:
> > correction:
> >
> > which directory is this command executed from?
> >
> > --- On Sat, 7/4/09, Rajinder Yadav <devguy <at> ymail.com>
> wrote:
> > > From: Rajinder Yadav <devguy <at> ymail.com>
> > > Subject: confused at chapter 5.6
> > > To: "LFS-Support" <lfs-support <at> linuxfromscratch.org>
> > > Received: Saturday, July 4, 2009, 10:43 PM
> > >
> > > I am confused at what needs to be done in chapter
> 5.6.
> > > Linux-2.6.27.4 API Headers.
(Continue reading)

Justin P. Mattock | 5 Jul 2009 06:25
Picon

Re: confused at chapter 5.6

Rajinder Yadav wrote:
> Hi Justin,
>
> thanks that cleared things up and I was able to proceed.
>
> Also, I was able to build and install GCC without any issues but I didn't build the supporting packages
(mpfr and gmp) and I don't have the devel package for them installed.
>
> I guess it would be safe to rebuild GCC =) after building mpfr and gmp!
>
> Kind Regards,
> Rajinder Yadav
>
>
> --- On Sat, 7/4/09, Justin P. Mattock<justinmattock <at> gmail.com>  wrote:
>
>    
>> From: Justin P. Mattock<justinmattock <at> gmail.com>
>> Subject: Re: confused at chapter 5.6
>> To: "LFS Support List"<lfs-support <at> linuxfromscratch.org>
>> Received: Saturday, July 4, 2009, 11:04 PM
>> Rajinder Yadav wrote:
>>      
>>> I am confused at what needs to be done in chapter 5.6.
>>>        
>> Linux-2.6.27.4 API Headers.
>>      
>>> do I need to unzip the linux kernel at this point?
>>> which direction is this command executed from?
>>>
(Continue reading)

Rajinder Yadav | 5 Jul 2009 07:13
Favicon

Re: confused at chapter 5.6


Hi Justin,

after Michael Tsang feedback on where to put mpfr and gmp, I went to the GCC build page and it states that if the
sources are put under the gcc source, they will get built when gcc is built:

Ref: http://gcc.gnu.org/install/prerequisites.html

Multiple Precision Library (GMP) version 4.2 (or later)
Necessary to build GCC. If you do not have it installed in your library search path, you will have to
configure with the --with-gmp configure option. See also --with-gmp-lib and --with-gmp-include.
Alternatively, if a GMP source distribution is found in a subdirectory of your GCC sources named gmp, it
will be built together with GCC.

Kind Regards,
Rajinder Yadav

--- On Sun, 7/5/09, Justin P. Mattock <justinmattock <at> gmail.com> wrote:

> From: Justin P. Mattock <justinmattock <at> gmail.com>
> Subject: Re: confused at chapter 5.6
> To: "LFS Support List" <lfs-support <at> linuxfromscratch.org>
> Received: Sunday, July 5, 2009, 12:25 AM
> Rajinder Yadav wrote:
> > Hi Justin,
> >
> > thanks that cleared things up and I was able to
> proceed.
> >
> > Also, I was able to build and install GCC without any
(Continue reading)

Justin P. Mattock | 5 Jul 2009 09:14
Picon

Re: confused at chapter 5.6

Rajinder Yadav wrote:
> Hi Justin,
>
> after Michael Tsang feedback on where to put mpfr and gmp, I went to the GCC build page and it states that if
the sources are put under the gcc source, they will get built when gcc is built:
>
> Ref: http://gcc.gnu.org/install/prerequisites.html
>
> Multiple Precision Library (GMP) version 4.2 (or later)
> Necessary to build GCC. If you do not have it installed in your library search path, you will have to
configure with the --with-gmp configure option. See also --with-gmp-lib and --with-gmp-include.
Alternatively, if a GMP source distribution is found in a subdirectory of your GCC sources named gmp, it
will be built together with GCC.
>
> Kind Regards,
> Rajinder Yadav
>
>
> --- On Sun, 7/5/09, Justin P. Mattock<justinmattock <at> gmail.com>  wrote:
>
>    
>> From: Justin P. Mattock<justinmattock <at> gmail.com>
>> Subject: Re: confused at chapter 5.6
>> To: "LFS Support List"<lfs-support <at> linuxfromscratch.org>
>> Received: Sunday, July 5, 2009, 12:25 AM
>> Rajinder Yadav wrote:
>>      
>>> Hi Justin,
>>>
>>> thanks that cleared things up and I was able to
(Continue reading)

Rajinder Yadav | 5 Jul 2009 10:43
Favicon

SELinux


I noticed one of the switch passed when building glibc is --without-selinux

I assume the resulting LFS system, will it be missing Security Enhancement? If so what is required to build a
SE LFS system.

I assume SE is part of the Linux kernel and thus needs to be built as part of the Linux kernel?

Kind Regards,
Rajinder Yadav

      __________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Gmane