31
Programming / GSView - make complains of "No such file or directory"
« on: January 29, 2022, 04:29:49 am »
I decided to take a stab at building an updated version of GSView (because the pswrite device is no longer present in our ghostscript 9.18 release and the latest GSView verison seems to have it hard-coded instead of picking the device name up from the gvpm.ini file and using that).
Anyways...couple of small tweaks to the makefile, but I'm getting stumped by a reference to two other makefiles: one for common objects and the other is a GSView version mak (auto-updates the GSView header that contains the version info).
I've attached the makefile here, and I'm seeing the following error:
which is a result of the following lines in the main makefile:
And yet, from a CLI where I am executing make from I can certainly do a "dir" and both of those files are certainly there:
So what am I tripping over here?
Is this a OS/2 vs Linux path separator issue?
For what it's worth I tried the "/" vs "\" with no difference.
Thanks!
Anyways...couple of small tweaks to the makefile, but I'm getting stumped by a reference to two other makefiles: one for common objects and the other is a GSView version mak (auto-updates the GSView header that contains the version info).
I've attached the makefile here, and I'm seeing the following error:
Code: [Select]
...
[G:\code\source\os2\gsview-5.0]\usr\bin\make
makefile:85: ".\src\common.mak": No such file or directory
makefile:86: ".\src\gvcver.mak": No such file or directory
makefile:174: *** missing separator (did you mean TAB instead of 8 spaces?). St
op.
...
which is a result of the following lines in the main makefile:
Code: [Select]
...
#################################################################
# Common
include "$(SRC)common.mak"
include "$(SRC)gvcver.mak"
...
And yet, from a CLI where I am executing make from I can certainly do a "dir" and both of those files are certainly there:
Quote
[G:\code\source\os2\gsview-5.0]dir .\src\*mak
The volume label in drive G is OS2.
The Volume Serial Number is 45B6:75C3.
Directory of G:\code\source\os2\gsview-5.0\src
11-17-07 4:14p 2,409 0 a--- bzlibmsc.mak
5-28-11 12:21p 5,677 0 a--- common.mak
1-17-12 9:26p 23,686 0 a--- gvc.mak
1-28-22 10:21p 1,802 0 a--- gvcver.mak
So what am I tripping over here?
Is this a OS/2 vs Linux path separator issue?
For what it's worth I tried the "/" vs "\" with no difference.
Thanks!