I am using the gnuwin32 version of netpbm. I can't seem to get pstopnm to work properly everytime I run it I get:
Unable to fork a Ghostscript process. errno=40 (Function not implemented)
I have gs.exe in my path and am able to execute it from teh command line with gs. Does anyone have any ideas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem is not that gs.exe can't be found. The problem is that pstopnm.c calls fork to start the child process. There is no support for fork on Win32, so the fork() runtime library is stubbed out to return 'not implemented'. Pstopnm.c must be modified to call _spawn or _popen or something like that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using the gnuwin32 version of netpbm. I can't seem to get pstopnm to work properly everytime I run it I get:
Unable to fork a Ghostscript process. errno=40 (Function not implemented)
I have gs.exe in my path and am able to execute it from teh command line with gs. Does anyone have any ideas
I experience exactly the same. I havo no clue. Does anybody have some?
Thanks.
The problem is not that gs.exe can't be found. The problem is that pstopnm.c calls fork to start the child process. There is no support for fork on Win32, so the fork() runtime library is stubbed out to return 'not implemented'. Pstopnm.c must be modified to call _spawn or _popen or something like that.