LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-27-2009, 05:06 AM   #16
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66

Move into directory where your configure script is located

thnks
 
Old 08-27-2009, 05:37 AM   #17
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Copy the package tarball to your home directory and build it there. Then you will have full permissions. A fat filesystem will have all files with the same permissions. All directories will have the same permissions as well. The fmask=0111 will clear the x bit on all files. You can't use chmod or chown on a fat file system. The configure script or Make file may use the chmod command and this will a failure later on.
 
Old 08-27-2009, 02:44 PM   #18
wakrein
Member
 
Registered: Aug 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
Copy the package tarball to your home directory and build it there. Then you will have full permissions. A fat filesystem will have all files with the same permissions. All directories will have the same permissions as well. The fmask=0111 will clear the x bit on all files. You can't use chmod or chown on a fat file system. The configure script or Make file may use the chmod command and this will a failure later on.
listen i have a 4gb solid state disk i have to work off of my media drive.

Quote:
Originally Posted by colucix View Post
Be sure you're in the directory where configure is placed:
Code:
pwd
ls
/home/user/D:/shed-1.15

Last edited by wakrein; 08-27-2009 at 02:46 PM.
 
Old 08-27-2009, 03:50 PM   #19
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Quote:
Originally Posted by wakrein View Post
/home/user/D:/shed-1.15
I am lost here. Weren't you on /media/D: according to your previous posts? In any case the last error message simply means you are not in the directory containing the configure executable. Just a matter of surfing around until you find it. And yes - I've just checked - the shed source directory contains a configure file and according to the instructions in the INSTALL doc, the installation process is the typical
Code:
./configure
make
make install   # as root
 
Old 08-27-2009, 04:11 PM   #20
wakrein
Member
 
Registered: Aug 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by colucix View Post
I am lost here. Weren't you on /media/D: according to your previous posts? In any case the last error message simply means you are not in the directory containing the configure executable. Just a matter of surfing around until you find it. And yes - I've just checked - the shed source directory contains a configure file and according to the instructions in the INSTALL doc, the installation process is the typical
Code:
./configure
make
make install   # as root
yeah but when i go to the /home/user/D:/shed-1.15 diretory and try to ./configure i get the output of permssion denied the reason why i thought this was because the shed-1.15 is on removable media, it denies me for some reason
 
Old 08-27-2009, 04:25 PM   #21
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Quote:
Originally Posted by wakrein View Post
yeah but when i go to the /home/user/D:/shed-1.15 diretory and try to ./configure i get the output of permssion denied the reason why i thought this was because the shed-1.15 is on removable media, it denies me for some reason
Ok, please be patient with me but in one of your latest post the error was "No such file or directory", different from the very first one. I assume you're in /home/user/D:/shed-1.15 now. There isn't a configure file in it?
 
Old 08-27-2009, 04:29 PM   #22
wakrein
Member
 
Registered: Aug 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by colucix View Post
Ok, please be patient with me but in one of your latest post the error was "No such file or directory", different from the very first one. I assume you're in /home/user/D:/shed-1.15 now. There isn't a configure file in it?
oh sorry if i came off all jumpy ide like to say i realy appriciate your assistance. anyways yeah im in the shed-1.15 directory now with a configure file in i. In the shed-1.15 directory there is a configure.log file and a configure file.
 
Old 08-27-2009, 04:39 PM   #23
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Ok. The presence of configure.log (that I believe is config.log) means you have already run the configure step. In any case, run it again and if it is successful you will see the following at the end of the output:
Code:
[alex@linux shed-1.15]$ ./configure
<omitted>
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
Just an aside question: what Linux distribution are you running on? Have you tried if there is a shed binary package available before trying to compile it from source? Just out of curiosity.
 
Old 08-27-2009, 04:52 PM   #24
wakrein
Member
 
Registered: Aug 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by colucix View Post
Ok. The presence of configure.log (that I believe is config.log) means you have already run the configure step. In any case, run it again and if it is successful you will see the following at the end of the output:
Code:
[alex@linux shed-1.15]$ ./configure
<omitted>
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
Just an aside question: what Linux distribution are you running on? Have you tried if there is a shed binary package available before trying to compile it from source? Just out of curiosity.
./configure
Code:
bash: ./configure: Permission denied
im running xandros, if it were up to me i would run ubuntu but i only hae a 4gb solid state disk that came with my eeepc900a
 
Old 08-27-2009, 11:30 PM   #25
wakrein
Member
 
Registered: Aug 2009
Posts: 40

Original Poster
Rep: Reputation: 15
im still googleing, cant find anything any other recommendations?
 
Old 08-28-2009, 12:11 AM   #26
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You probably copied the shed-1.15 directory to your home directory instead of untar'ing it into your home directory. The bad permissions where then copied as well, since /media/D: uses the fat file system. This means that the `configure' script has the 'x' bit cleared.
If the source tarball is on the /media/D: drive, you can delete the directory and untar it to your home directory.

tar -C ~ -xvf /media/D:/shed-1.15.tar.gz
cd ~/shed-1.15
./configure
make
sudo make install
 
Old 08-28-2009, 12:24 AM   #27
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
I haven't read the whole post but,,,,,,
you have either done something that made the directory a root directory so are being denied as a user or you're in a root directory trying to install as user, which you can't as user doesn't have that right.

If the directory is laying somewhere like on your desktop, as root, delete it and drop a new directory in it's place and start over as user to have a clean start.
su
cd /path/to/file
rm -r name_of_file

If the above doesn't apply and you have browsed somewhere else through a root folder,,, which is where the media drive folder is,,,, you have no choice but to become root and do your install, which I do not recommend.
Never a wise thing to ./configure and make as root.

Try this:
As root type cp /path/to/media/file_name /home/user-name/Desktop

Note: that is a command and two different locations so make sure you leave a space between each one or you will just get an error code.
Since you're not being allowed to do things as user, it might be faster to just go ahead and copy as root.
That will copy the folder on your desktop.
If it doesn't, try dropping the file name from the command path.

Open the folder and strike F4.
A terminal should open up and as user you can then do ./configure.
If it's still locked as root you can try to:
su
cd /home/user-name/Desktop
chmod 644 name-of-file

Then try to run ./configure again.

Last edited by windtalker10; 08-28-2009 at 12:32 AM.
 
Old 08-28-2009, 12:26 AM   #28
wakrein
Member
 
Registered: Aug 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
You probably copied the shed-1.15 directory to your home directory instead of untar'ing it into your home directory. The bad permissions where then copied as well, since /media/D: uses the fat file system. This means that the `configure' script has the 'x' bit cleared.
If the source tarball is on the /media/D: drive, you can delete the directory and untar it to your home directory.

tar -C ~ -xvf /media/D:/shed-1.15.tar.gz
cd ~/shed-1.15
./configure
make
sudo make install
ill try this but i have very limited hard drive space left
 
Old 08-28-2009, 12:40 AM   #29
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You don't need the tarball to exist in your home directory if it's on the /media/D:/ directory. You could look at deleting your thumbnails to free up space first: rm ~/.thumbnails/* -rf

From your later posts, you have already copied the D: contents to your home directory. Delete that first before running tar.
Now you should have more room than before.

Good Luck!
 
Old 08-28-2009, 10:50 PM   #30
wakrein
Member
 
Registered: Aug 2009
Posts: 40

Original Poster
Rep: Reputation: 15
i dont think it is impossable to write on vfat, in my cse ./configure but i think my problem is within modifying fstab but i am unfamiure with fstab and uid's
 
  


Reply

Tags
configure, denied, permission


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
./configure - permission denied Odan Linux - General 14 03-31-2013 10:04 AM
media:/ gives permission denied blackbeard99 Slackware 6 12-23-2007 03:58 AM
Permission denied in mount /media/cdrecorder from non-root account... sean04 Linux - Newbie 2 12-10-2007 12:57 PM
./configure: Permission denied Qing Feng Linux - Newbie 3 11-16-2004 11:08 AM
./configure --> permission denied mrosati Linux - Software 3 05-13-2004 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration