Tim,

at compilation time it should be known whether one uses awk, gawk, or nawk and in which directory they live. My suggestion would be to generate a link (for example, ln -s /bin/awk $AXIOM/bin). Then use

#!./awk

in the first line of the file.

Or remove #!/bin/awk -f from presea and name the resulting file presea.awk

At compile time you generate a file "presea" with the following content:

#!/bin/sh
exec /path/to/[gn]?awk -f presea.awk


Oh, now I am just a bit curious. With all these paths it sounds like Axiom isn't running natively on Windows. Does one always need MinGW? (I'm not using it anyway, but just for curiosity...)


On 02/17/2006 06:09 AM, root wrote:
mnt/linux/bin/htsearch does not have the exuctable bit set.
mnt/linux/lib/presea does not have the exuctable bit set too.

these two problems will be fixed in the next release.


And presea shabang is #!/bin/awk but on Debian it should be #!/usr/bin/awk

Does the probleme come from some config files ?
Where should I look to fix the problem for future install ?

it's not clear how to fix this problem because axiom has no control over where awk lives.
i'm open to suggestions about how to fix this.

Tim


_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to