Suggest : Make a test compile of perl on the host OS,
with the host compiler.
And configure with the option :
--prefix=/home/"username"/test-perl5
.....
Required information, when an LFS question is asked :
Book, Chapter, Host OS = Linux, name, version.
http://www.linuxfromscratch.org/lfs/...skforhelp.html
Please read § 1.5.1
.....