1827835 Members
8901 Online
109969 Solutions
New Discussion

Re: Compiler issue

 
dbent
Occasional Contributor

Compiler issue

When I try to install the Perl module Digest::SHA, I get the following error message:

Could not read '/.cpan/build/Digest-SHA-5.47-Kxf2Ub/META.yml'. Falling back to other methods to determine prerequisites
cp lib/Digest/SHA.pm blib/lib/Digest/SHA.pm
/opt/perl_32/bin/perl /opt/perl_32/lib/5.8.8/ExtUtils/xsubpp -typemap /opt/perl_32/lib/5.8.8/ExtUtils/typemap -typemap typemap SHA.xs > SHA.xsc && mv SHA.xsc SHA.c
cc -c -I. -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0 -DVERSION=\"5.47\" -DXS_VERSION=\"5.47\" +Z "-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" -DSHA_PERL_MODULE SHA.c
Internal Error: Codeword file $TIMEBOMB_CWD,/opt/aCC/newconfig/aCC.cwd missing or empty.

It seems to me that the problem is that make is trying to use the aCC compiler, which I don't seem to have a codeword for. I've installed many other Perl modules, and I have the gcc compiler. What options do I have? Can I direct make to use a different compiler?
4 REPLIES 4
OldSchool
Honored Contributor

Re: Compiler issue

there may be a switch in the config process that allow you to specify which complier to use.

or it might be as simple as

export CC=gcc; make config
Dennis Handly
Acclaimed Contributor

Re: Compiler issue

Internal Error: Codeword file ... missing or empty.
>that make is trying to use the aCC compiler, which I don't seem to have a codeword for.

If you don't have the codeword for the EVAL compiler, you should swremove it.
Also, are you on an Integrity server? (Some of the options you have are PA specific.)

Viktor Balogh
Honored Contributor

Re: Compiler issue

Viktor Balogh
Honored Contributor

Re: Compiler issue

for checking your license:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1394562

****
Unix operates with beer.