Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm logging in as root. In the attempt to try the below commands:
1. make config
2. make menuconfig
3. make xconfig
I got the error of:
make: *** No rule to make target 'xconfig' or 'menuconfig' or 'xconfig' respectively.
I had been searching through net for all the suggested solutions which didn't work.
Initially found the linux was missing from the /usr/src
I "successfully" install the file and had the linux pointed to linux-2.6.30.1
If I run any of the above commands at the root, I still getting the same error message but if the commands were run on the /usr/src/linux, I got a new error message of:
HOSTCC scripts/basic/fixdep
/bin/sh: gcc command not found
make[1]: *** [scripts/basic/fixdep] Error 127
make: *** [scripts/basic] Error 2
I was then being asked to install the gcc using the below:
1. #system-config-packages &
result: it fails with error Unable to retrieve software information
2. # rpm -ivh gcc* to install from CD
result: can't perform it as I don't have CD reader. The CentOS was being installed using an external CD reader, now I no longer have it.
3. #yum install gcc gcc-c++ autoconf automake
result: failed as it Cannot find a valid baseurl for repo: contrib
This I believe could be due to CentOS system is not connecting to network. I got another laptop is able to connect to internet. If this is a workable solution, please lead me step-by-step where to download the file and how to unzip and install.
I then was too believe somehow my CentOS yum is not working. I tried all the solutions I was able to find in the net but to no avail.
May someone kindly give me a proper step-by-step workable solution to allow me successfully run the above three commands.
Your direct and clear instructions to resolve this problem is very much appreciated. tx!
p/s: I had been spending days and countless hours to resolve this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.