CentOS6でPerl 5.8.8 をコンパイルするコマンド

yum install automake gcc kernel-devel
ln -s `find / -name "page.h" | head -n1` /usr/include/asm/

vim makedepend.SH
----
        $sed \
            -e '1d' \
            -e '/^#.*<stdin>/d' \
            -e '/^#.*<builtin>/d' \
            -e '/^#.*<built-in>/d' \
            -e '/^#.*<command line>/d' \
            -e '/^#.*<command-line>/d' \
            -e '/^#.*"-"/d' \
---

vim config.sh    
---        
ld=' -lm '
---

./Configure -Dprefix=/usr/local/perl5_8_8 -Dlibpth="/usr/local/lib64 /lib64 /usr/lib64 /usr/local/lib /lib /usr/lib" -ds && make
make install

mv /usr/bin/perl{,.default}
ln -s /usr/local/bin/perl5.8.8 /usr/bin/perl