Thursday, March 24, 2011

Install Skype in FreeBSD 8.2

Skype has become a staple of the various OSes that I use, other than Haiku for which it's currently not available.
So, I was surprised and disappointed when I tried to install it from the /net/skype port and got this error:

skype-2.0.0.72,1 is marked as broken: This is the last version of skype that works on FreeBSD, but the distfile is no longer available from the vendor, and won't be in the future. We are working on alternative solutions..
*** Error code 1
Stop in /usr/ports/net/skype.

Then I stumbled across this link which outlines how to overcome this "broken" error.
Basically, there are just three steps to get Skype working:

1. Download file from this link and place in /usr/ports/distfiles/
2. Use a texteditor (I used Gedit) to open the file /usr/ports/net/skype/Makefile. Then comment out (place a # before the first line) of line 28 (the original says line 26) in order to nullify the line that says:
BROKEN= This is the last version of skype that works on FreeBSD, but the distfile is no longer available from the vendor, and won't be in the future. We are working on alternative solutions
.
Save the file.
3. CD to /usr/ports/net/skype and run "make install clean" as root.

And that's it. Now, Skype should be working.

No comments:

Post a Comment