* Re: Difficulties in compiling by nonprogrammer
[not found] <Pine.SUN.3.95.971201190247.5180A-100000@katie.vnet.net>
@ 1997-12-02 2:09 ` Michal Jaegermann
1997-12-03 16:21 ` tfreeman
0 siblings, 1 reply; 4+ messages in thread
From: Michal Jaegermann @ 1997-12-02 2:09 UTC (permalink / raw)
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Difficulties in compiling by nonprogrammer
1997-12-02 2:09 ` Difficulties in compiling by nonprogrammer Michal Jaegermann
@ 1997-12-03 16:21 ` tfreeman
0 siblings, 0 replies; 4+ messages in thread
From: tfreeman @ 1997-12-03 16:21 UTC (permalink / raw)
My appologies for asking a question, then indulging the girl friend with a
14 hour shopping expedition yesterday. Not a well thought out process on
my part 8-/.
On Mon, 1 Dec 1997, Michal Jaegermann wrote:
> >
> > 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?
No I did not try 'xmkmf -a', partly because I didn't know about it. Is
this what will create the Project.tmpl file under normal circumstances?
Capturing the stderr from 'xmkmf -a' results in the following mangled msg:
In file included from Imakefile.c:8:
/usr/X11R6/lib/X11/config/Imake.tmpl:1081: Project.tmpl: No such file or directory
imake: Exit code 33.
Stop.
Evidently, Project.tmpl is not created by this command.
>
> > 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).
Ok, shortly I'll attempt that. If I can capture the correct stuff, I can
trim & post at least 8-) (Assuming nobody objects)
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <Pine.SUN.3.95.971203110656.27811B-100000@katie.vnet.net>]
* Re: Difficulties in compiling by nonprogrammer
[not found] <Pine.SUN.3.95.971203110656.27811B-100000@katie.vnet.net>
@ 1997-12-03 17:13 ` Michal Jaegermann
0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1997-12-03 17:13 UTC (permalink / raw)
>
> No I did not try 'xmkmf -a', partly because I didn't know about it. Is
> this what will create the Project.tmpl file under normal circumstances?
No, but Imake.tmpl presence seems to be good enough most of the time.
'xmkmf -a' will try to create makefiles in all your subdirectories -
if you have any.
> In file included from Imakefile.c:8:
> /usr/X11R6/lib/X11/config/Imake.tmpl:1081: Project.tmpl: No such file or directory
Oh, a new and hard information! Good! You may always provide your own
ProjectTmplFile instead of a generic one. If the one your lifted from
elsewhere works correctly do not worry about that. It indeed looks like
that a default Project.tmpl was forgotten in a distribution.
I may have a bit different general layout inherited from times
immemorial. :-)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Difficulties in compiling by nonprogrammer
@ 1997-12-02 0:06 tfreeman
0 siblings, 0 replies; 4+ messages in thread
From: tfreeman @ 1997-12-02 0:06 UTC (permalink / raw)
This may be off topic, but I'm not sure where else to go. If I err - I
appologize in advance.
I would like to look at/try out a Quicken clone for X, X-account,
since a home accounting program under Linux will remove the need to
maintain a dos partition. I downloaded the source tarball from
http://www3.hmc.edu/~rclark/xacc/. I also retrieved Xbae Matrix from
http://www.xbae.syd.net.au/, since that tarball is also needed for
compiling. lesstif I already had. Getting the xbae package to compile
has proven to be a challenge however. Especially since I'm not a
programer.
The first difficulty I think I finessed by getting a copy of
Project.tmpl which was required for the xmkmf process. (That file
appears to be missing under RH 4.2 - is it?) I lifted the file from an
intel copy of RH 4.2, after which xmkmf appeared to run correctly.
However, the compile for xbae fails somewhere (I haven't captured the
first error).
I'm willing to fiddle with the system, but I'm in need of guidance at
probably a _very_ fundamental level with respect to make files etc. Like
how to capture the output from the make just to locate the first errors.
8-(.
My thanks to the list in advance. And yes, I'll be happy to RTFM once I
get an idea which one might do me some good.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-12-03 17:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.SUN.3.95.971201190247.5180A-100000@katie.vnet.net>
1997-12-02 2:09 ` Difficulties in compiling by nonprogrammer Michal Jaegermann
1997-12-03 16:21 ` tfreeman
[not found] <Pine.SUN.3.95.971203110656.27811B-100000@katie.vnet.net>
1997-12-03 17:13 ` Michal Jaegermann
1997-12-02 0:06 tfreeman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox