I have some problem in creating exe files using perl. I am using this for website security. Anybody please help me in this.

I am using CGI.pm and DBI.pm for my CGIs...
when i compiling this gives problem with my Apache.
I used perlcc to compile my Perl CGI.
Anybody help me to solve this?