public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Compilation (make) problem
@ 2013-09-20 18:51 Matthieu Vachon
  2013-09-20 19:53 ` Per Bothner
  0 siblings, 1 reply; 3+ messages in thread
From: Matthieu Vachon @ 2013-09-20 18:51 UTC (permalink / raw)
  To: kawa

Hi,

Under CentOS 6.3, I have some problems executing the Makefile found in
the `bin/` directory.

When arriving at this Makefile, the build failed saying that `tmp` is
a folder and cannot be written to. This problem comes from this line
in the Makefile (there is more that one instance):

    echo '#!/bin/sh' >tmp

This kind of lines are seen in target `kawa.sh`, `gckawa` and `gexo`.
I understand the purpose of this code, i.e. creating a temp file
containing the generated script then putting it at the right place.
But I can't find if it is either injected, or it's a macro, or what
else.

For now, my workaround is to replace all instance of `> tmp` by `>
/tmp/tempfile.out` so it can output the data correctly.

What would be the right fix for this problem?

Regards.
Matt

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-21  6:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-20 18:51 Compilation (make) problem Matthieu Vachon
2013-09-20 19:53 ` Per Bothner
2013-09-21  6:05   ` Matthieu Vachon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).