Skip to main content

Posts

Showing posts from September, 2013

configure error no acceptable c compiler found in $PATH - centos

Well, I was just trying to install Apache 2.2.0 on CentOS 6.4  manually but when i tried to ./configure , it gives me an error stating something like as ; configure error no acceptable c compiler found in $PATH Solution was more than simple, it was just to do something like as; Solution : yum groupinstall "Development Tools" Hope this will also work for you for title error, please show up in errors

Solved : Cannot retrieve repository metadata (repomd.xml) for repository

I just install CentOS 6.4 and use yum install update but got “Cannot retrieve repository metadata (repomd.xml) for repository: Please verify its path and try again” I have double check with nslookup , ping and general internet browsing and everything seems me fine but update didn't work. I also tried yum clean all etc. but what work for me is here; Solution :   Open a terminal (become Super user by entering 'su' and then the password) Type cd /var/run/ Than Type dir  to look for the ' yum.pid ' file. Type rm -f yum.pid  and press Enter Again Type dir to Confirm that the ' yum.pid ' file has been deleted. Now again try yum update Hope this will resolve your issue, I have done this on CentOS 6.4 but I have a great hope that it will also work for fedora, RedHat as well. please show yourself in comments;

'ping' is not recognized as an internal or external command, operable program or batch file - Windows

I know, I am writing about the thing that is a lot over the internet but today in my Good Morning to my Desk, I tried to ping of host in my network and I just got this message and I faced this issue on Windows XP, Windows 7 and now on Windows 8 and on Servers Windows 2003 and Windows Server 2008/R2 as well and the solution also work for me on these Operating Systems. Well the message was; C:\Users\rizwan.ahmad>ping 192.168.10.10 'ping' is not recognized as an internal or external command, operable program or batch file. Solution 1 (Easy):    Start > RUN Type control sysdm.cpl,,3 or Open Control Panel » System » Advanced » Environment Variables Right Click on My computer Go to Properties Go to Advanced system settings (on Windows 7 / 8) Environment Variables Select 'PATH' from the list of system variables and edit set PATH to c:\windows\system32 ; Solution 2 (Advance) Open CMD and enter SET command and check the output, there you ...