I'm trying to build 5.6.2 on a 64bit Centos4 box.

Linux fc1x64build.mpc.local 2.6.9-5.0.3.EL #1 Sat Feb 19 15:25:58 CST 
2005 x86_64 x86_64 x86_64 GNU/Linux

Doing

        sh Configure -Dprefix=/software/perl/5.6.2/linux.centos4.x86_64 \ 
                 -Dcc=gcc -de

and then 

        make 

results in several 

    "comparison is always true due to limited range of data type

and

        "cast to pointer from integer of different size"


And then craps out with

        Making x2p stuff
make[1]: Entering directory `/tmp/simon_perl_build/perl-5.6.2/x2p'
`sh  cflags hash.o` -DPERL_FOR_X2P hash.c
          CCCMD =   -c  
cflags: line 54: /config.sh: No such file or directory
/bin/sh: -c: command not found
make[1]: *** [hash.o] Error 127
make[1]: Leaving directory `/tmp/simon_perl_build/perl-5.6.2/x2p'



I can't quite understand why x2p/cflags is not getting hold of $cc but 
frigging the variable manually to be 'gcc' allows make to complete. 
After that all tests pass and generally everything is ok with the 
world.

Any ideas?

Simon

Reply via email to