Monday, April 14, 2008

ypops on ubuntu linux

I've been working in linux today. After yesterday's success with ypops. I wanted to get it working on linux as well. Unfortunately there does not appear to be an ubuntu package for ypops available ( though I did not look too hard).

So, I went to sourceforge for the source but it did not compile. Both the most recent CVS and the code tagged YPOPS_0_9_5_1 does not compile. However, from searching through the ypops forums, I did find the following:

YPOPs! sources for UNIX platform

Posted by Thomas Skariah in this ypops forum entry along with instructions for compiling.

Thank you Thomas.

This code compiles and links. I glanced at the differences between Thomas's version and the cvs code and it all looks good.

Having compiled and linked the code I put my new ypops binary into /usr/local/bin . To get it to start up automatically on ubuntu 8.04, I created a file called /etc/event.d/ypops with the following content:
description "start ypops"
author "Dave"

start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5

console output

exec /usr/local/bin/ypops


This file instructs upstart to start ypops .

Having done all this I can read my yahoo e-mail with thunderbird using localhost as my server.


Bully said...

There is already a Ubuntu deb package available for YPOPs!. You could check here: YPOPs! for Ubuntu

DaveProgramming said...


Good point - I should have mentioned it.

I had seen that but I wanted to compile the code myself - mostly just as a matter of principle.

In fact, the deb package is provided by the same guy who modified the code to work on linux.

- Dave