El Vie 22 Feb 2002 13:47, Mithun Bhattacharya escribió: > Could someone tell me the right place to ask questions regarding > problems faced during compillation of perl 5.6.1 on i686 using gcc 3.0 > on a RedHat 7.2 installation. > > For the curious folks these are the steps I followed > ------------------------------ > tar xzf stable.tar.gz > cd perl-5.6.1/ > rm -f config.sh Policy.sh > sh Configure -de > make > ------------------------------ > > everything works fine till now - it even says go ahead and run make > test. but thats where the fun stuff happens. Make test fails 52 of the > 205 tests and a sample of the error message is as follows. > > ------------------------------ > lib/syslfs...........Can't load '../lib/auto/Fcntl/Fcntl.o' for module > Fcntl: ../lib/auto/Fcntl/Fcntl.o: ELF file's phentsize not the expected > size at ../lib/XSLoader.pm line 75. > at ../lib/Fcntl.pm line 220 > Compilation failed in require at lib/syslfs.t line 14. > BEGIN failed--compilation aborted at lib/syslfs.t line 15. > FAILED at test 0 > lib/syslog...........Can't load '../lib/auto/Socket/Socket.o' for module > Socket: ../lib/auto/Socket/Socket.o: ELF file's phentsize not the > expected size at ../lib/XSLoader.pm line 75. > ------------------------------ > > A google search tells me something very fundamental has gone wrong in > the installation as in the system is trying to load a file as a shared > library when it isnt - although that doesnt really help me isolate or > debug the problem. > > Ofcourse a search of the perl-beginner list archive didnt help. > > > > Regards > Mithun
I am running RedHat 7.2 and i'am without problems installing perl 5.6.1. I checked ther version and is 2.96. [root@hans images]# gcc --version 2.96 [root@hans images]# ¿Du you upgrade manually gcc ? May be can downgrade to 2.96 to test. Hans Poo