LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-24-2005, 11:25 PM   #1
daly1
Member
 
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?

Thanks.
 
Old 06-24-2005, 11:59 PM   #2
daly1
Member
 
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32

Original Poster
Rep: Reputation: 15
Cool

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?
 
  


Reply


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 01:50 PM
Need 4 Pure Linux !!! vivinuthappa Linux - Distributions 7 09-20-2004 10:04 AM
How pure is Linux? mikeshn General 4 09-07-2004 01:18 AM
Pure-ftpd zaicheke Linux - Software 2 08-19-2004 06:20 PM
Pure FTP quozt Linux - General 1 08-26-2003 11:50 PM

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

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