[xcrysden] awk-program not found

Tone Kokalj xcrysden@democritos.it
Tue, 21 Mar 2006 14:37:27 +0100


On Mon, 2005-12-26 at 19:35 +0100, Marco Walterfang wrote:
> Hello Tone,
> 
>  
> 
> I use XCrySDen with Cygwin and so far everything works fine. 

> But just after starting xcrysden the following warning appears: couldn˙t find ´awkĄ program.  

> But awk.exe and gawk.exe are in the cygwin/bin directory. So, what to do?

If this is really so, then seems like xcrysden is not able to find it (don't know why). 
Edit the Tcl/check_package.tcl file and replace:

proc check_package_awk {} {
    global system

   ....
}

with:

proc check_package_awk {} {
    global system

   set system(awk)  /path/to/awk/gawk.exe
}

Where /path/to/awk/ whould be replaced by real path.

Regards, Tone