in reply to Error in installing IO TTY Module

sajjad_84:

You might perhaps install gcc on your machine. If you're using windows, I find the one packaged with CygWin to be pretty robust.

If gcc is installed on your machine, then you'll want to check your paths, permissions, etc. to verify that the account you're using has access to it.

...roboticus

Replies are listed 'Best First'.
Re^2: Error in installing IO TTY Module
by sajjad_84 (Initiate) on Oct 20, 2009 at 06:40 UTC
    Hello Robo, Here are some few findings, The OS is HP-UX When I run the perl –V:cc command the output it shows is “cc=gcc”. But then when I changed the location of CC (using the export command, export CC=/usr/bin/cc). The log file showed this error "sh: mor: not found"
      Looks like your perl was compiled with gcc but you do not have gcc installed. The /usr/bin/cc is probably HP's C compiler. Mixing compilers sometimes works, sometimes not, so even if you succeded in using cc instead of gcc (you could setup a symbolic link) you might get problems later. You need to install gcc (Google gcc - it is free) or recompile perl using the HP compiler.
      The error sh:mor: not found does not seem to be connected to the compiler issue. Are you sure no one edited the Makefile and inadvertantly deleted the e from more?