LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   make: *** No rule to make target 'gconfig'. Stop. (https://www.linuxquestions.org/questions/slackware-14/make-%2A%2A%2A-no-rule-to-make-target-gconfig-stop-240837/)

cswake 10-10-2004 12:48 AM

make: *** No rule to make target 'gconfig'. Stop.
 
Hi,

Let me say hello as this is my first time posting to the forums! I've been wading my way through linux and just have not been getting any breaks. :cry:

I'm in the process of updating the kernel using the guide shown here:
hXXp://shilo.is-a-geek.com/slack/kernel14.html

I'm at the point where I had extracted the latest stable kernel to its own folder in the /usr/src directory. The structure I see is as follows:

/usr/src/linux-2.6.8.1
/usr/src/linux-2.6.8.1/arch
/usr/src/linux-2.6.8.1/arch/...
/usr/src/linux-2.6.8.1/include
/usr/src/linux-2.6.8.1/include/...

So I'm assuming the extraction went fine. I created a shortcut called 'linux' in the /usr/src folder and pointed it to the 2.6.8.1 folder. After switching to /usr/src/linux, I run the command "make gconfig" and get this response:

make: *** No rule to make target 'gconfig'. Stop.

Searching google I only found one person making mention that this command should be run as the root, which I did.

Help? :confused:

DaHammer 10-10-2004 01:05 AM

How did you create the shortcut? Anyway, try moving directly into /usr/src/linux-2.6.8.1 and then run the make command.

cswake 10-10-2004 01:16 AM

I made the shortcut in KDE just dragging and dropping. Going directly into the /usr/src/linux-2.6.8.1 folder and running the "make gconfig" command results in the same error... (still under the root)

DaHammer 10-10-2004 01:47 AM

Ok, not sure what you did dragging and dropping as I seldom use X. Anyway, drop the GUIs for a moment and start a bash prompt. Then move to the /usr/src directory:
Code:

cd /usr/src
Remove what you unpacked earlier:
Code:

rm -rf linux-2.6.8.1
Re-unpack the source:
Code:

tar zxvf /path/to/linux-2.6.8.1.tar.gz
Move into the source directory:
Code:

cd linux-2.6.8.1
Now run your perfered kernel configuration utility, "make xconfig", "make gconfig", "make menuconfig", etc or "make help" for options.

BTW, you really don't need the linux shortcut/link pointing to the linux-2.6.8.1, it should probably point to the original kernel source instead, assuming you have that installed. Either way, you can make as follows:
Code:

cd /usr/src
rm linux
ln -s linux-2.6.8.1 linux


cswake 10-10-2004 12:13 PM

Followed you there, except to unpack the source I had to run:
Code:

tar xjvf linux-2.6.8.1.tar.bz2
menuconfig works without trouble, but gconfig and xconfig run into errors and halt. Guess that'll be another thread if I can't figure it out. :)

Thanks!


All times are GMT -5. The time now is 06:39 PM.