You need special gear that can rotate the camera around the no parallax point of the lens (or do it very carefully by hand) if you want to avoid ghosting effects on the foreground. There is a wide range of hardware available for panoramic photography from the cheap and cheerful to very expensive computerized gear.
Another free panorama stitcher is Hugin (
http://hugin.sourceforge.net/). I use PTGUI which is very good, but not free.
Cheers,
Rick.