Don't know that there is a "problem". The issue is one of knowing what is required to connect the 2 of them.
An individual piece of software running on your Mac has nothing to do with the hardware video ouput port available on your Mac, nor the video input port on the TV, nor the cable &/or adapter that would be needed for making the connection between the 2 of them.
Without knowing what video ports are on the Mac and the TV, it is not possible to advise what adapter &/or cable you need.
If you are still running 10.5.8 on a MBP, then you have a MBP made between '06 and early '08 - all of which had a DVI video port.
A Panasonic flatscreen doesn't really tell us what type of video input ports that TV has - it depends on the age of the TV. If it was manufactured during or after about '06, am pretty sure all Pannys had at least 1 HDMI video input.
If the above is true for your TV, then you would need a "DVI to HDMI" cable to connect them together - such as
this one.
You should, however, verify that your TV has HDMI ports yourself, prior to purchasing the cable.
And be forewarned - that will only pass the video to the TV. It will not pass the audio to the TV.