groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Fw: Installing/Running groff-1.21 on W7 x64


From: John W. Smay
Subject: Re: [Groff] Fw: Installing/Running groff-1.21 on W7 x64
Date: Mon, 7 Oct 2013 08:28:57 -0700

Here is the attempt using Windows Command Prompt
---------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
Here is groff and troff run from the Command Prompt
C:\Users\jws>cd jws.t

C:\Users\jws\jws.t>C:\Applications\groff-1.21\bin\groff.exe -v
GNU groff version 1.21
Copyright (C) 2009 Free Software Foundation, Inc.
GNU groff comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of groff and its subprograms
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

called subprograms:

C:\Applications\groff-1.21\bin\groff.exe: couldn't exec troff: Permission denied


Now try troff --help
C:\Users\jws\jws.t>C:\Applications\groff-1.21\bin\troff.exe --help
usage: C:\Applications\groff-1.21\bin\troff.exe -abcivzCERU -wname -Wname -dcs -
ffam -mname -nnum -olist
      -rcn -Tname -Fdir -Idir -Mdir [files...]

Now try grotty.exe -v (works on my 1.17 env)
C:\Users\jws\jws.t>C:\Applications\groff-1.21\bin\grotty.exe -v
Access is denied.

C:\Users\jws\jws.t>

but try the older 1.17 installation
C:\Users\jws\jws.t>C:\Applications\groff\bin\grotty.exe -v
GNU grotty (groff) version 1.17.2

C:\Users\jws\jws.t>
Works fine again
---------------------
set.txt is attached .....I don't know if "post' means attach or copy to email or if it matters

----- Original Message ----- From: "Eli Zaretskii" <address@hidden>
To: "John W. Smay" <address@hidden>
Cc: <address@hidden>; "Werner LEMBERG" <address@hidden>
Sent: Sunday, October 06, 2013 12:48 PM
Subject: Re: [Groff] Fw: Installing/Running groff-1.21 on W7 x64


[Please keep the list on the CC.]

From: "John W. Smay" <address@hidden>
Date: Sun, 6 Oct 2013 12:05:23 -0700

Eli, As you suggest I changed ownership from Administrators to smay8/jws in
all groff-1.21 directories and files, but results are the same, groff.exe
seems not to have permission to execute troff.exe.

There are no permissions on Windows for one program to invoke
another.  Permissions belong only to users who run those programs.

Can you invoke troff.exe directly from the cmd.exe prompt?  E.g., try
"troff --help".  If you can invoke troff like that, then the problem
has nothing to do with permissions of troff.exe itself.

I would also try running grotty.exe from the command line.

If running troff.exe and grotty.exe from the command line works,
please show your entire environment (type "set > env.txt" from the
cmd.exe prompt and post env.txt).

Also, which program did you use to unpack the groff-1.21-w32-bin.zip
archive?  Did that program preserve the directory structure recorded
in the zip file?

Running all this from an MKSToolKit Korn shell,  will perhaps try from
cygwin/bin/bash.exe in a few days when I get that tuned up.

Please try running from the Windows cmd.exe shell.  I don't know what
will MKS shell or Cygwin Bash do to Groff, I never tried.

Attachment: set.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]