personal web log written by izabeera and dryobates

freebsd skype

Skype4 on FreeBSD

by dryobates

Running recent versions of Skype on FreeBSD became more and more difficult with every new Skype’s version.

First I set compatibility with linux kernel 2.6.18:

$ sysctl compat.linux.osrelease=2.6.18

And the same in /etc/sysctl.conf:

compat.linux.osrelease=2.6.18

Then in /usr/ports/Mk/bsd.linux-rpm.mk I changed LINUX_OSRELEASE to 2.6.18 in order to be able install rpm-s for kernel other than 2.6.16:

.    if (${LINUX_OSRELEASE} != "2.6.18")

Next I have installed linux_base-f10:

$ cd /usr/ports/emulators/linux_base-f10
$ make install

Check if you have linux module loaded:

$ kldstat | grep linux

If not load it:

$ kldload linux
$ kldstat | grep linux
4    1 0xc9fbf000 4a000    linux.ko

I have load also linprocfs:

$ kldload linprocfs

To /etc/fstab I wrote:

linprocfs   /compat/linux/proc  linprocfs   rw  0   0

And mounted linprocfs:

$ mount linprocfs

Next I have installed tiff library and alsa with oss support:

$ cd /usr/ports/graphics/linux-f10-tiff
$ make install clean
$ cd /usr/ports/audio/linux-f10-alsa-lib
$ make install clean
$ cd /usr/ports/audio/linux-f10-alsa-plugins-oss
$ make install clean

Then was less typical installation :). As Artyom Mirgorodskiy has described [1] I haver compliled linux_base-c6,but not installed it. And then copied mentioned files.

Lastly I have download skype package for linux:

curl -O http://download.skype.com/linux/skype_static-4.0.0.8.tar.bz2

I extracted it and simply run:

./skype

That’s all! I do not try video as I have no camera to test it.

I hate skype and I think voice communication in work is overused. To paraphrase Tim Peters [2]:

If the implementation is hard to explain WITH WRITTEN TEXT, it’s a bad idea.

Maybe I’m old fashioned but I thing IRC and/or XMPP is sufficient for communication in work. But sometimes you can’t tilt at windmills :(

[1]Artyom Mirgorodskiy’s post http://lists.freebsd.org/pipermail/freebsd-emulation/2013-June/010615.html
[2]python -c ‘import this’
dryobates
dryobates
Jakub Stolarski. Software engineer. I work professionally as programmer since 2005. Speeding up software development with Test Driven Development, task automation and optimization for performance are things that focus my mind from my early career up to now. If you ask me for my religion: Python, Vim and FreeBSD are my trinity ;) Email: jakub@stolarscy.com

Archive

Tag cloud