LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-25-2004, 03:14 PM   #1
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Rep: Reputation: 15
Access denied??


Ok, MDK 10, 2.6 Kernel, trying to help out my wireless problem (using intelpro2200 wireless) and I get this:
[jaster@localhost jaster]$ cd ipw2200-0.2
[jaster@localhost ipw2200-0.2]$ ls
CHANGES ipw2200_eeprom.c ipw2200_main.c ipw2200_wx.h README.ipw2200
FILES ipw2200_fw_dma.c ipw2200_rxtx.c ISSUES
INSTALL ipw2200.h ipw2200_rxtx.h LICENSE
ipw2200_bh.c ipw2200_hw.c ipw2200_wx.c Makefile
[jaster@localhost ipw2200-0.2]$ make
<stdin>:1:28: linux/rhconfig.h: No such file or directory
make -C /lib/modules/2.6.3-7mdk/build SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'
CC scripts/empty.o
cc1: Permission denied: opening dependency file scripts/.empty.o.d
Assembler messages:
FATAL: can't create scripts/.tmp_empty.o: Permission denied
make[2]: *** [scripts/empty.o] Error 1
make[1]: *** [scripts] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make: *** [default] Error 2


Can anyone interpret what the problem is and how I might go about solving it? I'm a newb so keep it simple lol, thanks.
 
Old 07-25-2004, 03:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Code:
FATAL: can't create scripts/.tmp_empty.o: Permission denied
that's your problem... what are the permissions on /usr/src/linux-2.6.3-7mdk? have you tried running the "make" as root?
 
Old 07-25-2004, 03:49 PM   #3
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Original Poster
Rep: Reputation: 15
The permissions would all be at defualt levels. How do I 'run as root'? The stuff is in my home directory atm, please enlighten me lol (yes I'm a total newb but this is how I learn, thanks)
 
Old 07-25-2004, 03:55 PM   #4
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Shouldn't you be doing `./configure` before `make`?
 
Old 07-25-2004, 04:13 PM   #5
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Original Poster
Rep: Reputation: 15
I actually have no idea, I'm just following some directions on the website, should I do that? what does it do?
 
Old 07-25-2004, 04:25 PM   #6
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
The default set of commands to build software from source are
Code:
./configure
make
<as root>make install
./configure reads the path to necessary system headers, libraries etc that are required for the software you're trying to build.

This is default behaviour though, and can somtimes be changed by the developers of the particular piece of software. Try `./configure`, and see if you get any errors.
 
Old 07-25-2004, 04:52 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I'm pretty sure the problem is that the /usr/src/linux tree is writeable only by the root user (as is the default) Sometimes drivers need to read and write in here during their install for various reasons. Jaster, before you run the make command, type "su" (no quotes) at the command prompt and then type the root password. Su stands for "switch user" and when invoked with no arguments it switches you to the root user (after you've authenticated yourself by typing in the root password).
 
Old 07-25-2004, 04:53 PM   #8
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Original Poster
Rep: Reputation: 15
[jaster@localhost ipw2200-0.2]$ ls
CHANGES ipw2200_eeprom.c ipw2200_main.c ipw2200_wx.h README.ipw2200
FILES ipw2200_fw_dma.c ipw2200_rxtx.c ISSUES
INSTALL ipw2200.h ipw2200_rxtx.h LICENSE
ipw2200_bh.c ipw2200_hw.c ipw2200_wx.c Makefile
[jaster@localhost ipw2200-0.2]$ ./configure
bash: ./configure: No such file or directory
[jaster@localhost ipw2200-0.2]$


grr, no such luck
 
Old 07-25-2004, 04:57 PM   #9
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
DOH!! My mistake - should have read the output of `ls` which you posted ...
 
Old 07-25-2004, 07:42 PM   #10
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
read instructions

have you read INSTALL?

yeah, normally you become root via "su" and give it your root password

then, normally

./configure
make
make install
 
  


Reply



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
Access Denied aje Linux - Newbie 7 10-18-2004 08:48 PM
Access is Denied? sKiBa Linux - Newbie 7 06-12-2004 10:28 AM
access denied crossfire_mania Linux - Software 2 01-28-2004 07:14 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
access denied - but why? Steave Programming 1 08-31-2001 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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