Re: [lfs-support] Chapter 5 questions

2012-05-04 Thread Gordon Findlay
On Sat, May 5, 2012 at 3:28 PM, Anand Arumugam wrote:

> On Fri, May 4, 2012 at 7:02 PM, Bruce Dubbs  wrote:
> > Qrux wrote:
> >
> >> If LFS is just a source code project, then to some extent you can say
> that
> >> prose style or organization is irrelevant.  It's not, because it's often
> >> repeated that it's a book, as well.  So, style is important, because
> >> organization can aid understanding.
> >
> > The descriptions and the organization is important, but it satisfies
> most users.
> > We probably go through this discussion two are three time a year.  Each
> time
> > it's a single user that doesn't quite get it (you got it without
> problem).
> > Since we have over 23000 registered users, I'd say that the vast
> majority get
> > value from the book as it is.  I'm not willing to make major changes for
> a vocal
> > few.  We will have to agree to disagree and move on.
> >
>
> Just because not many emails or voices out their opinion(s) like @Qrux
> has done, doesn't mean that they get it. They may not be able to put
> forth their thoughts like @Qrux has done.
>
> LFS is a fantastic resource, but like @Qrux is saying, there is room
> for improvement to make it even better.
>
> If some information on how to contribute in terms of improving the
> content or presentation style in the "How to contribute"
> (http://www.linuxfromscratch.org/lfs/contribute.html) page will be
> helpful and I would like to pitch in whatever ways I can.
>
> cheers...
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>

Before deciding how to change the book, shouldn't contributors  be clear
about (a) the purpose and (b) the audience of the book?

It seems to me that there is a mismatch here: people have different views
about the audience and purpose, so differ in their perceptions of the book.

In my perception the book currently assumes that the audience is people
with some (considerable) understanding of the command-line, and OS concepts
in general (for example the fact that 'source directory' might have
different meanings depending on context). If that is to remain the
audience, there needs to be a method for coping with people outside the
audience who happen to wander in - just as my local bar has a procedure for
dealing with under-age people who wander in.

And the purpose of the book (again, my perception) is educational, so the
explanations about the tool-chain modifications and how cross-compilation
works are not extras, but an integral part of the book.  The aim is to
learn, not just to get to the end.

What that coping procedure should be is a second debate.

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


[lfs-support] grub-mkdevicemap no more?

2012-07-22 Thread Gordon Findlay
The grub-mkdevicemap utility seems to have disappeared from GRUB-2.00.

This from the NEWS file:

* grub-mkdevicemap removed. Now all devices are detected on invocation of
  any grub utility.

It is referenced in sections 6.47, 8.4 of version SVN-20120719

Is there an alternative utility to achieve the same effect? A few minutes
search didn't turn anything up, and I didn't need the information, since I
already had it from the last build, so I pressed on.

Slainte
Gordon
-- 
Gordon Findlay
gordon.find...@gmail.com
Intelligence fell like snow you know. Not just among the posh voices.
The consumer society is in fact the most efficient mechanism ever devised
for the creation and distribution of unhappiness
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] GCC compilation,Pass 1

2013-04-07 Thread Gordon Findlay
I've encountered this error when the MPC, GMP and/or  MPFR directories have
not been set up correctly. There's an oblique mention of this in the gcc
FAQ: http://gcc.gnu.org/wiki/FAQ#configure_suffix

This may not be the cause, but it's one easy thing to check - all three
packages should be (during this pass anyway) subdirectories of gcc-4.7.2.

This has also been mentioned previously in this list's archives.

Slainte
Gordon
-- 
Gordon Findlay
gordon.find...@gmail.com
Intelligence fell like snow you know. Not just among the posh voices.
The consumer society is in fact the most efficient mechanism ever devised
for the creation and distribution of unhappiness


On Mon, Apr 8, 2013 at 1:11 PM, francisco martinez wrote:

> @William Harrington i see, thanks a lot william, i was looking at the
> other one.
>
>
> 2013/4/7 William Harrington 
>
>> Hello Francisco,
>>
>> Is that the config.log from 
>> /mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc
>>  ? That's what was being configured before it errored and that is the last
>> directory mentioned.
>> The config.log you had exited with status 0 so that is the wrong log.
>>
>> Sincerely,
>>
>> William Harrington
>>
>> --
>> 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
>
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] ABOUT LFS

2013-09-07 Thread Gordon Findlay
I think you need to learn about the bash shell, especially startup files. I
suggest that you begin with this from chapter 3 of Beyond LFS:
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/profile.html

There you will find where to put things like environment variables and
aliases. Take it slowly: the examples given are quite sophisticated.

If you still have your host system around, have a look at the versions of
the files supplied by it. When I looked at my host I discovered that halt
and restart were aliases (in /etc/bashrc). So the line alias halt='shutdown
-h now' was in /etc/bashrc.

I slow, methodical trawl through all the Bash files, and a bit of
head-scratching over the difference between login and non-login shells,
will work wonders for your understanding of Linux. You might also find
https://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/
useful
- many of my beginning students had the first diagram open most of the day!

Slainte
Gordon
-- 
Gordon Findlay
gordon.find...@gmail.com
Ambition is a poor excuse for not having sense enough to be lazy.


On Sun, Sep 8, 2013 at 12:40 PM, Pwn Me  wrote:

> i have a question..
>
>
>
> how can i edit the PATH="tools/bin:/bin:/usr/bin" to
> PATH="tools/bin:/bin:/usr/bin:/tools/sbin:/sbin:/usr/sbin"?
>
> 'coz i tried to use "export" to edit this command and when i reboot the
> system, the "PATH" thing goes back to the original syntax.. :/
>
>   --
>  *From:* David Brodie 
> *To:* Pwn Me ; LFS Support List <
> lfs-support@linuxfromscratch.org>
> *Sent:* Saturday, September 7, 2013 7:27 PM
> *Subject:* Re: [lfs-support] ABOUT LFS
>
> On 07/09/13 03:29, Pwn Me wrote:
> > guys i have another question.. i'm done with my LFS 7.3 and it actually
> > works now but some commands like APT, REBOOT, HALT etc. have the same
> > outputs when i typed them:
> >
> > "bash: command not found"
>
> They are privileged programs, which LFS puts on /sbin or /usr/sbin,
> neither of which are on your PATH if you log in as a normal user. You
> need to log in as 'root' to use these commands. And 'apt' is the package
> management tool for Debian, Ubuntu, etc. You won't find it in LFS at
> all, unless you add it yourself.
>
> > also i haven't edited my /etc/sysconfig/clock, /etc/resolv.conf and
> > /etc/hosts..
>
> I think you need to do some basic reading up about Linux and about using
> the standard shell and utilities, before you go much further - there're
> some good references on this page:
>
> http://www.linuxfromscratch.org/lfs/view/stable/prologue/prerequisites.html
>
> David
> --
> 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
>
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Ethernet Card Not Found

2013-11-27 Thread Gordon Findlay
>
>
>
> That's kind of what confuses me about this whole issue... the degree to
> which discussions here and elsewhere get so heated and angry. It's
> obviously supremely important to some people - but I don't understand
> why, when to me it seems such a small thing.
>
> Simon.
>
> I teach Linux, and this sort of change obsoletes a huge amount of material
that students find in print or on the web. It makes Linux appear capricious
and flaky in their eyes.

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