Welcome to the most active Linux Forum on the web.
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 06-25-2005, 12:25 AM   #1
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32

Rep: Reputation: 15
Building pure x86_64

I am putting together a Makefile for a pure x86_64, using (as much as possible) the same binaries used in the LFS 6.0 book. I also opted to do without the /lib64 approach and stick to using /lib. I am thinking of, if I ever do, build a 32-bit toolchain to put it in /lib32.

Anyway, the Makefile works perfectly up until the part where it chroots into the environment at which point it fails with:
make[1]: Entering directory `/sources'
chown -R 0:0 /tools && \
touch /tmp/timestamp
make[1]: /bin/sh: Command not found
make[1]: *** [makedev] Error 127
make[1]: Leaving directory `/sources'
make: *** [chapter06] Error 2

I do not have any references to /bin/sh in the make file.

Anyone have any ideas?

Old 06-25-2005, 12:59 AM   #2
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32

Original Poster
Rep: Reputation: 15

Got it!! Amazing how stupid things could stop projects for a couple of days. I have to call make with
Make SHELL=/tools/bin/bash

That's it, easy enough, eh?


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
pure-ftpd help. Drolith Linux - Software 3 11-13-2005 02:50 PM
Need 4 Pure Linux !!! vivinuthappa Linux - Distributions 7 09-20-2004 11:04 AM
How pure is Linux? mikeshn General 4 09-07-2004 02:18 AM
Pure-ftpd zaicheke Linux - Software 2 08-19-2004 07:20 PM
Pure FTP quozt Linux - General 1 08-27-2003 12:50 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:14 PM.

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