من اینا پیدا کردم:
1 Prepare for packages needed:
sudo apt-get install python-opengl python-gtk2-dev libgtkglext-dev
2. Download pygtkglext-1.1.0.tar.bz2
3 Then
cd ~/tmp;
tar xvjf pygtkglext-1.1.0.tar.bz2
cd pygtkglext-1.1.0
./configure --prefix=/usr
sudo make install
4 After step 3, gdkgl and gtkdl package have been installed in " /usr/lib/python2.4/site-packages/gtk-2.0/gtk/", but in fact the gtk package locates in "/var/lib/python-support/python2.4/gtk-2.0/", so we need
cd /var/lib/python-support/python2.4/gtk-2.0/gtk
sudo ln -s /usr/lib/python2.4/site-packages/gtk-2.0/gtk/g{d,t}kgl .
5 Test it:
cd ~/tmp/pygtkglext-1.1.0/examples
python simple.py
اما وقتی sudo make install را میزنم این خطار را میده:
make: *** No rule to make target `install'. Stop.