Saturday, February 16, 2013

Apache installation error and solution

libtool: install: error: cannot install `' to a directory not ending /some_directory

Solution-  If ./config --prefix=/mydir didn't get set correctly the first time. Rerunning a failed apache make can be troublesome. You need to first do a make clean, and then retry with the correct --prefix

Saturday, February 2, 2013

Problems- upgrading Fedora 16 to 17

If you have existing Fedora 16 or greater in your system and want to upgrade to fedora 17 using "iso" image than below is the trick to add entry into fedora 16 or onward.

 Please add this entry into "/etc/grub.d/40_custom" file and run command "grub2-mkconfig".

menuentry "Fedora 17 Linux" {
        set root=(hd0,1)
        linux /boot/vmlinuz repo=hd:/dev/sda3:/
        initrd /boot/initrd.img
Some details about above entry-
vmlinuz and initrd.img files has been copied into /boot directory of F16 or above from fedora 17.dvd.iso after loop mounting.This boot partition is in /dev/sda1. Hence the entry set root=(hd0,1).

"repo=hd:/dev/sda3:/" will tell that iso image is in harddisk's partition /dev/sda3 and in root directory.You can give directory structure if image resides into some directory structure.

NOTE- Fedora 17 onward there are more simpler mechanism available.

If someone face below error after upgrading fedora 16 to 17 than here is quick resolution of these problems

==> wvdial is throwing below error.
"--> Modem initialized.
wvdial: utils/ static void WvTaskMan::_stackmaster(): Assertion `magic_number == -0x123678' failed.
Aborted (core dumped)"

please install "libwvstreams" package using yum.
yum -y update libwvstreams