[arch-general] How to do this

Heiko Baums lists at baums-on-web.de
Sun Oct 24 11:24:12 EDT 2010


Am Sun, 24 Oct 2010 16:33:10 +0200
schrieb Christian <christian08 at runbox.com>:

> Hi all,
> I know that I have to use piping for this, but I want to output the 
> errors I get while compiling a program into atext file.
> What to type after make then?
> Many thanks for any help,
> Christian

The easiest way in Arch Linux is building a PKGBUILD, and putting it
to /var/abs/local/<packagename>.

Then cd to this directory and run `makepkg -L`.

Otherwise run `make > /path/to/logfile 2> /path/to/logfile`. You
probably need to replace > by >> and 2> by 2>>.

Heiko


More information about the arch-general mailing list