in reply to using h2xs
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]