in reply to install Proc::ProcessTable in Linux

vikram1974:

The error "/bin/sh: cc: command not found" indicates that either you don't have a C compiler installed on the machine, or that your account isn't set up to use it. Try resolving that and then try installing Proc::ProcessTable again.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: install Proc::ProcessTable in Linux

Replies are listed 'Best First'.
Re^2: install Proc::ProcessTable in Linux
by vikram1974 (Initiate) on Mar 14, 2018 at 20:11 UTC
    gcc compiler is already there, how to make point cc=gcc to proceed? Thanks
      gcc compiler is already there, how to make point cc=gcc to proceed?

      It shouldn't be necessary to do that, and I think the advice offered by roboticus is sound.

      However, to answer your question:
      cpanm Proc::ProcessTable --configure-args="cc=gcc"
      or, if gcc location is not in $PATH environment variable:
      cpanm Proc::ProcessTable --configure-args="cc=/full/path/to/gcc"
      Cheers,
      Rob

      vikram1974:

      Talk with your system administrator who can help you get your shell profile set up appropriately.

      Usually, you need to verify that your account has appropriate permissions to access/execute the files (the compiler, linker, libraries, include files, etc.), and that your shell configuration sets up the environment variables for you.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.