Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-17-2004, 10:32 PM   #1
LQ Newbie
Registered: Nov 2003
Location: Ohio
Distribution: SUSE 9.0
Posts: 13

Rep: Reputation: 0
Cannot run 'make menuconfig' as user

I am running Suse 9.1 Pro, and have updated the kernel to 2.6.5-7.108. When I cd to /usr/src/linux and attempt to run 'make menuconfig', I get this result:

/bin/sh: line 1: lxtemp.c: Permission denied
make[2]: *** [scripts/lxdialog/ncurses] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2

I have read in many places that I don't need to login as root in order to run this command, but the 'permission denied' message made me try it as root; that was successful.

I then suspected a problem related to lxdialog and/or ncurses, based on the above error message. I found in the documentation a discussion of problems with lxdialog that could be resolved by running 'make mrproper'. I tried that, then ran 'make menuconfig' again, getting this result:

HOSTCC scripts/basic/fixdep
cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

I can't tell if I'm making progress, or going in circles. Any suggestions?
Old 09-17-2004, 11:00 PM   #2
Registered: Aug 2004
Location: /dev/null
Distribution: Slack 10, Debian
Posts: 99

Rep: Reputation: 15
The issue is that the permissions of the files in your /usr/src/linux-XXXX directory are owned by root. To fix it, as root do
chown USER:GROUP /usr/src/linux-XXX
Where USER is the user you want to compile with, GROUP is their group, and /usr/src/linux-XXXX is the actual path to the source. After that, you can do make menuconfig, make bzImage and make modules as a user. You cannot do make moules_install though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
make: *** No rule to make target 'menuconfig' yussef Debian 10 12-22-2005 09:23 AM
How to make ppp scripts run as user Grunty Slackware 6 09-13-2005 08:54 PM
make: *** No rule to make target `menuconfig' Ezzy Linux - Newbie 3 04-21-2005 09:21 AM
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 07:54 AM
make xconfig/make menuconfig don't work acidblue Debian 2 07-27-2004 07:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration