Hi Support Group -
Summary: CentOS6 - Building Perl 5.8.0 from source/Only few binaries get build(Perl gets build). cpan binary missing.
I have been trying to build, Perl 5.8.0 from source on CentOS6. Looking at various forums and threads made the changes as below.
1. Modify makedepend.SH
-e '/^#.*<command line>/d' \
+ -e '/^#.*<command-line>/d' \
2. Add SymLinks:
cd /usr/src/kernels/2.6.32-358.el6.x86_64/include/
ln -s /usr/src/kernels/2.6.32-358.el6.x86_64/include/asm-generic/page.h /usr/include/asm/page.h
ln -s /usr/src/kernels/2.6.32-358.el6.x86_64/include/asm-generic/memory_model.h /usr/include/asm-generic/memory_model.h
ln -s /usr/src/kernels/2.6.32-358.el6.x86_64/include/asm-generic/getorder.h /usr/include/asm-generic/getorder.h
ln -s /usr/src/kernels/2.6.32-358.el6.x86_64/include/linux/compiler.h /usr/include/linux/compiler.h
Now, Perl binary gets built, but other binaries like cpan doesnt get build, and is not in the installed directory after make install.
Are there any recommendations or/if someone has already tried this and faced similar problem ?
Machine Info:
$ cat /etc/redhat-release
CentOS release 6.8 (Final)
$ uname -a
Linux 2.6.32-642.13.1.el6.x86_64 #1 SMP Wed Jan 11 20:56:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$
CentOS6 - Building Perl 5.8.0 from source/Running into Issues - CPAN binary not built.
Re: CentOS6 - Building Perl 5.8.0 from source/Running into Issues - CPAN binary not built.
Why? We already ship and supply perl 5.10 for CentOS 6. If you overwrite that with a backlevel version then a lot of things that depend on the shipped version will break.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke