Graeme Moss <[EMAIL PROTECTED]> reports:
> I have never got any error messages reported correctly by runhugs and
> have always assumed that this was due to runhugs not being completed
> yet (as there was no reference to runhugs in the manual of 20/6/97).
Runhugs has been documented since sometime in April - though the
documentation consists of using the source code to explain the Hugs
Server API (hugs/docs/server.{tex,html}. :-)
> Now there is a reference to runhugs in the latest manual (4/12/97)
> perhaps this is a bug?
>
> [details omitted]
>
> I presume this is either:
>
> a) known about, in which case, I apologise (but I couldn't find any
> reference to it),
>
> b) a problem at my end, in which case, we should isolate the problem.
>
> Then again, it could just be a plain bug. :-)
I'm going for option (b) On my Linux box, I get the following output
from your three programs:
[reid@haggis reid]$ runhugs foo
runhugs: Error occurred
Reading file "foo":
Parsing
ERROR "foo" (line 1): Syntax error in input (unexpected symbol ">")
[reid@haggis reid]$ runhugs +l foo
Hello world!
[reid@haggis reid]$ runhugs +l foo
runhugs: Error occurred
Reading file "foo":
Dependency analysis
ERROR "foo" (line 3): Undefined variable "putSt"
[reid@haggis reid]$ runhugs +l foo
Program error: Hello?runhugs: Error occurred
The final error message could be a bit more informative but I'm definitely
getting more information than you are. Can you send me:
o The output generated by running configure.
(If you are installing Hugs on multiple machines, it's probably
a good idea to first delete config.cache so there's no confusion)
o A description of your environment (OS vendor+version, compiler
vendor+version, etc). A combination of uname and gcc -V or cc -v
often does the trick.
Alastair
ps Sorry things have been quiet here this week - we had to scrub my
disk clean and reinstall everything on my machine after some
hackers got in. Also, if anyone sent in a bug report yesterday
morning (or the night before?) and hasn't seen a response, you
probably ought to resend - I lost about a dozen messages.
Finally, Win95 users shouldn't bother with the latest Hugs Beta
- we still haven't fixed got a convenient fix for the msvcrt40.dll
problem.