Category Archives: Linux

Upgrade Ubuntu 6.10 Edgy to 7.04 Feisty

I have just upgraded my home pc from Ubuntu Edgy to Feisty. There are some problems along the way.
I am unable to use the Update Manager UI to upgrade the system. The Update Manager cannot proceed to upgrade if any available updates are not first installed, but it will just say that there is some [...]

One Laptop Per Child

From FoxNews.com.
It has taken more than two years, but the One Laptop Per Child initiative has finally released its much-anticipated laptop: the OLPC XO-1.
The XO-1 costs $200 each to donate, but for a limited time — until Dec. 31, 2007 — people can avail themselves of the “Give One, Get One” promotion to give [...]

Interview with Google Android’s Makers

From CNET News.com.
After years of rumors of a Google phone, the search giant a week ago finally unleashed its mobile play: an alliance of handset makers and an open software platform dubbed Android.
On Monday, Google released the software developer kit, or SDK, for Android and announced that it would set aside $10 million to give [...]

Testing FAM with Python

There is a Python module python-fam that uses the client lib of FAM.
There is segmentation fault on deletion of python FAM obj, which can be checked using GDB. After replacing the code PyMem_DEL with PyObject_Del in _fam.c and rebuilt the extension, the segmentation fault goes away. (I submit this as a bug?)
Here is the test [...]

Compiling and Using GDB

GDB is the GNU Project Debugger.
I have some errors on compiling GDB:

gdb configure error: no termcap library found.
On searching, I find this solution to install ncurses-devel.
I downloaded and extracted ncurses-devel-5.2-2.i386.rpm.html.
Normally, you can install rpm by
rpm -i –nodeps ncurses-devel-5.2-2.i386.rpm
If this fails because it requires superuser access, you can extract with rpm2cpio using
rpm2cpio ncurses-devel-5.2-2.i386.rpm > ncurses-devel-5.2-2.i386.cpio
and then [...]

FAM Non-superuser Hack

FAM is File Alteration Monitor.
Also see The Watchful Eye of FAM by Ethan McCallum.
I am trying to use it in an environment where I have no root access, and not using portmapper.
After some changes and testing, it seems to work.

Change SuperUser uid to the uid you intend to run the program with, and also SuperUser_groups [...]