Add Ubuntu 12.04 installation documentation
Thanks for this software. I use Openbox with Lubuntu on my PowerBook G4 laptop and was looking for an easy way to add tiling capabilities. I'm using pytyle now and look forward to learning how to take full advantage of it.
I ran in to a few issues installing it since there's no package and a number of decencies gave me problems. So I would like to share what I did to install pytyle3 on my system. Let me know if I can help add it to the wiki.
Installing PyTyle on Lubuntu 12.04 GNU/Linux PowerPC Python 2.7.3
Dependencies
-
sudo apt-get install python-dev python-xcbgen automake libtool pkg-config xsltproc xcb-proto libxau-dev libpthread-stubs0-dev
libxcb
-
git clone git://anongit.freedesktop.org/git/xcb/libxcb -
cd libxcb/ -
./autogen.sh -
sudo make install
xpyb-ng
-
git clone https://github.com/qtile/xpyb-ng.git -
cd xpyb-ng -
vi tools/py_client.py - Apply patch from https://github.com/dequis/xpyb-ng/pull/6
-
sudo python setup.py install
pytyle
-
git clone https://github.com/BurntSushi/pytyle3.git -
cd pytyle3 -
sudo python setup.py install
This is awesome! Thank you! I've added a first draft here: Ubuntu 12.04 installation documentation.
I've added a few notes. Please feel free to cross them out if I'm wrong, modify them, or whatever.
Also, feel free to add/remove/modify your name. Add a link to your homepage, etc.
Thanks again!
I'll leave this issue open for a little bit, in case any my notes are confusing (which would be my fault).
I followed the manual and got this error:
$ cd pytyle3 $ sudo python setup.py install
pytyle3 requires xpybutil See: https://github.com/BurntSushi/xpybutil
but i just compiled and installed xpyb-ng like described above. got the following massages during installatin:
$ sudo python setup.py install running install running build running build_py copying xcb/damage.py -> build/lib.linux-x86_64-2.7/xcb copying xcb/bigreq.py -> build/lib.linux-x86_64-2.7/xcb copying xcb/composite.py -> build/lib.linux-x86_64-2.7/xcb copying xcb/dpms.py -> build/lib.linux-x86_64-2.7/xcb running build_ext xcb/bigreq.py xcb/composite.py xcb/damage.py xcb/dpms.py xcb/glx.py xcb/randr.py xcb/record.py xcb/render.py xcb/res.py xcb/screensaver.py xcb/shape.py xcb/shm.py xcb/sync.py xcb/xc_misc.py xcb/xevie.py xcb/xf86dri.py xcb/xfixes.py xcb/xinerama.py xcb/xprint.py xcb/xproto.py xcb/xtest.py xcb/xvmc.py xcb/xv.py building 'xcb.xcb' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/xcb gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/conn.c -o build/temp.linux-x86_64-2.7/xcb/conn.o -Wall gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/constant.c -o build/temp.linux-x86_64-2.7/xcb/constant.o -Wall gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/cookie.c -o build/temp.linux-x86_64-2.7/xcb/cookie.o -Wall gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/except.c -o build/temp.linux-x86_64-2.7/xcb/except.o -Wall gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/ext.c -o build/temp.linux-x86_64-2.7/xcb/ext.o -Wall gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/extkey.c -o build/temp.linux-x86_64-2.7/xcb/extkey.o -Wall gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/list.c -o build/temp.linux-x86_64-2.7/xcb/list.o -Wall gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/module.c -o build/temp.linux-x86_64-2.7/xcb/module.o -Wall gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/protobj.c -o build/temp.linux-x86_64-2.7/xcb/protobj.o -Wall gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xcb/void.c -o build/temp.linux-x86_64-2.7/xcb/void.o -Wall gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/xcb/conn.o build/temp.linux-x86_64-2.7/xcb/constant.o build/temp.linux-x86_64-2.7/xcb/cookie.o build/temp.linux-x86_64-2.7/xcb/except.o build/temp.linux-x86_64-2.7/xcb/ext.o build/temp.linux-x86_64-2.7/xcb/extkey.o build/temp.linux-x86_64-2.7/xcb/list.o build/temp.linux-x86_64-2.7/xcb/module.o build/temp.linux-x86_64-2.7/xcb/protobj.o build/temp.linux-x86_64-2.7/xcb/void.o -lxcb -o build/lib.linux-x86_64-2.7/xcb/xcb.so running install_lib creating /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/damage.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/protobj.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/shm.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/shape.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/bigreq.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/xc_misc.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/composite.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/xinerama.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/res.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/dpms.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/render.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/xprint.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/sync.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/screensaver.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/init.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/randr.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/xcb.so -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/xevie.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/common.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/record.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/iter.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/glx.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/xfixes.py -> /usr/local/lib/python2.7/dist-packages/xcb copying build/lib.linux-x86_64-2.7/xcb/xf86dri.py -> /usr/local/lib/python2.7/dist-packages/xcb byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/damage.py to damage.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/protobj.py to protobj.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/shm.py to shm.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/shape.py to shape.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/bigreq.py to bigreq.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/xc_misc.py to xc_misc.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/composite.py to composite.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/xinerama.py to xinerama.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/res.py to res.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/dpms.py to dpms.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/render.py to render.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/xprint.py to xprint.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/sync.py to sync.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/screensaver.py to screensaver.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/init.py to init.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/randr.py to randr.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/xevie.py to xevie.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/common.py to common.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/record.py to record.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/iter.py to iter.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/glx.py to glx.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/xfixes.py to xfixes.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/xcb/xf86dri.py to xf86dri.pyc running install_egg_info Writing /usr/local/lib/python2.7/dist-packages/xpyb-1.3.egg-info
$
Any help?
I'm not sure what the problem is. The output you've pasted looks like a successful install of xpyb.
I obtained the same error message because this tutorial does not mention the installation of xpybutil.
As an addendum to this, make sure your versions of xcb-proto and libxcb match. I initially ran into an issue installing v1.14 of libxcb when having v1.13 of xcb-proto installed. I went to the freedesktop site and installed x1.13 of libxcb and it worked just fine.