in reply to abort while installing perl in Tru64

Read the output, it says

Uh-oh, the C compiler 'cc' doesn't seem to be working. You need to find a working C compiler. Either (purchase and) install the C compiler supplied by your OS vendo +r, or for a free C compiler try http://gcc.gnu.org/ I cannot continue any further, aborting.

Well, you need a C compiler. Do you have one? If so, how is it called?

Replies are listed 'Best First'.
Re^2: abort while installing perl in Tru64
by xiaoyafeng (Deacon) on Oct 22, 2007 at 07:54 UTC
    Thank you for your reply. Strangely, cc compiler in system works!
    I can compile a a.out file to print "Hello World!!"(just in perl install directory type cc test.c)
    I doubt %ENV lead to this issue. But How can I prove my suspicion?

    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

      Most likely, cc is a shell alias. You can check that by typing:

      alias cc

      This should tell you what cc expands to. You can check whether there is a program cc in your path by typing which cc - most likely that will fail for you too.

      I think you can tell Configure which cc to use by giving the cc as a parameter:

      ./Configure cc=/home/xiaoyafeng/bin/cc

      ... but likely it's better to set up your $ENV{PATH} so that cc is found directly by Configure.

        I've checked,cc is not a alias,but it is a link file from /usr/lib/cmplrs/cc/drivers.

        I've tried all night, but still has not found any clue. I posted my question to bugperl. I hope it has a good result. Any way, Thank you very much.

        I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction