[lfs-support] at command?

2012-01-05 Thread David Gay
Since I get a command not found type error, I assume not, but I have
to ask:

1) is the at command installed in any of the LFS  packages?

2) Or, is there some other command that provides the same functionality?
   (start some job/batch file at a given time)

3) Finally, if not part of LFS, can anyone suggest where to find the 
   sources so I can install it?

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


[lfs-support] date timezone issue during portion of build

2012-01-03 Thread David Gay
(I thought I sent this email a few days ago, but I don't see it on the list - 
so I hope this isn't a redundant post. Anyway...)


I don't know if this is an actual issue, or if it's simply an expected 
by-product of the build process, but it's bugging the heck out of me not 
knowing!

During part of the build, after coreutils is installed in section 5.18, until 
coreutils is installed in section 6.23, the date command will only return a UTC 
time.  ie: 

 Fri Dec 30 15:00:00 UTC 2011
instead of:
 Fri Dec 30 10:00:00 EST 2011

It seems to have something to do with the the date command that's installed is 
5.18 coreutils (tools/usr/bin/date).   That is, if the host's date is called 
directly,ie: by typing /bin/date instead of just date, then the expected 
date, with my local TZ, is displayed.

This only seems to affect the lfs user, or while in the chroot.  And in both 
cases only until 6.23.  Using another terminal window or virtual console, and 
logged in as root, date returns the expected time and timezone (EST for me).

I am fairly certain that this is not an actual issue with any of the 
instructions provided by the book, or even with the resulting build, as when 
all is said and done, the new LFS system works just fine, date and all.  It 
just really annoys me during that time when the time is not my time. :)

Finally, while I am currently using LFS 7.0, this issue has persisted for me 
since I started LFS a couple years ago, including book versions 6.5, 6.6, and 
6.7.  Additionally, it occurs even under numerous host systems, including: 
Arch, Mint, PCLOS, and even using previous LFS builds as the host.

So, if anyone has an suggestions as to what I might check, even just a general 
direction, I would be grateful.

Thanks for any help!

David

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


Re: [lfs-support] date timezone issue during portion of build

2012-01-03 Thread David Gay
On Tue, Jan 03, 2012 at 12:30:12PM -0800, David Gay wrote:
Subject: date timezone issue during portion of build

 During part of the build, after coreutils is installed in section 5.18,
 until coreutils is installed in section 6.23, the date command will only
 return a UTC time.  ie:

  Fri Dec 30 15:00:00 UTC 2011
 instead of:
  Fri Dec 30 10:00:00 EST 2011

[ snipped here ]

From: Ken Moffat zarniwh...@ntlworld.com
Sent: Tuesday, January 3, 2012 5:51 PM

[ snipped here ]

Is it causing you a problem (e.g. unexpected results in your scripts) ?  
If not, I see no reason to worry.


Thanks for the quick response.  Basically, no, it's not causing any problems
that I can tell, so I'm not really worried about it, especially since every 
thing
else seems ok.  It's probably just my anal retentive nature to want things to be
my way.  :) That, and I was hoping it would be an easy fix, and someone would
see this tell me: Yo, moron, you just need to do... (some trivial task).
Oh well ;) 

As for why I even noticed - I use a scripted build that displays a time stamp
at the start of each package, along with an estimated finish time.  So, mentally
figuring UTC to EST for a few packages in the middle of the build is no big
deal, other than my aforementioned anal-retentiveness.

In anycase, thanks again for the response. And thanks to everyone who works on
the LFS project. 

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


v6.6 section 6.10, Re-adjusting the Toolchain

2010-03-16 Thread David Gay

Hello,

I am having a problem getting thru section 6.10, Re-Adjusting the Toolchain.  
The 3rd block of instructions seems to hang on the cc dummy.c... command.  I 
can ctrl-C, and it stops, but would like to know what may have caused it to not 
complete, or if it is ok to continue.


From the Book, the 3rd block of commands are:
--
echo 'main(){}' dummy.c
cc dummy.c -v -Wl,--verbose  dummy.log
readelf -l a.out | grep ': /lib'
--


Here is the dummy.log file created:
--
Reading specs from /tools/lib/gcc/i686-pc-linux-gnu/4.4.3/specs
cc: unrecognized option '-v'
cc: unrecognized option '-mtune=generic'
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.3/configure --prefix=/tools 
--with-local-prefix=/tools --enable-clocale=gnu --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ 
--disable-libstdcxx-pch --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.3 (GCC)
COLLECT_GCC_OPTIONS='-v' '-mtune=generic'
 /tools/libexec/gcc/i686-pc-linux-gnu/4.4.3/cc1
--

I don't know if it is useful, but also attached is a log of the output each of 
the prior commands in section 6.10.

Any help or direction to a solution would be appreciated.

Thank you.

David Gay

  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


RE: v6.6 section 6.10, Re-adjusting the Toolchain

2010-03-16 Thread David Gay


 Date: Tue, 16 Mar 2010 02:37:52 -0400
 Subject: Re: v6.6 section 6.10, Re-adjusting the Toolchain
 From: sto...@gmail.com
 To: lfs-support@linuxfromscratch.org

From the Book, the 3rd block of commands are:
 --
 echo 'main(){}' dummy.c
 cc dummy.c -v -Wl,--verbose  dummy.log
 readelf -l a.out | grep ': /lib'
 --

 The only thing that I see that is different with your code and the
 book's code is in the first line:

 Yours
 echo 'main(){}' dummy.c # no space '
 Book's
 echo 'main(){}' dummy.c # space '
 --

Thanks for the quick response.  However, I tried the above both with and 
without the space, and still get the same issue.  It's interesting that in my 
email the space is missing, as I simply did a copy  paste  directly from the 
book.

Looking at the dummy.log file, I wonder if the following line indicates that I 
mistyped/did  something in an earlier step:

cc: unrecognized option '-mtune=generic'

Any idea which step may have introduced this problem?

Thanks again for any help.

  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page