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 09-10-2002, 06:47 AM   #1
TippExed
LQ Newbie
 
Registered: Sep 2002
Location: Glasgow
Distribution: Debian (Knoppix)
Posts: 20

Rep: Reputation: 0
./configure errors: permission denied!


Hi,

I downloaded some snapshots for various projects and want to try them out but I'm having a problem with configure for all of them! The error is almost always

./configure: bad interpreter: permission denied!

Unfortunately I'm unable to download under Linux just yet as I don't have an ethernet card for the cablemodem and had to download them under Windows (2k with NTFS volumes). A quick search of google revealed the problem may be due to the permissions on the volume the files were downloaded to so I temporarily set the umask to 000 on the windows volume and tried copying them to linux again but got the same error.

The sh program listed at the top of the scripts exists and when entered opens a prompt similar to

sh-version:

Also when using a FAT volume to import such files I get a different error and files in tars, etc all work fine when extracted whether they're on NTFS or FAT!


Can anyone help? (I'm a bit of a newbie)

Thanks,
Chris
 
Old 09-10-2002, 07:33 AM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
I'm not sure you should be setting the umask of any partition.

When you say you're using a FAT volume to import the files, what do you mean, Chris?

You have a linux partition in place which you're running now?

If it's a permissions problem, becoming the superuser or

su

command should fix it.

Bert
 
Old 09-10-2002, 08:28 AM   #3
TippExed
LQ Newbie
 
Registered: Sep 2002
Location: Glasgow
Distribution: Debian (Knoppix)
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Bert
[B]I'm not sure you should be setting the umask of any partition.
Neither am I, but a post somewhere else (http://www.dclug.org.uk/archive/msg00059.html) suggested it was a problem with the exec permission so I fiddled the umask but to no avail.

Quote:
When you say you're using a FAT volume to import the files, what do you mean, Chris?
I have a fat partition to allow swapping of files between Linux and Windows. When transfering files from Linux to Windows, the files are put on the FAT(32) partition and then in Windows move them to the appropriate place. I didn't know reading NTFS partitions was ok until recently so used the FAT to transfer files from Windows to Linux.

to copy the files from the ntfs partition I mounted it, then did

cp -u -v -r /windows/D/some_dir /usr/src/experimental/some_dir

Quote:
You have a linux partition in place which you're running now?
Yes, Linux is set up on Reiser!

Quote:
If it's a permissions problem, becoming the superuser or

su

command should fix it.
I was logged in as root the whole time (during the build of these packages) it just won't do it!
 
Old 09-10-2002, 10:26 AM   #4
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
maybe it is trying to use a shell that you do not have? what is the interpreter listed at the top of the configure file? should normally be /bin/bash or /bin/sh. maybe you're runnning csh or tcsh without realising? maybe your bash is in a different location?

normally you'd expect to get a "command not found" error or something, but as the interpreter (preceded by a hashbang or shebang : #!) is not a command as such, you won't get that error.

Last edited by acid_kewpie; 09-10-2002 at 10:28 AM.
 
Old 09-10-2002, 10:50 AM   #5
TippExed
LQ Newbie
 
Registered: Sep 2002
Location: Glasgow
Distribution: Debian (Knoppix)
Posts: 20

Original Poster
Rep: Reputation: 0
OK, my assumption that for this snapshot copying to the Fat then to Reiser would cause an error was wrong, sorry. This works for the snapshot (gcc) that caused the error for NTFS. The grub snapshot gave an error and I mistakingly assumed I'd get an error in copying the gcc snapshot to the fat volume.

I'm going to try with grub again, and see what exactly the error was (it was definitely an interpreter error) because that still bugs me!
 
  


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
./configure - permission denied Odan Linux - General 14 03-31-2013 10:04 AM
./configure: Permission denied munkie_poo Slackware 31 07-15-2012 02:55 AM
PHP5 FastCGI session errors (Permission Denied) neocookie Linux - General 2 06-07-2005 12:26 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 - Software

All times are GMT -5. The time now is 05:13 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
Open Source Consulting | Domain Registration