Try changing the first line of /usr/local/bin/h2xs to wherever your perl is. On my system (Debian/Lenny) it reads:
#!/usr/bin/perl [download]
In reply to Re: using h2xs by FunkyMonk in thread using h2xs by Rach