Ken Moffat wrote:
> On Sun, Feb 24, 2013 at 10:39:49PM +0200, Thanos Baloukas wrote:

>> On Firefox-18.0.1, in mozconfig the book has
>>
>> #ac_add_options --with-libxul-sdk=\$(pkg-config --variable=sdkdir libxul)
>>
>> Is the backslash needed?
>
>   ISTR I added the backslash, with a comment explaining it, because
> when I tried pasting what was in the book at that time it fubar'd.
>  From memory, the comment said that the backslash was for pasting
> (because the mozconfig is now likely to be pasted, we no longer keep
> a version in the BLFS repo).

Yes, the intro paragraph has:

The commented line for --with-libxul-sdk has an escaped dollar sign - if 
you have chosed to paste the entries into a mozconfig file in your 
editor, you do not need the escape, it is only necessary when invoking a 
subshell in a HERE document.

s/chosed/chosen/  :)

Perhaps the above needs to be emphasized with a <note>.

>   Personally, I don't have any belief that sudo is useful for an LFS
> user.  For someone maintaining a production system, with strong
> restrictions on what they can do, yes there is a use for it.  But
> having tried it while I was reworking my own buildscripts, it's too
> easy to change it so that your user can do anything, and to allow
> that with only a password on the first use during the current
> session.  Personally, I'm a heretic

Yes, I agree.  :)

- I build my normal packages as
> root (for new things, I build as a user and do a DESTDIR install to
> review what gets installed).  In theory, as you note, building as a
> regular user will not let you install things below /usr until you
> 'su'.

I *do* use sudo, but I am in a very protected environment and understand 
the risks.

   -- Bruce



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

Reply via email to