Just some quick notes that might help somebody out..
If you want to use the pyvnc2swf script on OS X (specifically 10.4.6) you will need to install pygame as described in the install notes of pyvnc2swf . There are some other steps you need to take care of before installing pygame:
- Check your Python version. Open a Terminal (Applications/Utilities/Terminal) and type:
python -V You should now see something like Python 2.3.5 (the numbers can be different)
- Choose the right pygame package from http://pythonmac.org/packages/ corresponding to the version of Python you have. In my case it’s http://pythonmac.org/packages/pygame-1.7.0-py2.3-macosx10.3.zip. (there was no 10.4 version so I gambled that the 10.3 would work as well. This might have caused my issues…). Now download it.
- Install the pygame package.
However pyvnc2swf still didn’t work. Until I poked around on the mailinglist of the pyvnc2swf users list and found this tip. It describes my problem and has a solution that worked for me. The problem seems to be pyvnc2swf not being able to find pygame.
It looks for pygame here:
/System/Library/Frameworks/Python.framework/Versions/2.3/Extras/lib/python
but it is actually installed here:
/Library/Python/2.3/pygame
The solution as proposed on the mailinglist is to create a symlink that points to the right place. You can do this by going to:
/System/Library/Frameworks/Python.framework/Versions/2.3/Extras/lib/python
directory and typing:
sudo ln -s /Library/Python/2.3/pygame pygame
It will prompt for your password and after this it creates a symlink and you should be ready to go. From this point on you can follow the instructions of the pyvnc2swf guide.
ps: Btw I have the Apple Developer Tools installed not quite sure if its necessary for this tool, just so you know. Also make sure the VNC server (I use OSXVnc) you use works. You can do this by connecting a vnc client (I use Chicken of the VNC) to it and you should be able to see the connected desktop.