LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 06-03-2002, 05:38 AM   #1
slack-penguin
LQ Newbie
 
Registered: Apr 2002
Location: Oz
Distribution: LFS 3.3 :)
Posts: 22

Rep: Reputation: 15
Unhappy bash woes


Well, just starting on lfs, and I can't really say that I have managed to get far

So far I am up to configuring bash, which I am having probs with. I run:
sh configure --enable-static-link --prefix=$LFS/usr \
--bindir=$LFS/bin --with-curses &&

and it spits out:

checking build system type... ./support/config.guess: ./dummy-1401: Permission denied
./support/config.guess: ./dummy-1401: Permission denied
configure: error: cannot guess build type; you must specify one

... and I don't have a clue what to give it.

Also, configure refuses to run (using ./configure) and I have checked the permissions (-rwxr-xr-x) and for #! /bin/sh and it still tells me bad interpreter Grrrrrrr...

Help?
 
Old 06-03-2002, 05:58 AM   #2
slack-penguin
LQ Newbie
 
Registered: Apr 2002
Location: Oz
Distribution: LFS 3.3 :)
Posts: 22

Original Poster
Rep: Reputation: 15
hmmm, interesting...

I found the problem... was the way the lfs partition was being mounted accorting to /etc/fstab :P

rather odd...

Last edited by slack-penguin; 06-03-2002 at 06:02 AM.
 
Old 06-03-2002, 06:18 AM   #3
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
fstab probably contained the "user" or "users" option (so non-root can mount it). That option implies nodev,nosuid,noexec which pretty much means you can't create device file (such as ones found in /dev) can't create suid files and you cannot execute scripts or anything from it (such as configure scripts).

See the mount man page it's all explained in there.

Two ways around it:

1) remove 'user' or 'users' from /etc/fstab and only have user root do the mounting and umounting.

2) change the 'user' option to 'user,exec,suid,dev' which will allow any user to mount it, while not putting the other restrictions into place.
 
Old 06-05-2002, 09:21 PM   #4
slack-penguin
LQ Newbie
 
Registered: Apr 2002
Location: Oz
Distribution: LFS 3.3 :)
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for that, I've managed to solve a few other mount issues as well now
 
Old 06-07-2002, 01:26 AM   #5
SmogFighter
LQ Newbie
 
Registered: Jun 2002
Location: Bakersfield CA
Distribution: Vector Linux / LFS
Posts: 1

Rep: Reputation: 0
configure not supported??

Sorry, but I am at that spot too and I get "Configure no longer supported"

HELP
 
  


Reply


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
$LINENO can't be modified in bash 3.0, while it can be in bash 2.05b Darwish Linux - Software 1 11-07-2005 02:57 PM
bash + html + javascript or just bash ? rblampain Programming 4 12-01-2004 07:53 AM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 06:42 PM
9.2 Woes kyte Mandriva 4 11-08-2003 05:22 PM
IP Woes :( adcworks Linux - Networking 8 08-05-2002 11:05 AM


All times are GMT -5. The time now is 06:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration