Converting ext3 to ext4 filesystem

Here is a little tip which might help people to do the required thing to get the job done. As the title of this post said..will outline the procedure for that.

Here we go..


bhaskar@GentooLinux_10:50:09_Thu Mar 28:~> sudo blkid
Password:
/dev/sda1: LABEL="ARCH" UUID="9db5a364-ee86-4c57-8252-bfff8581e4b6" TYPE="ext4"
/dev/sda2: LABEL="Fedora-boot" UUID="ff94a6b0-3eee-4dc9-83e0-cbde449e93d7" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="kiCF1K-xTxV-t2Yu-CrBX-oENB-1kSn-6UY4Va" TYPE="LVM2_member"
/dev/sda5: UUID="X2MDAl-EaD9-s0kY-FbpZ-X6Wo-GowQ-yvTu1z" TYPE="LVM2_member"
/dev/sda6: LABEL="Fedora" UUID="7945ae6e-7061-4153-a5a1-ab9f60f693ae" TYPE="ext4"
/dev/sda7: UUID="61147c93-cf06-4d45-8204-b79b5b5d19a4" TYPE="swap"
/dev/sda8: LABEL="Slackware" UUID="77de30c7-fb6a-42d8-9cc3-7bd29e2cba06" TYPE="ext4"
/dev/sda9: LABEL="Gentoo" UUID="d83b45ce-ce1c-4678-9663-b884bab6f5cb" TYPE="ext4"
/dev/sda10: LABEL="Debian" UUID="1c0feb69-e586-4b2a-b774-176066a12e00" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda11: LABEL="ScientificLinux" UUID="7dedb9fe-8d77-4c93-bdbd-3297281041be" TYPE="ext4"
/dev/sda12: LABEL="openSUSE" UUID="924f28b3-8cda-4d7e-a833-c7687580e113" TYPE="ext4"
/dev/sda13: UUID="1Ke3cG-vv1Y-vgi6-Sszr-r3nz-xbQx-QzFyp1" TYPE="LVM2_member"
/dev/mapper/home-home: UUID="9fa403bf-858d-4ce2-9b5e-03bdeb2e9406" TYPE="ext3"
/dev/mapper/data-lvmdata: UUID="569e992f-3782-4689-8abf-85b59af4ba17" TYPE="ext3"
bhaskar@GentooLinux_11:58:30_Thu Mar 28:~> cat convert_to_ext4
tune2fs -O extents,uninit_bg,dir_index /dev/dev-name

For example convert /dev/sdb1 to ext4, enter:
# cd /; umount /dev/sdb1
# tune2fs -O extents,uninit_bg,dir_index /dev/sdb1
Next run fsck, enter:
# fsck -pf /dev/sdb1
a10skar@GentooLinux_11:58:38_Thu Mar 28:~> sudo tune2fs -O extents,uninit_bg,dir_index /dev/sda10
tune2fs 1.42 (29-Nov-2011)
bhaskar@GentooLinux_11:59:18_Thu Mar 28:~> fsck -pf /dev/sda10
bash: fsck: command not found
bhaskar@GentooLinux_11:59:36_Thu Mar 28:~> whereis fsck
fsck: /sbin/fsck.cramfs /sbin/fsck.minix /sbin/fsck.ext2 /sbin/fsck.ext4dev /sbin/fsck.ext4 /sbin/fsck.ext3 /sbin/fsck /usr/share/man/man8/fsck.8.bz2
bhaskar@GentooLinux_11:59:42_Thu Mar 28:~> sudo /sbin/fsck -pf /dev/sda10
fsck from util-linux 2.21.2
Debian: 261230/1220608 files (1.1% non-contiguous), 1666171/4882432 blockssudo blkid
/dev/sda1: LABEL="ARCH" UUID="9db5a364-ee86-4c57-8252-bfff8581e4b6" TYPE="ext4"
/dev/sda2: LABEL="Fedora-boot" UUID="ff94a6b0-3eee-4dc9-83e0-cbde449e93d7" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="kiCF1K-xTxV-t2Yu-CrBX-oENB-1kSn-6UY4Va" TYPE="LVM2_member"
/dev/sda5: UUID="X2MDAl-EaD9-s0kY-FbpZ-X6Wo-GowQ-yvTu1z" TYPE="LVM2_member"
/dev/sda6: LABEL="Fedora" UUID="7945ae6e-7061-4153-a5a1-ab9f60f693ae" TYPE="ext4"
/dev/sda7: UUID="61147c93-cf06-4d45-8204-b79b5b5d19a4" TYPE="swap"
/dev/sda8: LABEL="Slackware" UUID="77de30c7-fb6a-42d8-9cc3-7bd29e2cba06" TYPE="ext4"
/dev/sda9: LABEL="Gentoo" UUID="d83b45ce-ce1c-4678-9663-b884bab6f5cb" TYPE="ext4"
/dev/sda10: LABEL="Debian" UUID="1c0feb69-e586-4b2a-b774-176066a12e00" TYPE="ext4"
/dev/sda11: LABEL="ScientificLinux" UUID="7dedb9fe-8d77-4c93-bdbd-3297281041be" TYPE="ext4"
/dev/sda12: LABEL="openSUSE" UUID="924f28b3-8cda-4d7e-a833-c7687580e113" TYPE="ext4"
/dev/sda13: UUID="1Ke3cG-vv1Y-vgi6-Sszr-r3nz-xbQx-QzFyp1" TYPE="LVM2_member"
/dev/mapper/home-home: UUID="9fa403bf-858d-4ce2-9b5e-03bdeb2e9406" TYPE="ext3"
/dev/mapper/data-lvmdata: UUID="569e992f-3782-4689-8abf-85b59af4ba17" TYPE="ext3"

In the many partition I have changed the “Debian” partition from ext3 to ext4.Next time you get into that specific drive …please check the file /proc/filesystems …and it should enlist ext4 in it.

Hope this will help.

Cheers!
Bhaskar

How to add Gnome-Shell Weather Extension on Arch Linux

Easy as you like..follow the below description…if you don’t like the description below then why not look in here for your mental peace!!

WGET:


-git.tar.gzhLinux_10:40:55_Mon Nov 26:~> wget https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth
--2012-11-26 10:41:01-- https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth-git.tar.gz
Resolving aur.archlinux.org (aur.archlinux.org)... 78.46.78.247, 2a01:4f8:120:34c2::2
Connecting to aur.archlinux.org (aur.archlinux.org)|78.46.78.247|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1023 [application/x-gzip]
Saving to: ‘gnome-shell-extension-weather-neroth-git.tar.gz

100%[======================================================================================================================================================>] 1,023 --.-K/s in 0s

2012-11-26 10:41:03 (130 MB/s) - ‘gnome-shell-extension-weather-neroth-git.tar.gz’ saved [1023/1023]

UNTAR:

bhaskar@ArchLinux_10:41:03_Mon Nov 26:~> tar -xvzf gnome-shell-extension-weather-neroth-git.tar.gz
gnome-shell-extension-weather-neroth-git/
gnome-shell-extension-weather-neroth-git/PKGBUILD
gnome-shell-extension-weather-neroth-git/gschemas.install
bhaskar@ArchLinux_10:41:39_Mon Nov 26:~> cd gnome-shell-extension-weather-neroth-git
bhaskar@ArchLinux_10:41:43_Mon Nov 26:~/gnome-shell-extension-weather-neroth-git> ls
gschemas.install PKGBUILD

MakePKG:

bhaskar@ArchLinux_10:41:44_Mon Nov 26:~/gnome-shell-extension-weather-neroth-git> makepkg -si
==> Determining latest git revision...
-> Version found: 20121126
==> Making package: gnome-shell-extension-weather-neroth-git 20121126-1 (Mon Nov 26 10:41:54 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'gnome-shell-extension-weather'...
remote: Counting objects: 1795, done.
remote: Compressing objects: 100% (742/742), done.
remote: Total 1795 (delta 1246), reused 1551 (delta 1017)
Receiving objects: 100% (1795/1795), 2.30 MiB | 60 KiB/s, done.
Resolving deltas: 100% (1246/1246), done.
==> GIT checkout done or server timeout
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.69
checking for automake >= 1.9...
testing automake-1.12... found 1.12.5
checking for intltool >= 0.25...
testing intltoolize... found 0.50.2
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running intltoolize...
Running aclocal-1.12...
Running autoconf...
Running automake-1.12...
configure.ac:8: installing 'config/install-sh'
configure.ac:8: installing 'config/missing'
Running ./configure --prefix=/usr ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for intltool >= 0.26... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: executing depfiles commands
config.status: executing po/stamp-it commands
Now type `make' to compile gnome-shell-extension-weather
Making all in src
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
GEN weather-settings
GEN weather-settings.desktop
GEN metadata.json
ITMRG org.gnome.shell.extensions.weather.gschema.xml
GEN org.gnome.shell.extensions.weather.gschema.valid
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
Making all in po
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
MSGFMT ca.gmo
MSGFMT cs.gmo
MSGFMT da.gmo
MSGFMT de.gmo
MSGFMT es.gmo
MSGFMT fi.gmo
MSGFMT fr.gmo
MSGFMT he.gmo
MSGFMT it.gmo
MSGFMT ja.gmo
MSGFMT lt.gmo
MSGFMT nb.gmo
MSGFMT nl.gmo
MSGFMT pt.gmo
MSGFMT ro.gmo
MSGFMT ru.gmo
MSGFMT sk.gmo
MSGFMT sv.gmo
MSGFMT uk.gmo
MSGFMT vi.gmo
MSGFMT zh_CN.gmo
MSGFMT zh_TW.gmo
MSGFMT pl.gmo
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
make[2]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
make[2]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/applications'
/usr/bin/install -c -m 644 weather-settings.desktop '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/applications'
/usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/install -c -m 644 extension.js stylesheet.css weather-settings.ui '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/install -c -m 644 metadata.json '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/install -c weather-settings '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
if test -n "org.gnome.shell.extensions.weather.gschema.xml"; then \
test -z "/usr/share/glib-2.0/schemas" || /usr/bin/mkdir -p "/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/glib-2.0/schemas"; \
/usr/bin/install -c -m 644 org.gnome.shell.extensions.weather.gschema.xml "/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/glib-2.0/schemas"; \
test -n "/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg" || glib-compile-schemas /usr/share/glib-2.0/schemas; \
fi
make[2]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
Making install in po
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
linguas="ca cs da de es fi fr he it ja lt nb nl pt ro ru sk sv uk vi zh_CN zh_TW pl "; \
for lang in $linguas; do \
dir=/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/$lang/LC_MESSAGES; \
/bin/sh /home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/config/install-sh -d $dir; \
if test -r $lang.gmo; then \
/usr/bin/install -c -m 644 $lang.gmo $dir/gnome-shell-extension-weather.mo; \
echo "installing $lang.gmo as $dir/gnome-shell-extension-weather.mo"; \
else \
/usr/bin/install -c -m 644 ./$lang.gmo $dir/gnome-shell-extension-weather.mo; \
echo "installing ./$lang.gmo as" \
"$dir/gnome-shell-extension-weather.mo"; \
fi; \
if test -r $lang.gmo.m; then \
/usr/bin/install -c -m 644 $lang.gmo.m $dir/gnome-shell-extension-weather.mo.m; \
echo "installing $lang.gmo.m as $dir/gnome-shell-extension-weather.mo.m"; \
else \
if test -r ./$lang.gmo.m ; then \
/usr/bin/install -c -m 644 ./$lang.gmo.m \
$dir/gnome-shell-extension-weather.mo.m; \
echo "installing ./$lang.gmo.m as" \
"$dir/gnome-shell-extension-weather.mo.m"; \
else \
true; \
fi; \
fi; \
done
installing ca.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ca/LC_MESSAGES/gnome-shell-extension-weather.mo
installing cs.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/cs/LC_MESSAGES/gnome-shell-extension-weather.mo
installing da.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/da/LC_MESSAGES/gnome-shell-extension-weather.mo
installing de.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/de/LC_MESSAGES/gnome-shell-extension-weather.mo
installing es.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/es/LC_MESSAGES/gnome-shell-extension-weather.mo
installing fi.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/fi/LC_MESSAGES/gnome-shell-extension-weather.mo
installing fr.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/fr/LC_MESSAGES/gnome-shell-extension-weather.mo
installing he.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/he/LC_MESSAGES/gnome-shell-extension-weather.mo
installing it.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/it/LC_MESSAGES/gnome-shell-extension-weather.mo
installing ja.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ja/LC_MESSAGES/gnome-shell-extension-weather.mo
installing lt.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/lt/LC_MESSAGES/gnome-shell-extension-weather.mo
installing nb.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/nb/LC_MESSAGES/gnome-shell-extension-weather.mo
installing nl.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/nl/LC_MESSAGES/gnome-shell-extension-weather.mo
installing pt.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/pt/LC_MESSAGES/gnome-shell-extension-weather.mo
installing ro.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ro/LC_MESSAGES/gnome-shell-extension-weather.mo
installing ru.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ru/LC_MESSAGES/gnome-shell-extension-weather.mo
installing sk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sk/LC_MESSAGES/gnome-shell-extension-weather.mo
installing sv.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sv/LC_MESSAGES/gnome-shell-extension-weather.mo
installing uk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/uk/LC_MESSAGES/gnome-shell-extension-weather.mo
installing vi.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/vi/LC_MESSAGES/gnome-shell-extension-weather.mo
installing zh_CN.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_CN/LC_MESSAGES/gnome-shell-extension-weather.mo
installing zh_TW.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_TW/LC_MESSAGES/gnome-shell-extension-weather.mo
installing pl.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/pl/LC_MESSAGES/gnome-shell-extension-weather.mo
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[2]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: gnome-shell-extension-weather-neroth-git 20121126-1 (Mon Nov 26 10:43:30 IST 2012)
==> Installing package gnome-shell-extension-weather-neroth-git with pacman -U...
[sudo] password for bhaskar:
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): gnome-shell-extension-weather-neroth-git-20121126-1

Total Installed Size: 0.44 MiB
Net Upgrade Size: 0.02 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) upgrading gnome-shell-extension-weather-neroth-git [#####################################################################] 100%

Just restart GNOME Shell ([Alt]+[F2], r).
What new ?
* Number localization
* Forcast temp modification
* Add a submenu for choose locations
* Add Beaufort scale + kPa unit
* Fix bug (delete all locations bug)
For more informations, see https://github.com/Neroth/gnome-shell-extension-weather.

bhaskar@ArchLinux_10:43:55_Mon Nov 26:~/gnome-shell-extension-weather-neroth-git> cd ~
bhaskar@ArchLinux_10:44:05_Mon Nov 26:~>
[ ArchLinux ][ 0-$ bash (1*$ bash) ][0.42 0.46 0.51][ 11/26 10:44 ]
installing sk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sk/LC_MESSAGES/gnome-shell-extension-weather.mo
installing sv.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sv/LC_MESSAGES/gnome-shell-extension-weather.mo
installing uk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/uk/LC_MESSAGES/gnome-shell-extension-weather.mo
installing vi.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/vi/LC_MESSAGES/gnome-shell-extension-weather.mo
installing zh_CN.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_CN/LC_MESSAGES/gnome-shell-extension-weather.mo
installing zh_TW.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_TW/LC_MESSAGES/gnome-shell-extension-weather.mo
installing pl.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/pl/LC_MESSAGES/gnome-shell-extension-weather.mo
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[2]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: gnome-shell-extension-weather-neroth-git 20121126-1 (Mon Nov 26 10:43:30 IST 2012)
==> Installing package gnome-shell-extension-weather-neroth-git with pacman -U...
[sudo] password for bhaskar:
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): gnome-shell-extension-weather-neroth-git-20121126-1

Total Installed Size: 0.44 MiB
Net Upgrade Size: 0.02 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) upgrading gnome-shell-extension-weather-neroth-git [#####################################################################] 100%

Just restart GNOME Shell ([Alt]+[F2], r).
What new ?
* Number localization
* Forcast temp modification
* Add a submenu for choose locations
* Add Beaufort scale + kPa unit
* Fix bug (delete all locations bug)
For more informations, see https://github.com/Neroth/gnome-shell-extension-weather.

Hope this will help.

Cheers!
Bhaskar

Version check for important software build tool

Here is a small script , which will scan the system for important development tools for their version check.Simple and mundane.


#!/bin/bash
export LC_ALL=C

# Simple script to list version numbers of critical development tools

bash --version | head -n1 | cut -d" " -f2-4
echo "/bin/sh -> `readlink -f /bin/sh`"
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
bison --version | head -n1
if [ -e /usr/bin/yacc ];
then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";
else echo "yacc not found"; fi
bzip2 --version 2>&1 `readlink -f /usr/bin/awk`";
else echo "awk not found"; fi
gcc --version | head -n1
/lib/libc.so.6 | head -n1 | cut -d"," -f1
grep --version | head -n1
gzip --version | head -n1
cat /proc/version
m4 --version | head -n1
make --version | head -n1
patch --version | head -n1
echo Perl `perl -V:version`
sed --version | head -n1
tar --version | head -n1
echo "Texinfo: `makeinfo --version | head -n1`"
echo 'main(){}' > dummy.c && gcc -o dummy dummy.c
if [ -x dummy ]; then echo "Compilation OK";
else echo "Compilation failed"; fi
rm -f dummy.c dummy

Running this script on my laptop shown the below output( I am on Slackware 13.37):


bhaskar@Slackware_12:18:38_Thu Aug 23:/lvm/Adm_scripts> sudo ./version-check.sh
bash, version 4.1.10(2)-release
/bin/sh -> /bin/bash
Binutils: (Linux/GNU Binutils) 2.21.51.0.6.20110118
bison (GNU Bison) 2.4.3
/usr/bin/yacc -> /usr/bin/yacc
bzip2, Version 1.0.6, 6-Sept-2010.
Coreutils: 8.15
diff (GNU diffutils) 3.0
find (GNU findutils) 4.4.2
GNU Awk 3.1.8
/usr/bin/awk -> /bin/gawk-3.1.8
gcc (GCC) 4.5.2
GNU C Library stable release version 2.13
grep (GNU grep) 2.7
gzip 1.4
Linux version 2.6.37.6-smp (root@midas) (gcc version 4.5.2 (GCC) ) #2 SMP Sat Apr 9 23:39:07 CDT 2011
m4 (GNU M4) 1.4.16
GNU Make 3.82
patch 2.6.1
Perl version='5.12.3';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
Compilation OK

You can customize it to include more.Hope this will help.

Cheers!
Bhaskar

Implementing Qemu-Kvm on Slackware-13.37

In this article I will show you how you can integrate qemu-kvm into the Slackware OS and utilise it to get other OS up.So, fasten you seat belt for the ride..it might be little bumpy..but we will take it…

Step 1: Get the required source from this site

So, I went ahead and get the required source mentioned in the above mentioned site.

Step 2: Untar it

bhaskar@Slackware_19:26:23_Wed Jun 06:~/Downloads> tar -xvzf qemu-kvm\(1\).tar.gz
qemu-kvm/
qemu-kvm/slack-desc
qemu-kvm/patches/
qemu-kvm/patches/deprecate-time-drift-fix.patch
qemu-kvm/patches/fixup_udev_rules.patch
qemu-kvm/README
qemu-kvm/qemu-kvm.info
qemu-kvm/qemu-kvm.SlackBuild

Step 3: Put the actual source into the previously inflated dir..the execution script look for it in that dir

bhaskar@Slackware_19:26:58_Wed Jun 06:~/Downloads> mv -v qemu-kvm-1.0.1.tar.gz ~/Downloads/qemu-kvm/
`qemu-kvm-1.0.1.tar.gz' -> `/home/bhaskar/Downloads/qemu-kvm/qemu-kvm-1.0.1.tar.gz'

Step 4:Get into the Step 2 inflated dir and execute this script qemu-kvm.SlackBuild

bhaskar@Slackware_19:38:23_Wed Jun 06:~/Downloads/qemu-kvm> sudo ./qemu-kvm.SlackBuild
....
....
....
usr/share/qemu/pxe-eepro100.rom
usr/share/qemu/vgabios-cirrus.bin
usr/share/qemu/linuxboot.bin
usr/share/qemu/vgabios.bin
usr/share/qemu/openbios-sparc32
usr/bin/
usr/bin/qemu-nbd
usr/bin/kvm_stat
usr/bin/qemu-img
usr/bin/qemu-kvm
usr/bin/qemu-io
usr/bin/qemu-ga
etc/
etc/qemu/
etc/qemu/target-x86_64.conf

Slackware package /tmp/qemu-kvm-1.0.1-i486-1_SBo.tgz created.

Step 5: Now get that source implemented into the system by below methods

root@Slackware:/tmp# installpkg qemu-kvm-1.0.1-i486-1_SBo.tgz
Verifying package qemu-kvm-1.0.1-i486-1_SBo.tgz.
Installing package qemu-kvm-1.0.1-i486-1_SBo.tgz:
PACKAGE DESCRIPTION:
# qemu-kvm (Stable branch - KVM requires QEMU)
#
# KVM (Kernel-based Virtual Machine) is a full virtualization solution
# for Linux on x86 hardware containing virtualization extensions
# (Intel VT or AMD-V).
#
# KVM is divided into the KVM-KMOD package (kernel modules) and the
# QEMU-KVM package (slightly modified QEMU) which are both available
# as separate Slackbuilds.
#
Package qemu-kvm-1.0.1-i486-1_SBo.tgz installed.

Step 6: Now time to test it out!

bhaskar@Slackware_19:44:08_Wed Jun 06:~> sudo /sbin/modprobe kvm
bhaskar@Slackware_19:44:21_Wed Jun 06:~> sudo /sbin/modprobe kvm_intel
bhaskar@Slackware_19:44:25_Wed Jun 06:~> whereis lsmod
lsmod: /bin/lsmod /sbin/lsmod /usr/man/man8/lsmod.8.gz /usr/share/man/man8/lsmod.8.gz /usr/X11/man/man8/lsmod.8.gz
bhaskar@Slackware_19:44:32_Wed Jun 06:~> sudo /bin/lsmod | grep kvm
kvm_intel 41712 0
kvm 283908 1 kvm_intel

Step 7: Run against a ISO file of OS

bhaskar@Slackware_20:08:41_Wed Jun 06:~/Downloads> /usr/bin/qemu-kvm -enable-kvm -cdrom /home/bhaskar/Downloads/BT5-GNOME-32.iso

and the outcome is below:

Hope this will help.

Cheers!
Bhaskar

How to manually install LibreOffice on Scientific Linux

So, Once I downloaded the tar file from this link LibreOffice , it is 150MB of size.

Fine, next I got into downloaded dir and untar it ..then get into the inflated dir like this :


bhaskar@Scientific-Linux_18:48:52_Mon Apr 09:~/Downloads> tar -xvzf LibO_3.5.2_Linux_x86_install-rpm_en-US.tar.gz
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.5-freedesktop-menus-3.5-202.noarch.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.5-mandriva-menus-3.5-202.noarch.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.5-suse-menus-3.5-202.noarch.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-kde-integration-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-gnome-integration-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core01-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-math-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-python-script-provider-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-calc-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-base-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-binfilter-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-res-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-dict-fr-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core05-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-ogltrans-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-dict-es-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-writer-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-draw-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-presentation-minimizer-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core02-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core06-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-calc-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-en-US-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-stdlibs-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-mediawiki-publisher-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-javascript-script-provider-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-math-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-impress-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-writer-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-images-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-draw-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-report-builder-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-base-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-pyuno-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core04-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-beanshell-script-provider-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-math-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-dict-en-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-base-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core07-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-writer-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-impress-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-postgresql-sdbc-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-ooolinguistic-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-presenter-screen-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-ooofonts-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-nlpsolver-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-xsltfilter-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-graphicfilter-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-calc-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core03-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-ure-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-onlineupdate-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-pdf-import-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-javafilter-3.5.2-202.i586.rpm
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/readmes/
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/readmes/README_en-US

Now it’s pretty simple to install all the rpm’s at once like below:


bhaskar@Scientific-Linux_18:51:02_Mon Apr 09:~/Downloads/LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS> sudo rpm -ivh *.rpm
Preparing... ########################################### [100%]
1:libreoffice3.5-ure ########################################### [ 2%]
2:libobasis3.5-core01 ########################################### [ 4%]
3:libobasis3.5-core02 ########################################### [ 6%]
4:libobasis3.5-core03 ########################################### [ 7%]
5:libobasis3.5-core04 ########################################### [ 9%]
6:libobasis3.5-core05 ########################################### [ 11%]
7:libobasis3.5-core06 ########################################### [ 13%]
8:libobasis3.5-core07 ########################################### [ 15%]
9:libobasis3.5-en-US ########################################### [ 17%]
10:libobasis3.5-base ########################################### [ 19%]
11:libobasis3.5-impress ########################################### [ 20%]
12:libobasis3.5-en-US-base########################################### [ 22%]
13:libobasis3.5-en-US-calc########################################### [ 24%]
14:libobasis3.5-en-US-math########################################### [ 26%]
15:libobasis3.5-en-US-res ########################################### [ 28%]
16:libobasis3.5-en-US-writ########################################### [ 30%]
17:libobasis3.5-calc ########################################### [ 31%]
18:libobasis3.5-draw ########################################### [ 33%]
19:libobasis3.5-images ########################################### [ 35%]
20:libreoffice3.5 ########################################### [ 37%]
21:libobasis3.5-math ########################################### [ 39%]
22:libobasis3.5-writer ########################################### [ 41%]
23:libreoffice3.5-writer ########################################### [ 43%]
24:libreoffice3.5-math ########################################### [ 44%]
25:libreoffice3.5-base ########################################### [ 46%]
26:libreoffice3.5-calc ########################################### [ 48%]
27:libreoffice3.5-dict-en ########################################### [ 50%]
SUCCESS: unopkg returns successful!
28:libreoffice3.5-dict-es ########################################### [ 52%]
SUCCESS: unopkg returns successful!
29:libreoffice3.5-dict-fr ########################################### [ 54%]
SUCCESS: unopkg returns successful!
30:libreoffice3.5-draw ########################################### [ 56%]
31:libreoffice3.5-en-US ########################################### [ 57%]
32:libreoffice3.5-impress ########################################### [ 59%]
33:libobasis3.5-ogltrans ########################################### [ 61%]
34:libobasis3.5-postgresql########################################### [ 63%]
35:libobasis3.5-extension-########################################### [ 65%]
36:libobasis3.5-extension-########################################### [ 67%]
37:libobasis3.5-extension-########################################### [ 69%]
38:libobasis3.5-extension-########################################### [ 70%]
39:libobasis3.5-extension-########################################### [ 72%]
40:libobasis3.5-extension-########################################### [ 74%]
41:libobasis3.5-extension-########################################### [ 76%]
42:libobasis3.5-extension-########################################### [ 78%]
43:libobasis3.5-extension-########################################### [ 80%]
44:libobasis3.5-binfilter ########################################### [ 81%]
45:libobasis3.5-gnome-inte########################################### [ 83%]
46:libobasis3.5-graphicfil########################################### [ 85%]
47:libobasis3.5-javafilter########################################### [ 87%]
48:libobasis3.5-kde-integr########################################### [ 89%]
49:libobasis3.5-onlineupda########################################### [ 91%]
50:libobasis3.5-ooofonts ########################################### [ 93%]
51:libobasis3.5-ooolinguis########################################### [ 94%]
52:libobasis3.5-pyuno ########################################### [ 96%]
53:libobasis3.5-xsltfilter########################################### [ 98%]
54:libreoffice3.5-stdlibs ########################################### [100%]

But wait…I am not able to see the menu’s..okay there is directory inside the inflated dir called ” desktop-integration” and then get into that .

Next , only install the freedesktop rpm…which will eventually install the menus into the system.BTW while doing this you might come across those errors..I safely ignore those and it works..it might not be the case for you.


bhaskar@Scientific-Linux_18:53:54_Mon Apr 09:~/Downloads/LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration> sudo rpm -ivh libreoffice3.5-freedesktop-menus-3.5-202.noarch.rpm
Preparing... ########################################### [100%]
1:libreoffice3.5-freedesk########################################### [100%]
/usr/bin/update-desktop-database
/usr/bin/update-mime-database
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

mkdir: cannot create directory `/usr/share/icons/hicolor/icon-theme.cache': Not a directory
mkdir: cannot create directory `/usr/share/icons/hicolor/index.theme': Not a directory
/usr/bin/gtk-update-icon-cache
/usr/bin/gtk-update-icon-cache
/usr/bin/update-desktop-database
/usr/bin/update-desktop-database

That’s all!!

Hope this will help.

Cheers!
Bhaskar

Installing Cinnamon desktop on Arch Linux

So what’s the big deal!! I have had a look at the ArchWiki and it says very little about the detail procedure..so I have tried to show the detail thing in this post to get thing going 🙂

So here we go :


step 1 :
bhaskar@ArchLinux_11:39:10_Thu Feb 23:~/Downloads> cd cinnamon

bhaskar@ArchLinux_11:39:14_Thu Feb 23:~/Downloads/cinnamon> ls
cinnamon.install cinnamon.session cinnamon.xsession gnome-session-cinnamon PKGBUILD

bhaskar@ArchLinux_11:39:15_Thu Feb 23:~/Downloads/cinnamon> makepkg -s
==> Making package: cinnamon 1.3.1-1 (Thu Feb 23 11:39:22 IST 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: muffin-git
==> ERROR: 'pacman' failed to install missing dependencies.

bhaskar@ArchLinux_11:40:08_Thu Feb 23:~/Downloads/cinnamon> cd ..

bhaskar@ArchLinux_11:41:30_Thu Feb 23:~/Downloads> tar -xvzf muffin-git.tar.gz
muffin-git/
muffin-git/muffin.install
muffin-git/PKGBUILD

bhaskar@ArchLinux_11:41:37_Thu Feb 23:~/Downloads> cd muffin-git

bhaskar@ArchLinux_11:41:39_Thu Feb 23:~/Downloads/muffin-git> ls
muffin.install PKGBUILD

bhaskar@ArchLinux_11:41:40_Thu Feb 23:~/Downloads/muffin-git> makepkg -s
==> Determining latest git revision...
-> Version found: 20120223
==> Making package: muffin-git 20120223-1 (Thu Feb 23 11:41:45 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (2): gnome-doc-utils-0.20.6-1 intltool-0.50.1-1

Total Download Size: 0.33 MiB
Total Installed Size: 4.01 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
intltool-0.50.1-1-any 38.1 KiB 42.7K/s 00:01 [#####################################################################] 100%
gnome-doc-utils-0.20.6-1-any 298.8 KiB 206K/s 00:01 [#####################################################################] 100%
(2/2) checking package integrity [#####################################################################] 100%
(2/2) loading package files [#####################################################################] 100%
(2/2) checking for file conflicts [#####################################################################] 100%
(2/2) checking available disk space [#####################################################################] 100%
(1/2) installing intltool [#####################################################################] 100%
(2/2) installing gnome-doc-utils [#####################################################################] 100%
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'muffin'...
remote: Counting objects: 511, done.
remote: Compressing objects: 100% (360/360), done.
remote: Total 511 (delta 230), reused 424 (delta 143)
Receiving objects: 100% (511/511), 2.68 MiB | 127 KiB/s, done.
Resolving deltas: 100% (230/230), done.
==> GIT checkout done or server timeout
==> Starting build...
Cloning into '/home/bhaskar/Downloads/muffin-git/src/muffin-build'...
done.
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
src/Makefile.am:233: filter %.c,$(libmuffin_la_SOURCES: non-POSIX variable name
src/Makefile.am:233: (probably a GNU make extension)
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
.......

.....

==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
-> Removing libtool files...
-> Removing empty directories...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: muffin-git 20120223-1 (Thu Feb 23 11:43:51 IST 2012)

Step 2:

bhaskar@ArchLinux_11:46:02_Thu Feb 23:~/Downloads/muffin-git> sudo pacman -U muffin-git-20120223-1-i686.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): muffin-git-20120223-1

Total Installed Size: 7.35 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing muffin-git [#####################################################################] 100

Step 3:

bhaskar@ArchLinux_11:47:03_Thu Feb 23:~/Downloads/cinnamon> makepkg -s
==> Making package: cinnamon 1.3.1-1 (Thu Feb 23 11:47:08 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (1): gnome-common-2.34.0-1

Total Download Size: 0.01 MiB
Total Installed Size: 0.04 MiB

Proceed with installation? [Y/n]

y
:: Retrieving packages from extra...
gnome-common-2.34.0-1-any 8.4 KiB 42.5K/s 00:00 [#####################################################################] 100%
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing gnome-common [#####################################################################] 100%
==> Retrieving Sources...
-> Found cinnamon.session
-> Found cinnamon.xsession
-> Found gnome-session-cinnamon
==> Validating source files with md5sums...
cinnamon.session ... Passed
cinnamon.xsession ... Passed
gnome-session-cinnamon ... Passed
==> Extracting Sources...
==> Starting build()...
--2012-02-23 11:47:42-- https://github.com/linuxmint/Cinnamon/tarball/1.3.1
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://nodeload.github.com/linuxmint/Cinnamon/tarball/1.3.1 [following]
--2012-02-23 11:47:43-- https://nodeload.github.com/linuxmint/Cinnamon/tarball/1.3.1
Resolving nodeload.github.com... 207.97.227.252
Connecting to nodeload.github.com|207.97.227.252|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2401810 (2.3M) [application/octet-stream]
Saving to: `cinnamon.tar.gz'

==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
-> Removing libtool files...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cinnamon 1.3.1-1 (Thu Feb 23 11:49:29 IST 2012)

Step 4:

bhaskar@ArchLinux_11:50:43_Thu Feb 23:~/Downloads/cinnamon> sudo pacman -U cinnamon-1.3.1-1-i686.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): cinnamon-1.3.1-1

Total Installed Size: 6.08 MiB

Proceed with installation? [Y/n] y

(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing cinnamon [#####################################################################] 100%
To abilitate Cinnamon you can also assign to session-name
key in org.gnome.desktop.session the value cinnamon

Step 5:

bhaskar@ArchLinux_11:55:03_Thu Feb 23:~/Downloads> tar -xvzf cinnamon-extensions-git.tar.gz
cinnamon-extensions-git/
cinnamon-extensions-git/cinnamon-weather-config.desktop
cinnamon-extensions-git/PKGBUILD
cinnamon-extensions-git/cinnamon-extensions-git.install

bhaskar@ArchLinux_11:55:13_Thu Feb 23:~/Downloads> cd cinnamon-extensions-git

bhaskar@ArchLinux_11:55:18_Thu Feb 23:~/Downloads/cinnamon-extensions-git> ls
cinnamon-extensions-git.install cinnamon-weather-config.desktop PKGBUILD

bhaskar@ArchLinux_11:55:20_Thu Feb 23:~/Downloads/cinnamon-extensions-git> makepkg -s
==> Determining latest git revision...
-> Version found: 20120223
==> Making package: cinnamon-extensions-git 20120223-1 (Thu Feb 23 11:55:25 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found cinnamon-weather-config.desktop
==> Validating source files with md5sums...
cinnamon-weather-config.desktop ... Passed
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'cinnamon-extensions'...
remote: Counting objects: 98, done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 98 (delta 23), reused 98 (delta 23)
Receiving objects: 100% (98/98), 27.34 KiB, done.
Resolving deltas: 100% (23/23), done.
==> GIT checkout done or server timeout
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cinnamon-extensions-git 20120223-1 (Thu Feb 23 11:55:31 IST 2012)

Step 6:

bhaskar@ArchLinux_11:56:04_Thu Feb 23:~/Downloads/cinnamon-extensions-git> sudo pacman -U cinnamon-extensions-git-20120223-1-any.pkg.tar.xz
Password:
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): cinnamon-extensions-git-20120223-1

Total Installed Size: 0.16 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing cinnamon-extensions-git [#####################################################################] 100%

Step 7:

bhaskar@ArchLinux_11:57:22_Thu Feb 23:~/Downloads/cinnamon-themes-git> makepkg -s
==> Determining latest git revision...
-> Version found: 20120223
==> Making package: cinnamon-themes-git 20120223-1 (Thu Feb 23 11:57:27 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'cinnamon-themes'...
remote: Counting objects: 629, done.
remote: Compressing objects: 100% (440/440), done.
remote: Total 629 (delta 205), reused 588 (delta 164)
Receiving objects: 100% (629/629), 12.80 MiB | 196 KiB/s, done.
Resolving deltas: 100% (205/205), done.
==> GIT checkout done or server timeout
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cinnamon-themes-git 20120223-1 (Thu Feb 23 11:59:08 IST 2012)

Step 8:

bhaskar@ArchLinux_11:59:51_Thu Feb 23:~/Downloads/cinnamon-themes-git> sudo pacman -U cinnamon-themes-git-20120223-1-any.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): cinnamon-themes-git-20120223-1

Total Installed Size: 18.32 MiB

Proceed with installation? [Y/n] y

(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing cinnamon-themes-git [#####################################################################] 100%

Now it’s look like below:

Hope this will help.

Cheers!
Bhaskar

Installing Drupal in Gentoo

So,I have stumbled over a page here ,which basically suggest that the installation was problematic. So I decided to plunge into it to have a crack on it.

My Gentoo system has prohibit me too..here are the interaction with my system:

bhaskar@GentooLinux_13:41:15_Thu Feb 09:~> sudo emerge -av drupal

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "drupal" have been masked.
!!! One of the following masked packages is required to complete your request:
dev-lang/php pdo gd mysql mysqli xml
- www-apps/drupal-7.12::gentoo (masked by: ~x86 keyword)
- www-apps/drupal-7.10::gentoo (masked by: ~x86 keyword)
- www-apps/drupal-6.24::gentoo (masked by: ~x86 keyword)
- www-apps/drupal-6.22::gentoo (masked by: ~x86 keyword)
- www-apps/drupal-5.23::gentoo (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


bhaskar@GentooLinux_13:41:39_Thu Feb 09:~> sudo vim /etc/portage/package.keywords/druapl.keywords


bhaskar@GentooLinux_13:44:54_Thu Feb 09:~> sudo emerge -av drupal

These are the packages that would be merged, in order:
dev-lang/php pdo gd mysql mysqli xml apache2

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/php[pdo,postgres?,sqlite?,xml]".
!!! One of the following packages is required to complete your request:
- dev-lang/php-5.3.9::gentoo (Change USE: +pdo)
(dependency required by "www-apps/drupal-7.12" [ebuild])
(dependency required by "drupal" [argument])


bhaskar@GentooLinux_14:02:29_Thu Feb 09:~> sudo vim /etc/portage/package.use/php.use


bhaskar@GentooLinux_14:04:01_Thu Feb 09:~> sudo emerge -av drupal

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "=dev-lang/php-5.3*[apache2]".
!!! One of the following packages is required to complete your request:
- dev-lang/php-5.3.9::gentoo (Change USE: +apache2)
(dependency required by "virtual/httpd-php-5.3" [ebuild])
(dependency required by "www-apps/drupal-7.12" [ebuild])
(dependency required by "drupal" [argument])


bhaskar@GentooLinux_14:04:27_Thu Feb 09:~> sudo emerge -av drupal

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-libs/oniguruma-5.9.2 528 kB
[ebuild N ] app-admin/webapp-config-1.50.16-r1 102 kB
[ebuild N ] dev-libs/libmcrypt-2.5.8-r2 1,304 kB
[ebuild N ] app-admin/eselect-php-0.6.2 2 kB
[ebuild N ] media-libs/t1lib-5.1.2 USE="X -doc -static-libs" 1,829 kB
[ebuild N ] virtual/httpd-cgi-0 0 kB
[ebuild N ] app-text/aspell-0.60.6.1 USE="nls" LINGUAS="-af -be -bg -br -ca -cs -cy -da -de -el -en -eo -es -et -fi -fo -fr -ga -gl -he -hr -is -it -la -lt -nl -no -pl -pt -pt_BR -ro -ru -sk -sl -sr -sv -uk -vi" 1,835 kB
[ebuild N ] app-dicts/aspell-en-6.0.0 179 kB
[ebuild N ] dev-lang/php-5.3.9 USE="apache2 berkdb bzip2 cli crypt ctype exif fileinfo filter gd gdbm hash iconv ipv6 json ldap mysql mysqli nls pdo phar posix readline session simplexml spell ssl tokenizer truetype unicode xml zlib -bcmath -calendar -cdb -cgi -cjk -curl -curlwrappers -debug -doc -embed -enchant -firebird -flatfile -fpm -frontbase -ftp -gmp -imap -inifile -intl -iodbc -kerberos -kolab -ldap-sasl -libedit -mhash -mssql -mysqlnd -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sharedmem -snmp -soap -sockets -sqlite -sqlite3 -suhosin -sybase-ct -sysvipc -threads -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip" 11,438 kB
[ebuild N ] virtual/httpd-php-5.3 0 kB
[ebuild N ~] www-apps/drupal-7.12 USE="mysql -postgres -sqlite -vhosts" 3,017 kB

Total: 11 packages (11 new), Size of downloads: 20,229 kB

Would you like to merge these packages? [Yes/No] y

On the process to get it into my system I have added it keywords file and made some flags to add with the php .

First I have added a file drupal.keywords in /etc/portage/package.keywords and the content of the file look like this :


www-apps/drupal ~x86
~

Then, I have added another file as php.use in /etc/portage/package.use and the content of the file is like this :


dev-lang/php pdo gd mysql mysqli xml apache2

Look at the flags I have added to emerge php to integrate with others.Then I started to emerge the drupal.

Once the emerge complete; it look like below:

* Messages for package dev-lang/php-5.3.9:

* Installing php.ini for cli into /etc/php/cli-php5.3
*
* Installing php.ini for apache2 into /etc/php/apache2-php5.3
*
* Make sure that PHP_TARGETS in /etc/make.conf includes php5-3 in order
* to compile extensions for the 5.3 ABI
*
*
* This ebuild installed a version of php.ini based on php.ini-development version.
* You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either
* 'production' or 'development' in /etc/make.conf
* Both versions of php.ini can be found in /usr/share/doc/php-5.3.9
*
* For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:
* http://www.gentoo.org/proj/en/php/php-upgrading.xml
*

* Messages for package www-apps/drupal-7.12:

* (server owned) htdocs/files
* (server owned) htdocs/sites/default
* (server owned) htdocs/sites/default/settings.php
* (config) htdocs/sites/default/settings.php
* (config) htdocs/.htaccess
* (info) /usr/portage/www-apps/drupal/files/postinstall-en.txt (lang: en)
*
* SECURITY NOTICE
* If you plan on using SSL on your Drupal site, please consult the postinstall information:
* # webapp-config --show-postinst drupal 7.12
*
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* Regenerating GNU info directory index...
* Processed 135 info files.

Now we need put the required thing right place like below is way to do it:

bhaskar@GentooLinux_14:52:16_Thu Feb 09:~> sudo webapp-config -I -h GentooLinux.localdomain drupal 7.12
*
* You may be installing into the website's root directory.
* Is this what you meant to do?
*
* Creating required directories
* Linking in required files
* This can take several minutes for larger apps
* Files and directories installed

=================================================================
POST-INSTALL INSTRUCTIONS
=================================================================

You will need to provide a database for your drupal installation.

This assumes you have some knowledge of MySQL, and already have it
installed and configured. If not, please refer to the Gentoo MySQL
guide at the following URL:

http://www.gentoo.org/doc/en/mysql-howto.xml

Once you have a database ready all you need to do is to go to this
location

http://GentooLinux.localdomain//

and provide the credential required for the database access.

SECURITY NOTICE: If you use SSL on your Drupal installation, you
should enable the PHP configuration option 'session.cookie-secure'
to make it harder for attackers to sniff session cookies.

References:
CVE-2008-3661
http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure
http://drupal.org/node/315703

After that you can start to use drupal.

=================================================================

* Install completed - success

So, what left? the database..lets do it:


bhaskar@GentooLinux_15:05:43_Thu Feb 09:~> sudo mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.61-log Gentoo Linux mysql-5.1.61

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| test |
+--------------------+
3 rows in set (0.02 sec)

mysql> create database drupal;
Query OK, 1 row affected (0.00 sec)

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| drupal |
| mysql |
| test |
+--------------------+
4 rows in set (0.00 sec)

mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> INSERT INTO user (host, user, password, select_priv, insert_priv, update_priv) VALUES ('GentooLinux', 'drupal', PASSWORD('drupal'), 'Y', 'Y', 'Y');
Query OK, 1 row affected, 3 warnings (0.00 sec)

mysql> use drupal;
Database changed
mysql>
mysql> GRANT ALL PRIVILEGES ON drupal.* TO drupal@'%' IDENTIFIED BY 'drupal';
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH privileges;
Query OK, 0 rows affected (0.00 sec)

We are almost there!! let’s get into the browser for installation:

Now let’s get into the CMS:

Installing Drupal shell a.k.a drush

bhaskar@GentooLinux_20:30:51_Thu Feb 09:~> sudo emerge -av drush
Password:

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "drush" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-admin/drush-4.4::gentoo (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Hmmm.. problem..let add the keyword file into the system:

bhaskar@GentooLinux_20:31:04_Thu Feb 09:~> sudo vim /etc/portage/package.keywords/drush.keywords

and the content is this :

app-admin/drush ~x86

Let’s try to merge it into the system:


bhaskar@GentooLinux_20:35:49_Thu Feb 09:~> sudo emerge -av drush

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-php/PEAR-PEAR-1.9.3 289 kB
[ebuild N ] dev-php/PEAR-Structures_Graph-1.0.4 30 kB
[ebuild N ] dev-php/PEAR-Console_Getopt-1.3.1 5 kB
[ebuild N ] dev-php/PEAR-Archive_Tar-1.3.7 18 kB
[ebuild N ] dev-php/PEAR-XML_Util-1.2.1-r2 18 kB
[ebuild N ] dev-php/pear-1.9.3 0 kB
[ebuild N ~] app-admin/drush-4.4 USE="-examples" 248 kB

Total: 7 packages (7 new), Size of downloads: 605 kB

Would you like to merge these packages? [Yes/No] yes

So it installed in the system:

bhaskar@GentooLinux_20:39:15_Thu Feb 09:~> whereis drush
drush: /usr/bin/drush /usr/share/drush

For using drush from the command line look here for my earlier post about it.

Hope this will help.

Cheers!
Bhaskar