php4mirc requires php.
perl4mirc requires perl.

I'm not sure what the question is. I also don't maintain that library, you should ask the author.