groff
[Top][All Lists]
Advanced

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

[Groff] Re: trying to upgrade groff


From: Kees Zeelenberg
Subject: [Groff] Re: trying to upgrade groff
Date: Sat, 12 Jan 2002 13:50:55 +0100

The 1.17 in your environment variables should be the current version number, so 
1.17.2 in this case.
Thus the following should work:

set PATH=D:\Applic~1\groff\bin;%PATH%
set 
GROFF_TMAC_PATH=D:/Applic~1/Groff/share/groff/site-tmac;D:/Applic~1/Groff/share/groff/1.17.2/tmac
set GROFF_FONT_PATH=D:/Applic~1/Groff/share/groff/1.17.2/font
set GRAP_DEFINES=D:/Applic~1/Groff/share/grap/grap.defines

Kees Zeelenberg

----- Oorspronkelijk bericht -----
Van: "John W. Smay" <address@hidden>
Aan: "Werner LEMBERG" <address@hidden>
Verzonden: zaterdag 5 januari 2002 23:11
Onderwerp: Re: trying to upgrade groff


> Werner,  Thank you very much for pointing me to the new groff 1.17 update.
> The C: partition rendition gives every indication of great improvement so
> far.   If you can give any simple advise about installation on the D:
> partition that will be great.   Likely, there's not a bug, but perhaps I
> just don't know how to install in my environment.  I've tried to tell the
> story below.  John
>
> John W. Smay
> 705A North Lucia Avenue
> Redondo Beach, Ca. 90277
> Phone/FAX 310 318-8566
> email: address@hidden
> web page: http://home.earthlink.net/~jwsmay/prof.html
>
>
> If I unzip groff-1.17.2-bin.zip into C:/Program Files/groff, the resultant
> code seems to work fine.
> However, I would prefer to run it from my D: partition where I have the
> discipline of loading all applications.  Thus, I unzip in
> D:/Applications/groff.
> I cannot get this to run!  I will try to describe briefly first and add
> detail below that will hopefully be unnecessary to read.  Any guidance you
> can give will be greatly appreciated.
> The problem is:
> I typically direct out to a PostScript file, but the D: partition
> installation can't find some required files.
> The error is:
> D:\Applic~1\groff\bin\groff: can't find `DESC' file
> D:\Applic~1\groff\bin\groff:fatal error: invalid device `ps'
> D:\Applic~1\groff\bin\eqn:fatal error: output error
>
> As advised in the web site installation instructions, I define the three
> environment
>
> variables:
> The following is the response to the "set" query
> GRAP_DEFINES="D:/Applic~1/groff/share/grap/grap.defines"
> GROFF_FONT_PATH="D:/Applic~1/groff/share/groff/1.17/font"
>
GROFF_TMAC_PATH="D:/Applic~1/groff/share/groff/site-tmac;D:/Applic~1/groff/s
> hare
> /groff/1.17/tmac"
>
> or, alternately, echoing current values
>
> smay4% echo $GRAP_DEFINES
> D:/Applic~1/groff/share/grap/grap.defines
> smay4% echo $GROFF_FONT_PATH
> D:/Applic~1/groff/share/groff/1.17/font
> smay4% echo $GROFF_TMAC_PATH
>
D:/Applic~1/groff/share/groff/site-tmac;D:/Applic~1/groff/share/groff/1.17/t
> mac
>
>
>
>
> Now more detail.  I suspect the problem is in the definition of the three
> path variables.  In the absence of specific instructions, there are three
> ways I might do this. I am trying this on two machines (desktop running NT
> 4.0 SP5, and and laptop running W2K SP1 - same results on both.
>
> ----- Method 1 ------
> In Control Panels/System/Environment tab define each as a "system
variable"
> This yields results described above.
>
> ----- Method 2 ------
> I use a unix emulation package called MKS ToolKit (Mortice Kern, Inc.)
> It emulates the korn shell, and when a shell is opened it runs an
> environmental set up
> file environ.ksh within which I define environment parameters and aliases,
> etc.,  particulat to
> the "unix" environment.  In this file I put
>
> export GRAP_DEFINES="D:/Applic~1/groff/share/grap/grap.defines"
> export GROFF_FONT_PATH="D:/Applic~1/groff/share/groff/1.17/font"
> export
>
GROFF_TMAC_PATH="D:/Applic~1/groff/share/groff/site-tmac;D:/Applic~1/groff/s
> hare/groff/1.
> 17/tmac"
>
> I also have defined:
> export DJDIR="D:/Applic~1/groff"
>
> The test commamd line is:
> smay5% fp -s infile
> where the shell script fp ultimately contains:
>
>     $DJDIR/bin/tbl $file | $DJDIR/bin/eqn -T${DEV} |
> $DJDIR/bin/groff -ms -T${DE
> V} ${OPT} > ${file}.${DEV}
>
> This produces the same error response described above.
>
> ----- Method 3 ------
> In the old setup for groff 1.10 that I am trying to upgrade to 1.17, there
> is a file djgpp.env that resides in the same directory as groff/bin.  This
> looks sort of like an include file and appears to define a lot of
variables,
> for example the first entry is:
> [groff]
> +GROFF_TMAC_PATH=.;%DJDIR%/share/groff/tmac
> +GROFF_TYPESETTER=ascii
> +GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
>
> Also in the environ.ksh file described under Method 2 above, in addition
to
> export DJDIR="D:/Applic~1/groff"
> there is the definition,
> export DJGPP="${DJDIR}/djgpp.env"
>
> *** Significantly, if I disable the DJGPP definition and run the old
groff,
> I get the same error that I am getting with the new 1.17 groff in my D:
> partition. **********
>
>
> So ... I tried to copy the djgpp.env file to the new directory containing
> groff/bin and edit it to define the the three variables described in the
> groff 1.17 installation instructions.
>
> This too, yields the same error as initially described above.
>
>
>
>





reply via email to

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