From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199712020209.TAA14789@ellpspace.math.ualberta.ca> Date: Mon, 1 Dec 1997 19:09:13 -0700 (MST) From: Michal Jaegermann Subject: Re: Difficulties in compiling by nonprogrammer In-Reply-To: > > The first difficulty I think I finessed by getting a copy of > Project.tmpl which was required for the xmkmf process. Hm, Imake.tmpl should be enough and is present. Did you try to type 'xmkmf -a' and this failed? Where? > I lifted the file from an > intel copy of RH 4.2, after which xmkmf appeared to run correctly. It may be ok, but you have to be careful. It may define some things which make sense on Intel but not on Alpha. Blind copy may not bring a desired results. > Like > how to capture the output from the make just to locate the first errors. The best way to run such things is from within emacs. The reason is that if you will get any errors/warnings then C-x ` (i.e. next-error) will walk you through all this spots without a need for a manual search. A command is "M-x compile" and you can define your own key for that. Another possibility is to use 'script' command. 'man script' for details. You will have to hunt for errors yourself. Last, but not least, you can redirect an ouutput to a file or a pipe but you need to capture both stderr and stdout. As you still likely want to see what is going on you should use 'tee', so things are getting a bit involved. That is a reason for the first two suggestions. How to redirect is described in docs for a shell you happen to use. 'make 2>&1 >capture' or 'make 2>&1 | less' will work with Bourne derived shells (like bash). Depending how sources are writte these may be, unfortunately, the smallest of your worries. Michal -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com