I think you’ll find this thread from a couple of years ago should provide the help you need to get it working.
I don’t know how you got the idea that panorama.cgi requires Rosetta, which would mean that did not contain Intel machine code, only PowerPC code. That is definitely not the case. In fact, I can’t even remember if it works on PowerPC, perhaps it does if you are running OS X 10.5. But it for sure does contain Intel code, and Rosetta is not required.
I suspect you may be running into some of the problems that occur when trying to install panorama.cgi on newer operating systems, Apple has definitely placed additional obstacles in the path of doing this. But it can be done and the thread I linked to above should give you the details you need.