Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0

configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. Try the –with-gmp, –with-mpfr and/or –with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at See also for additional info. If you obtained GMP, MPFR and/or MPC from

Installing Maven 3.3.3 on Ubuntu 14

I am upgrading from 2.4 to 3.3.3 Pre-requisite: JDK 1.5 or above, JAVA_HOME set in environment variable Step 1) Download Maven-3.3.3 binary from a repository using the wget command. wget Step 2) Untar the downloaded binary. tar -zxf apache-maven-3.3.3-bin.tar.gz Step 3) Move the application directory to /usr/local sudo cp -R apache-maven-3.3.3 /usr/local Step 4)

Add colors to git command output

Instead of seeing a plain output after a git command we can have the display in color. like when we execute git status to view changed or new files we can view each segment in colored way: or for when we execute git diff a_modified_file_name it is better to view deleted lines in red (-)

Common useful git commands

To go to last state after a conflicted merge: git reset –merge ORIG_HEAD To know the current active branch git branch this command show all branches available on local and highlights the active one. To know all available branch git branch -a

png background issue in ie

Sometimes we find png image is now showing properly on IE. i.e its transparent property do not get apply. To solve do the following fix (microsoft Alphaimage filter) .png-background{ background: url(“/path/to/image/source/ong-image.png”) no-repeat scroll transparent; height: n1px; width: n2px _background-image: none; _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/path/to/image/source/ong-image.png,sizingMethod=’scale’); }

How to install Gearman PHP extension

Gearman PHP Extension While installing Gearman PHP extension I have used my custom path to use PHP config from. If we have custom installation of PHP we need to provide –with-php-config option while configure. We can find available option to give while configuring can be found by -help option passed with ./configure # ./configure –help