Rasperry Pi CDE Desktop

This document if is based on the instructions at CDE for Linux Wiki. This document assumes you have a vanilla and up-to-date install of Debian Wheezy (Raspbian).

Install Dependencies

To install the dependencies, run: sudo apt-get install git build-essential libxp-dev libxt-dev libxmu-dev libxft-dev lesstif2 lesstif2-dev libx11-dev libjpeg-dev libfreetype6-dev tcl-dev ksh m4 ncompress xfonts-100dpi xfonts-100dpi-transcoded rpcbind bison xbitmaps You should then see something like: Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libjpeg8-dev' instead of 'libjpeg-dev' build-essential is already the newest version. libfreetype6-dev is already the newest version. rpcbind is already the newest version. rpcbind set to manually installed. The following extra packages will be installed: git-man libbison-dev libcurl3-gnutls liberror-perl libice-dev libpthread-stubs0 libpthread-stubs0-dev libsm-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxmu-headers libxp6 libxrender-dev rsync tcl tcl8.5-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-print-dev x11proto-render-dev x11proto-xext-dev xfonts-encodings xfonts-utils xorg-sgml-doctools xtrans-dev Suggested packages: bison-doc git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb libice-doc libsm-doc libxcb-doc libxext-doc libxt-doc tcl-doc tcl8.5-doc The following NEW packages will be installed: bison git git-man ksh lesstif2 lesstif2-dev libbison-dev libcurl3-gnutls liberror-perl libice-dev libjpeg8-dev libpthread-stubs0 libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev libxmu-dev libxmu-headers libxp-dev libxp6 libxrender-dev libxt-dev m4 ncompress rsync tcl tcl-dev tcl8.5-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-print-dev x11proto-render-dev x11proto-xext-dev xbitmaps xfonts-100dpi xfonts-100dpi-transcoded xfonts-encodings xfonts-utils xorg-sgml-doctools xtrans-dev 0 upgraded, 46 newly installed, 0 to remove and 49 not upgraded. Need to get 31.9 MB of archives. After this operation, 65.5 MB of additional disk space will be used. Do you want to continue [Y/n]? Type Y at this point and let the packages install. This process can take a while. Next you need to allow rpcbind to run in insecure mode: sudo vi /etc/init.d/rpcbind and find the line: OPTIONS="-w" and replace it with: OPTIONS="-w -i" We also need to enable some other locales, so run: sudo dpkg-reconfigure locales And enable: de_DE ISO-8859-1 es_ES ISO-8859-1 fr_FR ISO-8859-1 it_IT ISO-8859-1 Select ok, and leave the default as en_GB.UTF-8. You will then see the pi generate the locales: Generating locales (this might take a while)... de_DE.ISO-8859-1... done en_GB.UTF-8... done es_ES.ISO-8859-1... done fr_FR.ISO-8859-1... done it_IT.ISO-8859-1... done Generation complete.

Build CDE

Firstly download the source code: git clone git://git.code.sf.net/p/cdesktopenv/code cdesktopenv-code You'll see git procesing and downloading the code: Cloning into 'cdesktopenv-code'... remote: Counting objects: 27556, done. remote: Compressing objects: 100% (13482/13482), done. remote: Total 27556 (delta 14853), reused 25624 (delta 13567) Receiving objects: 100% (27556/27556), 58.70 MiB | 606 KiB/s, done. Resolving deltas: 100% (14853/14853), done. Checking out files: 100% (19581/19581), done. Next you need to symlink the X11 library headers into the build tree: cd cdesktopenv-code/cde mkdir -p imports/x11/include cd imports/x11/include ln -s /usr/include/X11 . Next build the source code, currently it fails to build the documentd, so exclude them and build with: cd ~/cdesktopenv-code/cde make World.dev After a good hour or so(!) you should see something like: chmod a+x dinstall.dt make[3]: Leaving directory `/home/pi/cdesktopenv-code/cde/admin/IntegTools' make[2]: Leaving directory `/home/pi/cdesktopenv-code/cde/admin' make[1]: Leaving directory `/home/pi/cdesktopenv-code/cde' Wed Aug 15 12:40:01 UTC 2012 Full build of Release 2.2.0 of CDE excluding DOC complete. At this point the build is complete.

Install Dependencies