LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-25-2006, 12:20 PM   #16
JRR883
Member
 
Registered: Aug 2005
Location: God's barf bag
Distribution: Ubuntu 7.04 (Feisty Fawn)
Posts: 86

Original Poster
Rep: Reputation: 15

I have /home/me/lfs and all subdirectories (including ~/tools) and files within them set to a+rx, and I have /tools and all subdirectories and files within set to a+rx (even though it's a symlink). I still get the permission denied problem, even when I try to run make bootstrap as root.
 
Old 12-25-2006, 12:24 PM   #17
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Err... Try
strace -o log -f make bootstrap
In the end of log you will see something about EACCESS or "Permission Denied". Maybe just post some ten lines before and ten lines after.
 
Old 12-25-2006, 05:35 PM   #18
JRR883
Member
 
Registered: Aug 2005
Location: God's barf bag
Distribution: Ubuntu 7.04 (Feisty Fawn)
Posts: 86

Original Poster
Rep: Reputation: 15
Code:
 34105  8955  exit_group(0)                     = ?
 34106  8954  <... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 8955
 34107  8954  --- SIGCHLD (Child exited) @ 0 (0) ---
 34108  8954  stat64("./i686-pc-linux-gnu/4.0.3/as", 0xbfd8f518) = -1 ENOENT (No such file or directory)
 34109  8954  stat64("./as", 0xbfd8f518)        = -1 ENOENT (No such file or directory)
 34110  8954  stat64("/tools/i686-pc-linux-gnu/bin/i686-pc-linux-gnu/4.0.3/as", 0xbfd8f518) = -1 ENOENT (No such file or directory)
 34111  8954  stat64("/tools/i686-pc-linux-gnu/bin/as", {st_mode=S_IFREG|0777, st_size=2917755, ...}) = 0
 34112  8954  access("/tools/i686-pc-linux-gnu/bin/as", X_OK) = 0
 34113  8954  vfork()                           = 8956
 34114  8954  waitpid(8956,  <unfinished ...>
 34115  8956  execve("/tools/i686-pc-linux-gnu/bin/as", ["/tools/i686-pc-linux-gnu/bin/as", "-Qy", "-o", "crtbegin.o", "/tmp/ccDGThTN.s"], [/* 148 vars */]) = -1 EACCES (Permission denied)
 34116  8956  write(2, "xgcc", 4)               = 4
 34117  8956  write(2, ": ", 2)                 = 2
 34118  8956  write(2, "installation problem, cannot exe"..., 35) = 35
 34119  8956  write(2, "/tools/i686-pc-linux-gnu/bin/as", 31) = 31
 34120  8956  write(2, "\': ", 3)               = 3
 34121  8956  write(2, "Permission denied", 17) = 17
 34122  8956  write(2, "\n", 1)                 = 1
 34123  8956  exit_group(-1)                    = ?
 34124  8954  <... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 255}], 0) = 8956
 34125  8954  --- SIGCHLD (Child exited) @ 0 (0) ---
The 34* numbers on the left were generated by cat.

Last edited by JRR883; 12-25-2006 at 07:40 PM.
 
Old 12-26-2006, 10:55 AM   #19
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
34112 8954 access("/tools/i686-pc-linux-gnu/bin/as", X_OK) = 0
34115 8956 execve("/tools/i686-pc-linux-gnu/bin/as", ["/tools/i686-pc-linux-gnu/bin/as", "-Qy", "-o", "crtbegin.o", "/tmp/ccDGThTN.s"], [/* 148 vars */]) = -1 EACCES (Permission denied)

Er.. This cannot be... Really, no idea. You build 32-bit system on top of 32-bit system, right? And did you try another version of gcc?
 
Old 12-26-2006, 11:30 AM   #20
JRR883
Member
 
Registered: Aug 2005
Location: God's barf bag
Distribution: Ubuntu 7.04 (Feisty Fawn)
Posts: 86

Original Poster
Rep: Reputation: 15
I'm compiling GCC 4.1.1 right now and it seems to be working. I just hope there aren't any compatibility issues down the road.
 
Old 12-26-2006, 11:34 AM   #21
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
So, what did you change to make it work?
 
  


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
Error when starting up snort: bash:!/bin/sh/usr/local/bin/snort :Eent not found cynthia_thomas Linux - Software 1 11-11-2005 02:59 PM
What is the difference between #!/bin/bash and #!/bin/sh? mTorbin Linux - Newbie 5 11-09-2005 12:10 PM
Change /bin/bash to /bin/zsh Smokey Slackware 12 07-14-2004 01:06 AM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 06:42 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM

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

All times are GMT -5. The time now is 01:11 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