Menu

pstopnm + ghostscript

Help
2005-07-06
2012-07-26
  • Martyn Wheeler

    Martyn Wheeler - 2005-07-06

    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

     
    • Nobody/Anonymous

      I experience exactly the same. I havo no clue. Does anybody have some?

      Thanks.

       
    • Nobody/Anonymous

      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.

       
MongoDB Logo MongoDB