LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-31-2013, 11:36 AM   #1
b1n4rysh4d0w
LQ Newbie
 
Registered: Dec 2013
Posts: 9

Rep: Reputation: Disabled
LFS 7.3 binutils no such file or directory please help me?


Hi everyone, I just started to build (trying to build) a LFS 7.3 Operating System, I had a problem during the binutils, there what I done:

1) in the "sources" directory I extracted the package
2) I typed ../binutils-2.23.1/configure and all gone good
3) I typed (in the same directory): prefix=/tools

and it returns "prefix=/tools: no such file or directory", and is the same thing for the next instructions:

--with-sysroot=$LFS
--with-lib-path=/tools/lib
--target=$LFS_TGT
--disable-nls
--disable-werror

do you know what I have to do to fix that?

Last edited by b1n4rysh4d0w; 12-31-2013 at 11:38 AM.
 
Old 12-31-2013, 12:21 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi and welcome to LQ!

First of all: Why are you building 7.3 and not the latest stable 7.4?

About your problem: You misinterpret the command. It is one command, not multiple:
Code:
../binutils-2.23.2/configure   \
    --prefix=/tools            \
    --with-sysroot=$LFS        \
    --with-lib-path=/tools/lib \
    --target=$LFS_TGT          \
    --disable-nls              \
    --disable-werror
The above is one command, which could also be written as (but isn't very human readable):
Code:
../binutils-2.23.2/configure --prefix=/tools --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls --disable-werror
You need to follow the book to the letter and not skip any parts of the book. Next time you need help please also include the following information:
- host on which LFS is build,
- output of version-check.sh script,
- chapter and step you are stuck,
- error including a few lines before it.
1.5 help

BTW: I'm going to ask a moderator to move this to the LFS subforum here at LQ.
 
1 members found this post helpful.
Old 01-01-2014, 03:11 PM   #3
b1n4rysh4d0w
LQ Newbie
 
Registered: Dec 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thank You druuna, very simple and helpful.
Tell me one last thing, what changes between 7.3 and 7.4? the output operating system will be the same or not?
another time Thanks :-)
 
Old 01-01-2014, 03:26 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by b1n4rysh4d0w View Post
Thank You druuna, very simple and helpful.
Tell me one last thing, what changes between 7.3 and 7.4? the output operating system will be the same or not?
another time Thanks :-)
They are basically the same if you look at how things are done, the main difference being newer (stable) versions of packages. Have a look here: LFS News

In general people build the latest stable version unless they have a good reason not to. The end result, if all goes well, will be a stable minimal Linux system build from scratch. This is true for both versions 7.3 and 7.4

If you continue to build 7.3 do tell us that when you ask for help. Some of the details are being done differently and we need to know the exact version in order to give you the correct advise.
 
1 members found this post helpful.
  


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] LFS: Error during Binutils-2.22 - Pass 1 (Section 5.4, LFS 7.2) erkant Linux From Scratch 4 11-26-2012 01:26 PM
[SOLVED] lfs 6.7 book ch 5.4 binutils 2.20.1 pass 1 error:error: ppl_c.h: No such file or directory frank zhu Linux From Scratch 6 03-04-2011 11:23 AM
binutils 2.17 compile error: gmp.h: No such file or directory frank zhu Linux From Scratch 5 03-03-2011 03:47 PM
LFS 6.4 (Stable LFS) - error: "No such file or directory", linuxiso Linux - Newbie 1 08-03-2009 10:55 PM
LFS - Not finding file or directory nlinux1 Linux - Newbie 1 11-24-2008 01:28 PM

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

All times are GMT -5. The time now is 08:04 PM.

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