Skypiax on Karmic

From FreeSWITCH Wiki

Jump to: navigation, search

Contents

Skypiax on Ubuntu Karmic Koala & Jaunty Jackalope

There has been report of many problems with Xvfb in Karmic Koala and Jaunty.

NEW WORKAROUND

I (gmaruzz) found them caused by the fact that installing the Xvfb package do not automatically installs the dependencies needed.

Once the dependencies are installed, it runs flawlessly for me.

Needed dependencies for running Skype client static build and Xvfb are (on Karmic), all in a cut and paste ready scoop:

apt-get install libfontenc1 libfs6 libice6 libpixman-1-0 libsm6 libx11-6 \
libx11-data libx11-dev libxau-dev libxau6 libxaw7 libxcb1 libxcb1-dev \
libxcursor1 libxdmcp-dev libxdmcp6 libxext6 libxfixes3 libxfont1 libxi6 \
libxinerama1 libxkbfile1 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 \
libxss1 libxt6 libxv1 x11-common x11-xkb-utils x11proto-core-dev \
x11proto-input-dev x11proto-kb-dev xauth xfonts-100dpi xfonts-75dpi \
xfonts-encodings xfonts-scalable xfonts-utils xfs xkb-data xml-core \
xserver-common xtrans-dev xvfb libgl1-mesa-dri

OLD WORKAROUND

Following are the instructions written by Ernad Husremovic on how to rebuild X stuff on Ubuntu Karmic (9.10) & Jaunty (9.04) from the Hardy sources (but I -gmaruzz- have found that when installed the dependencies just listed, rebuilding X stuff is not needed):

There are problems with libX11 stack in Karmic & Jaunty (http://jira.freeswitch.org/browse/MODSKYPIAX-56)

The workaround is to build libX11 libraries from Hardy (downgrade).

Host Environment

Ubuntu Karmic Koala (AMD64 or i386) or Ubuntu Jaunty Jackalope (AMD64 or i386)

Required Libraries:

$ sudo apt-get install x11proto-bigreqs-dev x11proto-composite-dev x11proto-damage-dev x11proto-evie-dev x11proto-fixes-dev x11proto-xinerama-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-scrnsaver-dev x11proto-trap-dev x11proto-video-dev x11proto-xcmisc-dev x11proto-xext-dev x11proto-xf86bigfont-dev x11proto-xf86dga-dev x11proto-xf86misc-dev x11proto-xf86vidmode-dev libxfont-dev libfontenc-dev libxkbfile-dev libpixman-1-dev x11proto-xf86dri-dev libdrm-dev x11proto-print-dev libfreetype6-dev x11proto-gl-dev libgl1-mesa-dev libxmuu-dev libxext-dev libxrender-dev libxi-dev x11proto-dmx-dev quilt libdmx-dev libxpm-dev libxaw7-dev libxt-dev libxmu-dev libxtst-dev libxres-dev libxfixes-dev libdbus-1-dev libhal-dev

/etc/apt/sources.list

Change every line which begins with "deb-src" from Karmic or Jaunty to Hardy.

Example:

deb-src http://archive.ubuntu.com/ubuntu/ karmic main restricted
=>
deb-src http://archive.ubuntu.com/ubuntu/ karmic main hardy

root# apt-get update

After that, with "apt-get source" we will get hardy source packages.

1. xcb-proto

$ mkdir ~/devel/
$ cd ~/devel
$ ~/devel$ apt-get source xcb-proto
$ cd xcb-proto-1.1
$ dpkg-buildpackage -rfakeroot

2. libxcb

$ ~/devel$ apt-get source libxcb
$ cd libxcb*
$ dpkg-buildpackage -rfakeroot

3. x11proto-core-dev, x-dev

Same as above.

$ apt-get source x11proto-core

Build package as above.

4. libx11-6

Same as above.

$ apt-get source libx11-6

Build package as above.

Install with dpkg

Finally install these packages:

$ dpkg- i libx11-6_1.1.3-1ubuntu3_i386.deb libxcb1_1.1-1ubuntu2_i386.deb libx11-data_1.1.3-1ubuntu3_all.deb libxcb-xlib0_1.1-1ubuntu2_i386.deb libx11-xcb1_1.1.3-1ubuntu3_i386.deb xcb-proto_1.1-1ubuntu1_all.deb

Their location is in ~/devel

Regards Hernad.

Personal tools
Community
Support FreeSWITCH