Re: Skype on OpenBSD 4.1 using Fedora RPM

Previous thread: Problems with ftp-proxy - Solution by Jason Calhoun on Friday, September 21, 2007 - 11:30 am. (1 message)

Next thread: lock(1) to lock all virtual terminals? by Douglas A. Tutty on Friday, September 21, 2007 - 12:46 pm. (1 message)
To: <wooh@...>
Cc: OpenBSD misc list <misc@...>
Date: Friday, September 21, 2007 - 11:48 am

OK :-)
I did this on a 4.1/i386.
For other versions it would be similar however since we are going to
use the Skype Linux Binary we will need an x86 system. Linux emulation
is available only for x86 systems.

1) Enable Linux Emulation option in kernel

You will have a line

#kern.emul.linux=1 # enable running Linux binaries

in your "/etc/sysctl.conf" file. You need to uncomment it ( remove the
# in the begining ) and make it look like

kern.emul.linux=1 # enable running Linux binaries

In the next step when you install the "fedora_base-4.0p2.tgz" pakage
it will automatically enable this option temporarily in the running
kernel but if the change has to last after a reboot you need to edit
this file :-)

2) Install "fedora_base-4.0p2.tgz" package.

#export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.1/packages/i386/
#pkg_add fedora_base-4.0p2.tgz

We do this to get most of the required Linux library files that the
Skype Linux Binary will need. Though their website says it is
statically linked we will soon find out that it is not the case :-(

At this point if you are more interested in details you can read

http://www.openbsd.org/cgi-bin/man.cgi?query=compat_linux&sektion=8
or
$man 8 compat_linux

3) Download the Skype Linux Binary.

====================================================
#cd /tmp
#ftp http://www.skype.com/go/getskype-linux-static
Trying 204.9.163.136...
Requesting http://www.skype.com/go/getskype-linux-static
Redirected to http://download.skype.com/linux/skype_static-1.4.0.99.tar.bz2
Trying 130.117.72.89...
Requesting http://download.skype.com/linux/skype_static-1.4.0.99.tar.bz2
0% | | 0 --:-- ETA

====================================================
#pwd
/tmp
#bunzip2 skype_static-1.4.0.99.tar.bz2
#tar -xvf skype_static-1.4.0.99.tar
#mv skype_static-1.4.0.99 skype
====================================================

If you want there is a READ...

Previous thread: Problems with ftp-proxy - Solution by Jason Calhoun on Friday, September 21, 2007 - 11:30 am. (1 message)

Next thread: lock(1) to lock all virtual terminals? by Douglas A. Tutty on Friday, September 21, 2007 - 12:46 pm. (1 message)