Mapserver CGI in Dreamhost

Does anyone know how to build mapserver as a cgi to work on Dreamhost?? mapserv.cgi ??!! I know there are blogs out there that describe a zillion ways to do it, but usually entails adding a lot of components. And I know that FWTools is out there but also try and I couldn’t even figure out how to show the demo (itasca workshop). Can anyone help?