This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compilation (make) problem


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]