LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-06-2015, 03:38 PM   #1
pepo_007
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
Unhappy i can't get in as directory


hi everyone

i work from lfs book Version 7.6 and i reach to 6.7. Linux-3.16.2 API Headers and i get this error

Code:
root:/sources/linux-3.16.2# 
root:/sources/linux-3.16.2# make INSTALL_HDR_PATH=dest headers_install
  CHK     include/generated/uapi/linux/version.h
  HOSTCC  scripts/basic/fixdep
gcc: error trying to exec '/tools/lib/gcc/i686-pc-linux-gnu/4.9.1/../../../../i686-pc-linux-gnu/bin/as': execv: No such file or directory
scripts/Makefile.host:118: recipe for target 'scripts/basic/fixdep' failed
make[1]: *** [scripts/basic/fixdep] Error 1
Makefile:454: recipe for target 'scripts_basic' failed
make: *** [scripts_basic] Error 2
when i try this command
Code:
cd /tools/lib/gcc/i686-pc-linux-gnu/4.9.1/../../../../i686-pc-linux-gnu/bin/
its work and where execute ls -l this the result

Code:
root:/tools/i686-pc-linux-gnu/bin# ls -l
total 40048
-rwxr-xr-x 2 1001 1001 3797147 Jun  5 12:49 ar
-rwxrwxrwt 2 1001 1001 5428940 Jun  5 12:49 as
-rwxr-xr-x 4 1001 1001 5025057 Jun  5 12:49 ld
-rwxr-xr-x 4 1001 1001 5025057 Jun  5 12:49 ld.bfd
-rwxr-xr-x 2 1001 1001 3680120 Jun  5 12:49 nm
-rwxr-xr-x 2 1001 1001 4418657 Jun  5 12:49 objcopy
-rwxr-xr-x 2 1001 1001 5400089 Jun  5 12:49 objdump
-rwxr-xr-x 2 1001 1001 3797146 Jun  5 12:49 ranlib
-rwxr-xr-x 2 1001 1001 4418652 Jun  5 12:49 strip
root:/tools/i686-pc-linux-gnu/bin# cd as
bash: cd: as: Not a directory
root:/tools/i686-pc-linux-gnu/bin#
so why i can't go to as directory ??

and from where i686-pc-linux-gnu come ?? i review all commands i execute d but i can't find this ,, all i found is 9686-lfs-linux-gnu

Code:
root:/tools# ls -l
total 60
drwxr-xr-x  2 1001 1001 12288 Jun  6 17:36 bin
drwxr-xr-x  2 1001 1001  4096 Jun  5 12:22 etc
drwxr-xr-x  5 1001 1001  4096 Jun  5 12:39 i686-lfs-linux-gnu
drwxr-xr-x  4 1001 1001  4096 Jun  5 12:49 i686-pc-linux-gnu
drwxr-xr-x 38 1001 1001  4096 Jun  6 15:53 include
drwxr-xr-x 18 1001 1001 12288 Jun  6 15:53 lib
drwxr-xr-x  6 1001 1001  4096 Jun  6 11:51 libexec
drwxr-xr-x  7 1001 1001  4096 Jun  5 16:48 man
drwxr-xr-x  2 1001 1001  4096 Jun  6 15:51 sbin
drwxr-xr-x 16 1001 1001  4096 Jun  6 15:51 share
drwxr-xr-x  3 1001 1001  4096 Jun  5 12:22 var
root:/tools#
 
Old 06-10-2015, 06:20 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
'as' is a file and not a directory. Directory starts with a 'd' in 'ls -l' output.

Why do you have both 'i686-lfs-linux-gnu' and 'i686-pc-linux-gnu'? Perhaps you erred somewhere.

Can you run the 'as' executable?

Run:

Code:
/tools/lib/gcc/i686-pc-linux-gnu/4.9.1/../../../../i686-pc-linux-gnu/bin/as
/tools/i686-pc-linux-gnu/bin/as
 
Old 06-11-2015, 06:58 AM   #3
mayur_
Member
 
Registered: Dec 2013
Location: Pune, India
Distribution: Ubuntu
Posts: 46

Rep: Reputation: 1
Did you ran the make command twice? Probably you should go back a few steps delete the directory and start again from untarring the tar ball
 
Old 06-20-2015, 08:08 AM   #4
pepo_007
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
thankssss 4 all
i solve this problem . i found solution in this post
http://www.linuxquestions.org/questi...rs-4175534129/

i didn't know exactly how it's solved but i start over all from html version of book

....................

but is so hard to search in this forum , i use google and forum search to find solution but they did not get fit result and i researched manually and find this post in page 3 in this forum

because that can we make index for posts in this forum sorted by chapter number ?
 
  


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
[SOLVED] Modify the directory entry structure of a directory to show manipulated data shreyas08 Linux - Newbie 1 12-13-2011 05:34 AM
Username & Password Sync Fedora Directory and Microsoft Active Directory karnac01 Fedora 4 07-19-2010 12:51 AM
change default vsftp anonymous accout directory /var/ftp to other directory? hocheetiong Linux - Newbie 2 01-24-2010 06:33 PM
LXer: Directory services made easy with Fedora Directory Server LXer Syndicated Linux News 0 12-08-2006 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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