From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 Description of problem: when attempting to upgrade perl from CPAN shell I got the following error; h cflags "optimize='-O2'" sv.o sv.c CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall h cflags "optimize='-O2'" pp.o pp.c CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall h cflags "optimize='-O2'" scope.o scope.c CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall h cflags "optimize='-O2'" pp_ctl.o pp_ctl.c CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall h cflags "optimize='-O2'" pp_sys.o pp_sys.c CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall pp_sys.c: In function erl_pp_sselect': pp_sys.c:1103: Internal error: Segmentation fault. Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. make: *** [pp_sys.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible cpan> Version-Release number of selected component (if applicable): How reproducible: Didn't try Additional info:
You were trying to upgrade your version of perl via CPAN only? This is not supported; please use RPMs provided by Red Hat if you wish to upgrade your perl installation. Also note that if you are going from a 5.00503 or 5.6.0 or 5.6.1 perl that you will break binary compatibility, if you try to go to 5.8.0.
Yes, I was upgrading via CPAN only. As I was installing other perl mods (via CPAN), CPAN told me I should do this, it even told me how to upgrade via CPAN. Perhaps the folks at CPAN should be informed that one should not upgrade perl that way?!?! ;-]
BTW, Thanks for the reply!!!!
you may want to download a new CPAN module separately; this is a known issue in older CPANs. Newer ones should do the right thing and not try to recompile your version of perl :)