Re: Ghostscript/GhostPDL 9.28 Release Candidate 1

Chris Liddell <[email protected]> Wed, 21 Aug 2019 16:10:48 +0100
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
On 21/08/2019 15:22, Akira Kakuto wrote:
> Dear Chris,
> 
>> Well, I just followed the steps you've detailed in this thread; I
>> added your patch to nsisinst.nsi, built with COMPILE_INITS=0 and then
>> built the installer. Then I installed it in c:\usr\gs\gs9.28. I double
>> checked that the revised GS_LIB value was written to the registry.
>>
>> Running the exe, I still get:
>> "GPL Ghostscript RELEASE CANDIDATE 1 9.28: Can't find initialization
>> file gs_init.ps."
> 
> Sorry, I can't understand the situation.
> Here gs-9.28rc1 for Windows with COMPILE_INITS=0 is working with some
> problems.

It's okay, I worked it out: I was trying to debug a WIN32 application,
whilst I had done the install of a WIN64 - hence different registries.

The problem with your solution (replacing '\\' with '/' in validate())
is that it only works for Windows. It won't work on, for example,
OpenVMS, where paths are specified differently (it uses a combination of
'/', ':' and '[', apparently!).


Anyway, I realise now that the logic in my fix was wrong, and I've no
idea how I got sane output from it.

Could you give this one a try (obviously removing your proposed change),
please?

https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=935408d62057

And sorry about the confusion.

Regards,

Chris