bug-lilypond
[Top][All Lists]
Advanced

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

Re: CygWin gsview32


From: Jan Nieuwenhuizen
Subject: Re: CygWin gsview32
Date: Sat, 06 Apr 2002 14:30:13 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (powerpc-debian-linux-gnu)

Rune Zedeler <address@hidden> writes:

>> c:/cygwin/usr/windows/gstools/gs5.50/
>> c:/cygwin/usr/windows/gs/gs6.50/bin/
>
> Yes it is true, I found out. The problem is that the solution is not
> obvious for a newbie

> Well, but now it works, tnx, and it surprises me that performing
> this automatically is such a hard task now that everything else
> works so perfect.

Yes.  Well, the problem is that I've already put quite some time into
this (I just spent *another* hour fiddling with it), and that I cannot
reproduce the problem; and that the `windows community' can't seem to
fix this problem either.

Han-Wen called me yesterday about this issue, and I very much want to
fix it (well, I'd rather have Cygwin distribute XFree+xdvi+gv and get
rid of this native windows gswin32/gsview32 barf, but that will take
some time).

It would be very helpful if you could get your box back into a state
where it doesn't work, ie, where you get the unobvious error message.

I found out, that gsview32-3.6 reads its config stuff from

   /cygdrive/c/WINDOWS/gsview32.ini:
   [..]
   [Options]
   Version=3.6
   GSversion=650
   Language=en
   Configured=1
   GhostscriptDLL=C:\cygwin\windows\gs\gs6.50\bin\gsdll32.dll
   GhostscriptInclude=C:\cygwin\windows\gs\gs6.50\lib;C:\cygwin\windows\gs\fonts

Also, there's registry settings:

   regtool get '\HKLM\Software\AFPL Ghostscript\6.50\GS_DLL'
   C:\cygwin\windows\gs\gs6.50\bin\gsdll32.dll

   regtool get '\HKLM\Software\AFPL Ghostscript\6.50\GS_LIB'
   C:\cygwin\windows\gs\gs6.50\lib;C:\cygwin\windows\gs\fonts

   
Now, if I remove this .ini file, and junk the registry settings, and
run

    gsview32 example-1.ps

it comes up with a dialog box:

   [Easy configure]
   Which version of Ghostscript do you wish to use?

    5.50
   [6.50]

   [Ok]  [Cancel]  [Help]

I press [OK], dialog box disappears, nothing happens.  I quit
gsview32, and rerun:

    gsview32 example-1.ps

and, it *just works*.

Interestingly, if I redo this test (remove the ini file), but set the
registry keys to a silly values, it also works in exactly the same
manner, but the (silly) registry key data gets copied to the ini file...

Maybe your path is b0rked?  Here I have:

    echo $PATH
    
/usr/lilypond-1.4.12-1/bin:/usr/lilypond/bin:/cygdrive/c/emacs-21.1/bin:/usr/windows/Ghostgum/GSview:/usr/windows/gs/gs6.50/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND

    type -p gswin32
    /usr/windows/gs/gs6.50/bin/gswin32

    type -p gsview32
    /usr/windows/Ghostgum/GSview/gsview32

It would be very helpful if you could help me debugging this.  Maybe
we just need to remove the ini file upon installation.  Maybe we need
to write an ini file, containing only a valid [Options] section.
Maybe we need to set some of the above registry keys.

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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