You need to install the Expat library separately, which will vary depending on your platform.
In reply to Re: Unable to use XML::Parser by bitingduck in thread Unable to use XML::Parser by gobisankar