bin/gs -sGenericResourceDir=/Users/marcos/artifex/test-8.71/test/ -I./Resource/Init -sDEVICE=ppmraw -o test.ppm ./examples/tiger.eps produces: *** Warning: GenericResourceDir doesn't point to a valid resource directory. the -sGenericResourceDir=... option can be used to set this. where: touch test/Init/gs_init.ps bin/gs -sGenericResourceDir=/Users/marcos/artifex/test-8.71/test/ -I./Resource/Init -sDEVICE=ppmraw -o test.ppm ./examples/tiger.eps works as expected.
This broke between 8.64 and 8.70, searching for the precise revision now.
This appears to be a feature and not a bug, though at least one of customers does not think so: r9495 | alexcher | 2009-02-20 11:10:04 -0800 (Fri, 20 Feb 2009) | 6 lines Check that gs_init.ps can be found at $(GenericResourceDir)Init/gs_init.ps Issue a warning if this file cannot be found. Bug 690289.
With Alex's changes to make SEARCH_HERE_FIRST=0 (-P-) the default in 9.00, I believe all of these issues are resolved. The GenericResourceDir now seems to always resolve to a valid location, due to separate testing process compared to the testing for gs_init.ps. Note that most of this is moot since by default, COMPILE_INITS=1 is used to put the Resource path in the exectuable as %rom%Resource with all of the required subdirectories such as Init (for gs_init.ps, etc.) CMap and Font.