[Cook] "stat" error in 2.20
Richard Smith
rss at foglight.com
Tue Aug 27 14:08:10 EST 2002
I'm seeing an unusual error with cook 2.20 under Cygwin. The twist is
that I'm not using the Cywgin run-time. I run cook against the
regular NT filesystem.
I'm seeing an error when I do an "#include" against the output of a
[cook... ] function. My code looks like this:
#if [count ['manifest_files_in_./']]
#include [cook ['manifest_files_in_./']]
#endif
And here's what happens when I run it:
cook: Checking Manifests ./DO/static/WinNT4.0/Whatto.cook
cook: stat //.cook/src/DO/static/WinNT4.0/Whatto.cook: No such host or network path
^^^^^^^^^^^^^
cook: ./DO/static/WinNT4.0/Whatto.cook: 209: unable to construct include file name
the value of 'manifest_files_in_./' is 'src/DO/static/WinNT4.0/Whatto.cook'.
I browsed through the cook source code trying to see why it would
insert the //.cook/ string. It looks like a relative-to-absolute path
conversion is being performed as part of the #include processing, but
it looks like the combination of #include and [cook... ] is
triggering the "stat" error message.
Any ideas? I'd be happy to kick around in the source code if I knew
where to look.
Thanks.
--
-------------------------------------+-------------------------------
Richard S. Smith, Software Engineer | Quest Software (Nasdaq: QSFT)
Email: Richard.Smith at quest.com | Foglight Development Group
Direct: (925) 734-4746 | Pleasanton, California (USA)
-------------------------------------+-------------------------------
More information about the Cook-users
mailing list