This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Compilation (make) problem
- From: Per Bothner <per at bothner dot com>
- To: Matthieu Vachon <matthieu dot o dot vachon at gmail dot com>
- Cc: "kawa at sourceware dot org" <kawa at sourceware dot org>
- Date: Fri, 20 Sep 2013 12:53:02 -0700
- Subject: Re: Compilation (make) problem
- Authentication-results: sourceware.org; auth=none
- References: <CAOTvmomJD0WVUbgHJR=AGvr79V6b-FsJj1zgAs5JA9rVS0r+1A at mail dot gmail dot com>
On 09/20/2013 11:51 AM, Matthieu Vachon wrote:
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
...
What would be the right fix for this problem?
The testsuite mostly uses names that *start* with tmp,
such as tmp.out or tmp-knucleotide1.log.
Using the tmp.xxx form is compatible with the mktemp
command, but it is conceivable some filesystems (like FAT)
would have problems (but they would probably have problems
regardless), so perhaps the tmp-xxx form is preferable.
So for gckawa instead of tmp maybe use tmp-gckawa.
The CLEANFILES macro would need to be updated,
presumably to tmp-*.
--
--Per Bothner
per@bothner.com http://per.bothner.com/