On Fri, October 30, 2015 13:24, Michael Havens wrote:
> I just discovered that the logs  for 5.23 were not created.is this because
> it may have created the logs in the directory that the -C flag refered to?
>
> #5.23
> tar xf  gettext-0.19.5.1.tar.xz
> cd  gettext-0.19.5.1
> cd gettext-tools

Hello Michael,

make -C option changes to directory so tee would most likely output in
gettext-0.19.5.1/gettext-tools. All you have to do is experiment on your
own and do some investigation. Run the commands manually and don't remove
the gettext-0.19.5.1 directory until you find out where the log files are.
Then you can decide what happened.

If you always want your logs in the sources directory, use a variable in
your scripts for logfile location.

LOGDIR=/mnt/lfs/sources/buildlogs
tar xf pkg.tar
cd pkg-1.0
make 2>&1 | tee $LOGDIR/pkg_build.log
make -C extrastuff buildall 2>&1 | tee $LOGDIR/pkg_extra.log

Then it doesn't matter where you are in the filesystem, the logs will
output to $LOGDIR location.

Don't forget to use -a option with tee if you need to append to the same
logfile.

Sincerely,

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to