Archive for October, 2008

Fedora 9 Would Cost $10.8B To Build From the Scratch – Slashdot.org

October 24, 2008

Source: http://www.slashdot.org

“The Linux Foundation’s recently released report claims, ‘… it would take approximately $10.8 billion to build the Linux community distribution Fedora 9 in today’s dollars with today’s software development costs.’ The article states why this might actually understate the value of the distros, though, since it doesn’t include the power of the brand and the goodwill value. ‘There were several approaches that the Linux Foundation employed to reach the $10.8 billion dollar figure, including calculating the number of lines of code in Fedora 9 (204,500,946), and using an average programmer’s salary of $75,662.08 — as determined by the US Department of Labor — to measure development costs … On the balance sheets of Coca Cola and many other huge corporations, you find goodwill listed as a major asset.'”

Advertisements

Arcade Project

October 24, 2008

The students of the LUX (Pós-graduate) course are working in a group project called “Arcade Project Open Source”.

The project is coordinated by Professor Murray in the subject XWN740.

The main idea of the project is to build a arcade box using only opensource tools and games.

Informations about the project can be found in the following addresses:

Ideas are very welcome……..

contact: lux2008.2009@gmail.com

Compiling the Linux Kernel

October 11, 2008

Compiling your Linux kernel allows you to customize your system and save a lot of resources (memory, cpu, etc..). Nowadays the Linux Operational System has support for everything, but I believe none of us have all of the supported hardware like for example “amateur radio”.

Then a good choice is to remove all the unnecessary modules. Removing unneeded stuff will allow you to have a smooth operational experience once your system will be so much faster just processing what is really need to be processed.

To build the kernel is necessary to have the package kernel-devel (yum install kernel-devel-`uname -r`).

#make oldconfig
Save your old configuration file in the file .config

#make mrproper

#make menuconfig
or
#make xconfig
Guide you to make the configuration file to be used in the compilation process

#make dep
Make dependencies

#make clean
Clean objects and other stuff leaved by the old kernel

After setting up all of your personal configurations, execute make compile the kernel.
#make

#make modules_install

create initial ram disk image
#mkinitrd -k vmlinuz-2.6.26 -i initrd-2.6.26

Update GRUB
#vi /boot/grub/menu.lst

#reboot

Links:
[1]http://zenit.senecac.on.ca/wiki/index.php/SYA710_Building_a_New_Kernel

Creating a RPM package for Clam Antivirus – FC9

October 5, 2008
#useradd clamav
#yum install rpmdevtools
#su - clamav
$rpmdev-setuptree

The following directory structure will be created:

            rpmbuild
     /   /      |    \      \
BUILD  RPMS  SOURCES  SPECS  SRPMS

Create a spec file in the folder ~/rpmbuild/SPECS/clam.spec. After that use rpmlint to check the spec file.

$rpmlint clam.spec

To create a src package
$rpmbuild -bs clam.spec

To create a binary file
$rpmbuild -ba clam.spec

Now if it was successful you will have a binary rpm or src.rpm in the directory:
/home/clamav/rpmbuild/RPMS/i386/clamav-0.94-1.fc9.i386.rpm

The packages are available in the following addresses:
http://matrix.senecac.on.ca/~mpaivaneto/clamav-0.94-1.fc9.i386.rpm

http://matrix.senecac.on.ca/~mpaivaneto/clamav-0.94-1.fc9.src.rpm

Links:
(1) http://fedoraproject.org/wiki/PackageMaintainers/CreatingPackageHowTo