Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 04-14-2004, 08:53 AM   #1
Senior Member
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
stacked at the beginning

Hi there. I have just stacked at the beginning at the chapter 5.
In page 60 i read the following "...we recommend that you build the packages in this chapter as an unprivileged user...."
In page 61 i read the following "...The Binutils documentation recommends building Binutils outside of the source direcotry in a dedicated build directory:
mkdir ../binutils-build
cd ../binutils-build
When i run the mkdir ../binutils-build command i take the following message
"cannot create directory ../binutils-build. Permission denied"
This is true because i don't have the permission to do this. The ../ directory refers to the root directory which is not accessible from the LFS user which i am logged in.
I was thinking if i could use another console in order to log in as root and create this directory but this is not the right method for doing so.
What u suggest me doing? Should i create the directory as an LFS user and where and what its name will be? Or i should create it as root?
Thx for giving me your time
Old 04-14-2004, 07:14 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
The format of the book is that they assume you have unpacked each source tarball and cd'd into the folder, so you should be inside the binutils-2.14 folder and ../ is /mnt/lfs/sources.
mkdir ../binutils-build
makes the folder /mnt/lfs/sources/binutils-build. You should already have given the user lfs ownership of the /mnt/lfs/sources folder so there should be no problem creating binutils-build. Good luck.
Old 04-16-2004, 03:33 PM   #3
Senior Member
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45

so i have the following directories...

i enter the /mnt/lfs/binutils-build directory and i ran the command
../binutils/configure ...mpla mpla
the problem is that make returns error because it doesn't accept relative paths


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
Just the beginning.... woodworker97 Mandriva 5 05-20-2005 01:53 AM
A new beginning... LK873 Mandriva 13 03-08-2005 06:59 AM
stacked search in sed reavm Programming 1 11-25-2004 11:17 AM
very beginning vegpl Linux From Scratch 13 06-26-2004 11:56 AM
Beginning Fatal_3rr0r Programming 4 06-09-2003 08:08 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration