[lfs-support] (no subject)

2013-09-19 Thread Артём Орлов
Hello!

I am trying to make LFS-7.4 release. I passed chapters successfully but got
stuck in chapter 6.7.1 (Installation of Linux API Headers). I
untar linux-3.10.10.tar.xz and trying to make headers check but the
following errors appear:

root:/sources/linux-3.10.10# make headers_check
  CHK include/generated/uapi/linux/version.h
  UPD include/generated/uapi/linux/version.h
  HOSTCC  scripts/basic/fixdep
  WRAParch/x86/include/generated/asm/clkdev.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  HOSTCC  arch/x86/tools/relocs_32.o
  HOSTCC  arch/x86/tools/relocs_64.o
  HOSTCC  arch/x86/tools/relocs_common.o
  HOSTLD  arch/x86/tools/relocs
  HOSTCC  scripts/unifdef
  INSTALL include/asm-generic (35 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/drm (17 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/byteorder (2 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/caif (2 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/can (5 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/dvb (8 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/hdlc (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/hsi (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/isdn (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/mmc (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/netfilter/ipset (4 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/netfilter (78 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/netfilter_arp (2 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/netfilter_bridge (18 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/netfilter_ipv4 (10 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/netfilter_ipv6 (12 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/nfsd (5 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/raid (2 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL include/linux/spi (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename $i)'
  INSTALL 

[lfs-support] (no subject)

2013-07-25 Thread Unix User
Dear list,

after encountering a problem and searching the internet I decided to start a 
fresh 7.3 install - which was also suggested to someone encountering the same 
error but on different LFS version. However, at section 5.8.1 (binutils pass 2) 
the following error is given now at command make -C ld LIB_PATH=/usr/lib:/lib:

-8
[...]

/bin/bash ./libtool --tag=CC   --mode=link gcc -g -O2 -g -O2 -no-undefined 
-rpath /nowhere  -o libldtestplug.la  libldtestplug_la-testplug.lo  -lz -ldl 
libtool: link: gcc -shared  .libs/libldtestplug_la-testplug.o   -lz -ldl   
 -Wl,-soname -Wl,libldtestplug.so.0 -o .libs/libldtestplug.so.0.0.0
/tools/bin/ld: this linker was not configured to use sysroots
collect2: error: ld returned 1 exit status
make[2]: *** [libldtestplug.la] Error 1
make[2]: Leaving directory 
`/media/lfs/e32e48f2-ea36-4622-89e5-19e22084a06e/sources/binutils-build/ld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/media/lfs/e32e48f2-ea36-4622-89e5-19e22084a06e/sources/binutils-build/ld'
make: *** [all] Error 2
make: Leaving directory 
`/media/lfs/e32e48f2-ea36-4622-89e5-19e22084a06e/sources/binutils-build/ld'
-8

As /tools/bin/ld: this linker was not configured to use sysroots was given, I 
started again a fresh install explicitly checking correctness and completeness 
of all commands typed by me but still get the same error.

It might also be interestingly to you to know that I got the following warning 
at section 5.7 (glibc):

---8
configure: WARNING:
*** These auxiliary programs are missing or
*** incompatible versions: autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
---8
Note: autoconf is installed, version 2.69


Host is Lubuntu 13.04, the output of version-check is attached to this email 
(although /bin/sh is a link to dash, echo $SHELL output is bash). Any advice is 
welcome.

Thanks in advance,

Seba
bash, version 4.2.45(1)-release
/bin/sh - /bin/dash
Binutils: (GNU Binutils for Ubuntu) 2.23.2
bison (GNU Bison) 2.5
/usr/bin/yacc - /usr/bin/bison.yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.20
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 4.0.1
/usr/bin/awk - /usr/bin/gawk
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
(Ubuntu EGLIBC 2.17-0ubuntu5) 2.17
grep (GNU grep) 2.14
gzip 1.5
Linux version 3.8.0-26-generic (buildd@panlong) (gcc version 4.7.3 
(Ubuntu/Linaro 4.7.3-1ubuntu1) ) #38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.1.0alpha
gcc compilation OK
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2013-07-25 Thread Fernando de Oliveira
 De: Unix User mailinglistaccount_at_yahoo.com
Para: lfs-support
Enviadas: Quinta-feira, 25 de Julho de 2013 8:47
Assunto: [lfs-support] (no subject)

...


Host is Lubuntu 13.04, the output of version-check is attached to this
email (although /bin/sh is a link to dash, echo $SHELL output is bash).
Any advice is welcome.

Thanks in advance,

Seba

Believe first thing is to correct /bin/sh:

https://www.mail-archive.com/lfs-support@linuxfromscratch.org/msg19930.html

--

[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2013-07-25 Thread Ken Moffat
On Thu, Jul 25, 2013 at 12:47:56PM +0100, Unix User wrote:
 Dear list,
 
 after encountering a problem and searching the internet I decided to start a 
 fresh 7.3 install - which was also suggested to someone encountering the same 
 error but on different LFS version. However, at section 5.8.1 (binutils pass 
 2) the following error is given now at command make -C ld 
 LIB_PATH=/usr/lib:/lib:
 
 -8
 [...]
 
 /bin/bash ./libtool --tag=CC   --mode=link gcc -g -O2 -g -O2 -no-undefined 
 -rpath /nowhere  -o libldtestplug.la  libldtestplug_la-testplug.lo  -lz -ldl 
 libtool: link: gcc -shared  .libs/libldtestplug_la-testplug.o   -lz -ldl   
  -Wl,-soname -Wl,libldtestplug.so.0 -o .libs/libldtestplug.so.0.0.0
 /tools/bin/ld: this linker was not configured to use sysroots
 collect2: error: ld returned 1 exit status


 http://www.linuxfromscratch.org/lfs/errata/stable/

 points out that the proper fix for failure to make 'check'
later in the book is to alter the configure for binutils pass 2 by
adding --with-sysroot.  We've done that in the development book.

 I guess that things have moved on, and you will have to add that
switch.

 Doing that will, if my memory is correct, mean that
/tools/lib/whichever-linux-gnu/lib no longer appears in the
SEARCH_DIR entries at the end of 'Adjusting The Toolchain' (section
6.10).  Compare the development book.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2013-07-25 Thread Unix User
Dear Fernando and Ken,

thank you very much for your help. I'll change dash to bash and add the swith 
--with-sysroot to binutils pass 2 (and keep the development book in mind).

Thanks,
Seb






 Von: Ken Moffat zarniwh...@ntlworld.com
An: Unix User mailinglistacco...@yahoo.com; LFS Support List 
lfs-support@linuxfromscratch.org 
Gesendet: 17:44 Donnerstag, 25.Juli 2013
Betreff: Re: [lfs-support] (no subject)
 

On Thu, Jul 25, 2013 at 12:47:56PM +0100, Unix User wrote:
 Dear list,
 
 after encountering a problem and searching the internet I decided to start a 
 fresh 7.3 install - which was also suggested to someone encountering the same 
 error but on different LFS version. However, at section 5.8.1 (binutils pass 
 2) the following error is given now at command make -C ld 
 LIB_PATH=/usr/lib:/lib:
 
 -8
 [...]
 
 /bin/bash ./libtool --tag=CC   --mode=link gcc -g -O2 -g -O2 -no-undefined 
 -rpath /nowhere  -o libldtestplug.la  libldtestplug_la-testplug.lo  -lz -ldl 
 libtool: link: gcc -shared  .libs/libldtestplug_la-testplug.o   -lz -ldl   
  -Wl,-soname -Wl,libldtestplug.so.0 -o .libs/libldtestplug.so.0.0.0
 /tools/bin/ld: this linker was not configured to use sysroots
 collect2: error: ld returned 1 exit status


http://www.linuxfromscratch.org/lfs/errata/stable/

points out that the proper fix for failure to make 'check'
later in the book is to alter the configure for binutils pass 2 by
adding --with-sysroot.  We've done that in the development book.

I guess that things have moved on, and you will have to add that
switch.

Doing that will, if my memory is correct, mean that
/tools/lib/whichever-linux-gnu/lib no longer appears in the
SEARCH_DIR entries at the end of 'Adjusting The Toolchain' (section
6.10).  Compare the development book.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Off subject Red Hat version 2.0 Manual

2013-06-11 Thread geist1...@juno.com


-- Original Message --
From: Bruce Dubbs bruce.du...@gmail.com
To: LFS Support List lfs-support@linuxfromscratch.org
Subject: Re: [lfs-support] Why do we need a temporary toolchain?
Date: Tue, 11 Jun 2013 15:26:27 -0500

Ken Moffat wrote:

   I was going to point to the lfs-museum (from memory, LFS-5.0 was
 the first release with pure-lfs), but I can't connect to
 http://archive.linuxfromscratch.org/lfs-museum/ - not sure if that
 is disabled along with the list archives, or just hasn't started
 after the server upgrade ?

Works for me.

  -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Hi All;
Can Anyone tell me where I might find the Red Hat Version 2.0 installation 
Manual ?? I have downloaded the files and can get it partially going, but don't 
know the order of things and what disks to use where..
THANK YOU Marty

1 Odd spice that FIGHTS diabetes
Can this unusual #34;super spice#34; control your blood sugar and fight 
diabetes#63
http://thirdpartyoffers.juno.com/TGL3131/51b7c869458f848682d86st03duc-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Off subject Red Hat version 2.0 Manual

2013-06-11 Thread William Harrington

 Can Anyone tell me where I might find the Red Hat Version 2.0  
 installation Manual ?? I have downloaded the files and can get it  
 partially going, but don't know the order of things and what disks  
 to use where..

 THANK YOU Marty


Look in the red hat 2.0 archives  
https://access.redhat.com/site/documentation/en-US/Red_Hat_Storage/2.0/ 
   I suggest you learn how to navigate the redhat website. If you plan  
on using red hat for builds, that'd be a good skill to have.

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Off subject Red Hat version 2.0 Manual

2013-06-11 Thread geist1...@juno.com


-- Original Message --
From: William Harrington kb0...@berzerkula.org
To: LFS Support List lfs-support@linuxfromscratch.org
Subject: Re: [lfs-support] Off subject Red Hat version 2.0 Manual
Date: Tue, 11 Jun 2013 22:11:44 -0500


 Can Anyone tell me where I might find the Red Hat Version 2.0  
 installation Manual ?? I have downloaded the files and can get it  
 partially going, but don't know the order of things and what disks  
 to use where..

 THANK YOU Marty


Look in the red hat 2.0 archives  
https://access.redhat.com/site/documentation/en-US/Red_Hat_Storage/2.0/ 
  I suggest you learn how to navigate the redhat website. If you plan  
on using red hat for builds, that'd be a good skill to have.

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Hi All;
William, I had looked at the Archive site, where I downloaded the other files, 
and looked all arround.. I saw a manual for version 1.1, but nothing else.. So, 
Thank You.. I will mark that page, and save it.. Maybe the site, I was on was 
not the same place, as your reference.. THANKS Again... Marty

1 Odd spice that FIGHTS diabetes
Can this unusual #34;super spice#34; control your blood sugar and fight 
diabetes#63
http://thirdpartyoffers.juno.com/TGL3131/51b7f2c48cbcb72c35a3est01duc-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] (no subject)

2013-01-06 Thread matthew gruda
now i got up to 6.10 and i tried:
echo 'main(){}'  dummy.c
cc dummy.c -v -Wl, --verbose

and got:
GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD version
(GNU Binutils) 2.22
COMPILER_PATH=/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/lib/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/
LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/usr/lib/../lib64/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
 /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2 --eh-frame-hdr
-m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2
/usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o
/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o
-L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1 -L/usr/lib/../lib64
-L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib
/tmp/ccm2lzhu.o  -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
--as-needed -lgcc_s --no-as-needed
/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o
/usr/lib/../lib64/crtn.o
/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
cannot find : No such file or directory
collect2: error: ld returned 1 exit status

so why? glibc was just checked and installed right, and set up, and i
followed instructions for changing the path
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2013-01-06 Thread Roy Birk
I think it's because you're on a 64-bit system.



On Jan 6, 2013, at 8:51 AM, matthew gruda matthewgr...@gmail.com wrote:

 now i got up to 6.10 and i tried:
 echo 'main(){}'  dummy.c
 cc dummy.c -v -Wl, --verbose 
 
 and got:
 GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD version (GNU 
 Binutils) 2.22
 COMPILER_PATH=/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/lib/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/
 LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/usr/lib/../lib64/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib/:/usr/lib/
 COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
  /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2 --eh-frame-hdr -m 
 elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 
 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o 
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o 
 -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1 -L/usr/lib/../lib64 
 -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib
  /tmp/ccm2lzhu.o  -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc 
 --as-needed -lgcc_s --no-as-needed 
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o 
 /usr/lib/../lib64/crtn.o
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
  cannot find : No such file or directory
 collect2: error: ld returned 1 exit status
 
 so why? glibc was just checked and installed right, and set up, and i 
 followed instructions for changing the path
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2013-01-06 Thread matthew gruda
so how do i fix this?

On Sun, Jan 6, 2013 at 10:44 AM, Roy Birk rab...@gmail.com wrote:

 I think it's because you're on a 64-bit system.



 On Jan 6, 2013, at 8:51 AM, matthew gruda matthewgr...@gmail.com wrote:

  now i got up to 6.10 and i tried:
  echo 'main(){}'  dummy.c
  cc dummy.c -v -Wl, --verbose
 
  and got:
  GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD version
 (GNU Binutils) 2.22
 
 COMPILER_PATH=/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/lib/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/
 
 LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/usr/lib/../lib64/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib/:/usr/lib/
  COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
   /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2
 --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2
 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o
 -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1 -L/usr/lib/../lib64
 -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib
 /tmp/ccm2lzhu.o  -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
 --as-needed -lgcc_s --no-as-needed
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o
 /usr/lib/../lib64/crtn.o
 
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
 cannot find : No such file or directory
  collect2: error: ld returned 1 exit status
 
  so why? glibc was just checked and installed right, and set up, and i
 followed instructions for changing the path
  --
  http://linuxfromscratch.org/mailman/listinfo/lfs-support
  FAQ: http://www.linuxfromscratch.org/lfs/faq.html
  Unsubscribe: See the above information page
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2013-01-06 Thread Roy Birk
It seems like there's more to it than just the architecture, but you should 
probably re-read the intro portion on LFS Target Architectures. I think you 
might need to start over and be sure to follow the parts of the book for 64-bit 
systems, but hopefully one of the gurus will respond if I've said anything 
incorrect. 


On Jan 6, 2013, at 11:20 AM, matthew gruda matthewgr...@gmail.com wrote:

 so how do i fix this?
 
 On Sun, Jan 6, 2013 at 10:44 AM, Roy Birk rab...@gmail.com wrote:
 I think it's because you're on a 64-bit system.
 
 
 
 On Jan 6, 2013, at 8:51 AM, matthew gruda matthewgr...@gmail.com wrote:
 
  now i got up to 6.10 and i tried:
  echo 'main(){}'  dummy.c
  cc dummy.c -v -Wl, --verbose
 
  and got:
  GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD version 
  (GNU Binutils) 2.22
  COMPILER_PATH=/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/lib/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/
  LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/usr/lib/../lib64/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib/:/usr/lib/
  COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
   /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2 --eh-frame-hdr 
  -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 
  /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o 
  /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o 
  -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1 -L/usr/lib/../lib64 
  -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib
   /tmp/ccm2lzhu.o  -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc 
  --as-needed -lgcc_s --no-as-needed 
  /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o 
  /usr/lib/../lib64/crtn.o
  /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
   cannot find : No such file or directory
  collect2: error: ld returned 1 exit status
 
  so why? glibc was just checked and installed right, and set up, and i 
  followed instructions for changing the path
  --
  http://linuxfromscratch.org/mailman/listinfo/lfs-support
  FAQ: http://www.linuxfromscratch.org/lfs/faq.html
  Unsubscribe: See the above information page
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
 
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2013-01-06 Thread matthew gruda
im fairly sure i did everything for 64 bit though...

On Sun, Jan 6, 2013 at 11:37 AM, Roy Birk rab...@gmail.com wrote:

 It seems like there's more to it than just the architecture, but you
 should probably re-read the intro portion on LFS Target Architectures. I
 think you might need to start over and be sure to follow the parts of the
 book for 64-bit systems, but hopefully one of the gurus will respond if
 I've said anything incorrect.


 On Jan 6, 2013, at 11:20 AM, matthew gruda matthewgr...@gmail.com wrote:

 so how do i fix this?

 On Sun, Jan 6, 2013 at 10:44 AM, Roy Birk rab...@gmail.com wrote:

 I think it's because you're on a 64-bit system.



 On Jan 6, 2013, at 8:51 AM, matthew gruda matthewgr...@gmail.com wrote:

  now i got up to 6.10 and i tried:
  echo 'main(){}'  dummy.c
  cc dummy.c -v -Wl, --verbose
 
  and got:
  GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD version
 (GNU Binutils) 2.22
 
 COMPILER_PATH=/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/lib/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/
 
 LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/usr/lib/../lib64/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib/:/usr/lib/
  COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
   /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2
 --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2
 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o
 -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1 -L/usr/lib/../lib64
 -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib
 /tmp/ccm2lzhu.o  -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
 --as-needed -lgcc_s --no-as-needed
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o
 /usr/lib/../lib64/crtn.o
 
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
 cannot find : No such file or directory
  collect2: error: ld returned 1 exit status
 
  so why? glibc was just checked and installed right, and set up, and i
 followed instructions for changing the path
  --
  http://linuxfromscratch.org/mailman/listinfo/lfs-support
  FAQ: http://www.linuxfromscratch.org/lfs/faq.html
  Unsubscribe: See the above information page
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2013-01-06 Thread Roy Birk
Did you do this part in 5.8,

make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
cp -v ld/ld-new /tools/bin



On Jan 6, 2013, at 11:48 AM, matthew gruda matthewgr...@gmail.com wrote:

 im fairly sure i did everything for 64 bit though...
 
 On Sun, Jan 6, 2013 at 11:37 AM, Roy Birk rab...@gmail.com wrote:
 It seems like there's more to it than just the architecture, but you should 
 probably re-read the intro portion on LFS Target Architectures. I think you 
 might need to start over and be sure to follow the parts of the book for 
 64-bit systems, but hopefully one of the gurus will respond if I've said 
 anything incorrect. 
 
 
 On Jan 6, 2013, at 11:20 AM, matthew gruda matthewgr...@gmail.com wrote:
 
 so how do i fix this?
 
 On Sun, Jan 6, 2013 at 10:44 AM, Roy Birk rab...@gmail.com wrote:
 I think it's because you're on a 64-bit system.
 
 
 
 On Jan 6, 2013, at 8:51 AM, matthew gruda matthewgr...@gmail.com wrote:
 
  now i got up to 6.10 and i tried:
  echo 'main(){}'  dummy.c
  cc dummy.c -v -Wl, --verbose
 
  and got:
  GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD version 
  (GNU Binutils) 2.22
  COMPILER_PATH=/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/lib/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/
  LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/usr/lib/../lib64/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib/:/usr/lib/
  COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
   /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2 --eh-frame-hdr 
  -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 
  /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o 
  /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o 
  -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1 -L/usr/lib/../lib64 
  -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib
   /tmp/ccm2lzhu.o  -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc 
  --as-needed -lgcc_s --no-as-needed 
  /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o 
  /usr/lib/../lib64/crtn.o
  /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
   cannot find : No such file or directory
  collect2: error: ld returned 1 exit status
 
  so why? glibc was just checked and installed right, and set up, and i 
  followed instructions for changing the path
  --
  http://linuxfromscratch.org/mailman/listinfo/lfs-support
  FAQ: http://www.linuxfromscratch.org/lfs/faq.html
  Unsubscribe: See the above information page
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
 
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
 
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
 
 
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2013-01-06 Thread matthew gruda
im fairly sure i did that.  also i noticed that ommiting -Wl, will
succesfully compile, with readelf on a.out giving me [Requesting program
interpreter: /lib64/ld-linux-x86-64.so.2]



On Sun, Jan 6, 2013 at 12:24 PM, Roy Birk rab...@gmail.com wrote:

 Did you do this part in 5.8,

   make -C ld clean
 make -C ld LIB_PATH=/usr/lib:/lib
 cp -v ld/ld-new /tools/bin




 On Jan 6, 2013, at 11:48 AM, matthew gruda matthewgr...@gmail.com wrote:

 im fairly sure i did everything for 64 bit though...

 On Sun, Jan 6, 2013 at 11:37 AM, Roy Birk rab...@gmail.com wrote:

 It seems like there's more to it than just the architecture, but you
 should probably re-read the intro portion on LFS Target Architectures. I
 think you might need to start over and be sure to follow the parts of the
 book for 64-bit systems, but hopefully one of the gurus will respond if
 I've said anything incorrect.


 On Jan 6, 2013, at 11:20 AM, matthew gruda matthewgr...@gmail.com
 wrote:

 so how do i fix this?

 On Sun, Jan 6, 2013 at 10:44 AM, Roy Birk rab...@gmail.com wrote:

 I think it's because you're on a 64-bit system.



 On Jan 6, 2013, at 8:51 AM, matthew gruda matthewgr...@gmail.com
 wrote:

  now i got up to 6.10 and i tried:
  echo 'main(){}'  dummy.c
  cc dummy.c -v -Wl, --verbose
 
  and got:
  GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD
 version (GNU Binutils) 2.22
 
 COMPILER_PATH=/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/lib/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/
 
 LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/usr/lib/../lib64/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib/:/usr/lib/
  COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
   /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2
 --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2
 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o
 -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1 -L/usr/lib/../lib64
 -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib
 /tmp/ccm2lzhu.o  -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
 --as-needed -lgcc_s --no-as-needed
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o
 /usr/lib/../lib64/crtn.o
 
 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
 cannot find : No such file or directory
  collect2: error: ld returned 1 exit status
 
  so why? glibc was just checked and installed right, and set up, and i
 followed instructions for changing the path
  --
  http://linuxfromscratch.org/mailman/listinfo/lfs-support
  FAQ: http://www.linuxfromscratch.org/lfs/faq.html
  Unsubscribe: See the above information page
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] (no subject)

2012-12-19 Thread JIA Pei
Hi, lfs support:

Sorry I'm writing to you and bug you again 

I strictly follow
http://www.linuxfromscratch.org/lfs/view/development/index.html and now
proceeding to *6. Installing Basic System Software *
I can successfully proceed until
http://www.linuxfromscratch.org/lfs/view/development/chapter06/linux-headers.html.
Namely, I'm now trying to do the* Installation of Linux API Headers* after
I finished
http://www.linuxfromscratch.org/lfs/view/development/chapter06/createfiles.html
.
However, my current bash prompt is:
*root:/# ls
bin  boot  dev  etc  home  lib  media  mnt  opt  proc  root  run  sbin
sources  srv  sys  tmp  tools  usr  var
root:/# ls /mnt
root:/# *


So, which *pwd* should I run make *mrproper* ?

Please do help !! Please


Cheers

-- 

Pei JIA

Email: jp4w...@gmail.com
cell:+1 604-362-5816

Welcome to Vision Open
http://www.visionopen.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2012-12-19 Thread Ken Moffat
On Wed, Dec 19, 2012 at 05:53:53PM -0800, JIA Pei wrote:
 
 So, which *pwd* should I run make *mrproper* ?
 
 The directory created when you untarred the package.

 Not sure of the package version you are using, but linux-3.* should
match.  Same as in chapter 5 : untar the package, cd into the
directory it created.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2012-11-28 Thread Tobias Linus Seidler

thanks for answering.
 

 Date: Sat, 24 Nov 2012 20:46:35 +
 From: zarniwh...@ntlworld.com
 To: lfs-support@linuxfromscratch.org
 Subject: Re: [lfs-support] (no subject)
 
 On Sat, Nov 24, 2012 at 07:55:17PM +, Tobias Linus Seidler wrote:
  
  
  Hello.
  
  I downloaded and decompressed the packages with wget as instructed in the 
  lfs book. Within the host-system and as lfs-user I created and cd-ed into 
  the binutils-build folder and executed the ../binutils-2.22/configure 
  --prefix=/tools --with-sysro command.
  
  Then I executed 'make' put terminal reported there was no make file in the 
  current directory. Inspection of the previous commands output told me about 
  some error that a c compiler on the host system was missing:
  
 
  
  Please advise me. 
  
 For a C compiler, download one from your host distro. After (or
 before) that, please look at Host System Requirements in the
 Preface (page 16 of the PDF). To be honest, if you have no
 experience of compiling, I don't think you will be ready for LFS.
 
  Besides when I copy multiline commands out of your pdf terminal interpretes 
  each single line on its one which of course doesn't work. Can I do 
  something about that?
  
 Paste or copy the whole line, ensuring that any '\' is the last
 character. Most people don't use the PDF, and paste from the html
 version in their browser to a term. Of course, that does assume
 you are using a desktop environment which doesn't want to maximize
 an application to full-screen.
 
 I'm also not sure why you would decompress the packages - any
 adequate version of tar will cope with all the various forms of
 compression, provided the decompressors have been installed [ see
 posts from the last 24 hours for which versions of tar are adequate,
 in the archives if you weren't subscribed ].
 
 ĸen
 -- 
 das eine Mal als Tragödie, das andere Mal als Farce
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
  -- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] (no subject)

2012-11-24 Thread Tobias Linus Seidler


Hello.

I downloaded and decompressed the packages with wget as instructed in the lfs 
book. Within the host-system and as lfs-user I created and cd-ed into the 
binutils-build folder and executed the ../binutils-2.22/configure 
--prefix=/tools --with-sysro command.

Then I executed 'make' put terminal reported there was no make file in the 
current directory. Inspection of the previous commands output told me about 
some error that a c compiler on the host system was missing:


checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-lfs-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/mnt/lfs/sources/binutils-build':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


Please advise me. 

Besides when I copy multiline commands out of your pdf terminal interpretes 
each single line on its one which of course doesn't work. Can I do something 
about that?

Regards.
  -- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2012-11-24 Thread Ken Moffat
On Sat, Nov 24, 2012 at 07:55:17PM +, Tobias Linus Seidler wrote:
 
 
 Hello.
 
 I downloaded and decompressed the packages with wget as instructed in the lfs 
 book. Within the host-system and as lfs-user I created and cd-ed into the 
 binutils-build folder and executed the ../binutils-2.22/configure 
 --prefix=/tools --with-sysro command.
 
 Then I executed 'make' put terminal reported there was no make file in the 
 current directory. Inspection of the previous commands output told me about 
 some error that a c compiler on the host system was missing:
 

 
 Please advise me. 
 
 For a C compiler, download one from your host distro.  After (or
before) that, please look at Host System Requirements in the
Preface (page 16 of the PDF).  To be honest, if you have no
experience of compiling, I don't think you will be ready for LFS.

 Besides when I copy multiline commands out of your pdf terminal interpretes 
 each single line on its one which of course doesn't work. Can I do something 
 about that?
 
 Paste or copy the whole line, ensuring that any '\' is the last
character.  Most people don't use the PDF, and paste from the html
version in their browser to a term.  Of course, that does assume
you are using a desktop environment which doesn't want to maximize
an application to full-screen.

 I'm also not sure why you would decompress the packages - any
adequate version of tar will cope with all the various forms of
compression, provided the decompressors have been installed [ see
posts from the last 24 hours for which versions of tar are adequate,
in the archives if you weren't subscribed ].

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] (no subject)

2012-11-04 Thread Rahul Udasi
rahulud...@hotmail.com

Sent from my BlackBerry device on the Rogers Wireless Network

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2012-09-23 Thread Israel Silberg
On Fri, Sep 21, 2012 at 2:35 AM, Mikie k...@mikienet.com wrote:

 Did you remove backslashes at the end of lines?

 It should look like below:

 ./configure --prefix=/usr \
 --libexecdir=/usr/lib \
 ...

 Try just copypaste from the book.

 --
 Pozdrawiam,
 Tomasz Sekściński

 Israel,

 Those back-slashes mean continue on the next line ... so that you can
 see each option on a single line.

 You can try it at a bash prompt.

 Type a single back slash and it does not return but starts a new line for
 the rest of your command.

 On each new line you can end with another back slash until you are ready
 to hit return.

 Enjoy.



 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


Hi all,
The problem was in coping from the book.
When I copied the command to a text editor and removed the new line and
made everything in one line and copied it to the command line of the
terminal everything went OK (for now).

Israel
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] (no subject)

2012-09-20 Thread Israel Silberg
Hi All,
I'm about to loose any hope of finishing this LFS build.
During the MAN-DB compilation in section 6.55
in the section:

./configure --prefix=/usr
--libexecdir=/usr/lib
--docdir=/usr/share/doc/man-db-2.6.2
--sysconfdir=/etc
--disable-setuid
--with-browser=/usr/bin/lynx
--with-vgrind=/usr/bin/vgrind
--with-grap=/usr/bin/grap

I get the following result:

root: /sources/man-db-2.6.2# --libexecdir=/usr/lib
bash: --libexecdir=/usr/lib: No such file or directory
root: /sources/man-db-2.6.2# --docdir=/usr/share/doc/man-db-2.6.2
bash: --docdir=/usr/share/doc/man-db-2.6.2: No such file or directory
root: /sources/man-db-2.6.2# --sysconfdir=/etc
bash: --sysconfdir=/etc: No such file or directory
root: /sources/man-db-2.6.2# --disable-setuid
bash: --disable-setuid: command not found
root: /sources/man-db-2.6.2# --with-browser=/usr/bin/lynx
bash: --with-browser=/usr/bin/lynx: No such file or directory
root: /sources/man-db-2.6.2# --with-vgrind=/usr/bin/vgrind
bash: --with-vgrind=/usr/bin/vgrind: No such file or directory
root: /sources/man-db-2.6.2# --with-grap=/usr/bin/grap
bash: --with-grap=/usr/bin/grap: No such file or directory

I checked and indeed I don't have these file under /usr/bin
What can be the reason? What have I done wrong?
Regards,
Israel
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2012-09-20 Thread Tomasz Sekściński
Dnia 2012-09-20, o godz. 16:03:03
Israel Silberg isr...@silberg.co.il napisał(a):

 Hi All,
 I'm about to loose any hope of finishing this LFS build.
 During the MAN-DB compilation in section 6.55
 in the section:
 
 ./configure --prefix=/usr
 --libexecdir=/usr/lib
 --docdir=/usr/share/doc/man-db-2.6.2
 --sysconfdir=/etc
 --disable-setuid
 --with-browser=/usr/bin/lynx
 --with-vgrind=/usr/bin/vgrind
 --with-grap=/usr/bin/grap
 

Did you remove backslashes at the end of lines?

It should look like below:

./configure --prefix=/usr \
--libexecdir=/usr/lib \
...

Try just copypaste from the book.

-- 
Pozdrawiam,
Tomasz Sekściński
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2012-09-20 Thread Mikie
Did you remove backslashes at the end of lines?

It should look like below:

./configure --prefix=/usr \
--libexecdir=/usr/lib \
...

Try just copypaste from the book.

-- 
Pozdrawiam,
Tomasz Sekściński

Israel,

Those back-slashes mean continue on the next line ... so that you can see 
each option on a single line.

You can try it at a bash prompt.

Type a single back slash and it does not return but starts a new line for the 
rest of your command.

On each new line you can end with another back slash until you are ready to hit 
return.

Enjoy.



-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] (no subject)

2011-11-24 Thread Aaron Hill
I am using Version 7.0 of the LFS book. When I try to compile GCC with the
make command as root, I receive the following error:

cc1-checksum.o main.o tree-browser.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
 -L/mnt/lfs/sources/gcc-build/./gmp/.libs
-L/mnt/lfs/sources/gcc-build/mpfr/src/.libs
-L/mnt/lfs/sources/gcc-build/./mpc/src/.libs -lmpc -lmpfr -lgmp -rdynamic
-ldl  -L../zlib -lz
collect2: ld terminated with signal 9 [Killed]
make[3]: *** [cc1] Error 1
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
amake: *** [all] Error 2

I saw a similar problem at this
posthttp://www.linuxfromscratch.org/pipermail/lfs-support/2011-September/041326.html,
but the person was using an older version of the book. Can you help me?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (no subject)

2011-11-24 Thread Eleanore Boyd

On 11/24/2011 10:41 AM, Aaron Hill wrote:
I am using Version 7.0 of the LFS book. When I try to compile GCC with 
the make command as root, I receive the following error:


cc1-checksum.o main.o tree-browser.o libbackend.a ../libcpp/libcpp.a 
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   
 -L/mnt/lfs/sources/gcc-build/./gmp/.libs 
-L/mnt/lfs/sources/gcc-build/mpfr/src/.libs 
-L/mnt/lfs/sources/gcc-build/./mpc/src/.libs -lmpc -lmpfr -lgmp 
-rdynamic -ldl  -L../zlib -lz

collect2: ld terminated with signal 9 [Killed]
make[3]: *** [cc1] Error 1
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
amake: *** [all] Error 2

I saw a similar problem at this post 
http://www.linuxfromscratch.org/pipermail/lfs-support/2011-September/041326.html, 
but the person was using an older version of the book. Can you help me?



I think something killed the process, as it even says so. Make sure no 
antivirus is running in the background, and make sure nothing is outside 
the chroot environment where it won't be seen. Also, make sure there 
isn't a process killer running when you're doing this.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2011-04-27 Thread thomas castleidne

Dear Linux From ScratchI have just hit chapter three of the book and im having 
problems downloading the packages. I cannot seem to get the required packages, 
i am connect to the internet via ethernet cable.when i try : wget 
http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.bz2 for examplei get : 
Resolving ftp.gnu.org... failed: Temporary failure in name resolutioncan you 
help me please?many thanks Sam Castledine   
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2011-04-27 Thread thomas castleidne

Dear Linux From ScratchI have just hit chapter three of the book and im having 
problems downloading the packages. I cannot seem to get the required packages, 
i am connect to the internet via ethernet cable.when i try : wget 
http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.bz2 for examplei get : 
Resolving ftp.gnu.org... failed: Temporary failure in name resolutioncan you 
help me please?many thanks Sam Castledine   
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2010-07-15 Thread aztec007
http://www.conexaoinfo.srv.br/about.php
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2010-07-15 Thread aztec007
http://www.cavexpert.com/about.php
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2010-07-15 Thread aztec007
http://meduza.e.pl/about.php
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2010-07-15 Thread aztec007
http://mybulli.de/about.php
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2010-07-15 Thread aztec007
http://beaufboutique.com/about.php
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2010-07-15 Thread aztec007
http://cirl.org/about.php
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2010-02-12 Thread bchaffin

 

  I am working from book 6.5
I am up to the stage of building Glibc from within the system proper, chap
ter  6 section 9.1
This command:
DL=3D$(readelf -l /bin/sh | sed -n 
's...@.*interpret.*/tools\(.*\)]...@\1@p')
produces the following output:
bash: command substitution: line 35: syntax error near unexpected token `)
'
bash: command substitution: line 35: `readelf -l /bin/sh | sed -n 
's...@.*int
erpret.*/tools\(.*\)]...@\1@p')'
Any ideas?


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2010-01-08 Thread Hamish West

Hi again,Firstly thanks to everyone who helped me with my binutils problem, 
that finally worked out.now i have a problem with GCC pass 1, i installed GMP 
and MPFR as per the instructions said, with the exception that MPFR was .tar.gz 
not .tar.bz2 so i had to change tar -jxf ../mpfr-2.4.1.tar.bz2 to tar zxf 
../mpfr-2.4.1. Now when i go to make GCC, i get this message:
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.Try the 
--with-gmp and/or --with-mpfr options to specify their locations.Copies of 
these libraries' source code can be found at their respectivehosting sites as 
well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.See also 
http://gcc.gnu.org/install/prerequisites.html for additional info.If you 
obtained GMP and/or MPFR from a vendor distribution package, makesure that you 
have installed both the libraries and the header files.They may be located in 
separate packages.
My host is Ubuntu 9.10
Thanks in advance,Hamish
  
_
View photos of singles in your area! Browse profiles for FREE
http://clk.atdmt.com/NMN/go/150855801/direct/01/-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Subject goes here

2010-01-08 Thread Bruce Dubbs
Hamish West wrote:

Without a subject line.  If you want to keep posting use the Subject: 
line.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2010-01-06 Thread Hamish West

Ok, my problem is, When I type in this command:



mkdir -v ../binutils-build

cd ../binutils-build



Found on page:36 of LFS version:3.6 I get this message in return:



l...@westnotebook:~$ mkdir -v ../binutils-build

mkdir: cannot create directory `../binutils-build': Permission denied

l...@westnotebook:~$ cd ../binutils-build

bash: cd: ../binutils-build: No such file or directory



My host is:Ubuntu 9.10 Karmic Koala in a clean install
If anyone can help, please email me at:hamishru...@live.com.au



Thanks in advance,

Hamish
  
_
Time for a new car? Sell your old one fast!
http://clk.atdmt.com/NMN/go/157637060/direct/01/-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2009-12-15 Thread Pixel 73

 

 

Hi

 

I am new to LFS and am therefore not sure if I am in the right place to ask 
this question:

 

I am doing LFS 6.3. Everything went well until Chapter 6.12, GCC-4.1.2. When I 
am checking for the correct startfiles with

 

grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log

 

there is no output. All other grep-commands are successful. 

 

Thank you in advance for your help.

 

CU

pixel73
  
_
Samichlaus du liebe Maa, hesch dis Hotmail hüt scho gha? Gratis Geschenk 
runterladen!
http://www.microsoft.com/switzerland/windows/de/windowslive/hotmail_bl1/hotmail_bl1.aspx-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2009-04-27 Thread jnbutler
I searched the FAQ, Errata, and the mailing list but did not find
anything about this error I'm getting while compiling
util-linux-ng-2.14.1. Everything else up to this point configured
and compiled successfully. Thanks for any help you can provide.

My system is Fedora 10 Linux 2.6.27.21-170.2.56.fc10.i686 #1 SMP
Mon Mar 23 23:37:54 EDT 2009 i686 GNU/Linux

AMD Sempron 1Gig Memory

Here is the output from running the second make command where the
error is raised:

lfs:/mysys/sources/util-linux-ng-2.14.1$ make -C text-utils more
make: Entering
directory `/mysys/sources/util-linux-ng-2.14.1/text-utils'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -include ../config.h
-I../include -DLOCALEDIR=\/tools/share/locale\ -fsigned-char
-g -O2 -MT more.o -MD -MP -MF .deps/more.Tpo -c -o more.o more.c
more.c:175:52: error: term.h: No such file or directory
more.c: In function 'my_putstring':
more.c:179: warning: implicit declaration of function 'tputs'
more.c: In function 'my_setupterm':
more.c:184: warning: implicit declaration of function 'setupterm'
make: *** [more.o] Error 1
make: Leaving directory
`/mysys/sources/util-linux-ng-2.14.1/text-utils'
lfs:/mysys/sources/util-linux-ng-2.14.1$



James Butler  -- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(No subject)

2008-08-08 Thread Daniel Corda
OK guys I am done but I have on big problem which I really need help on.
My kernel panics on startup sayin 

[ 13.472000] VFS: Cannot open root device sda5 or unknown-block(0,0)
[ 13.472000] Please append a correct root= boot option; here are
the available partitions: 
[ 13.472000] 0300 4194302 hda driver : ide-cdrom
[ 13.472000] Kernel panic - not syncing: VFS: Unable to mount root fs 
on unknown-block(0,0)

I do not know what to do I have looked at some similar errors but cannot
really isolate  a problem.

I have a lenovo/ibm t60 it has a scsi hardrive the partitions are as follows

/dev/sda2/ext3

/dev/sda1 extended 
/dev/sda5/ext3 boot partition with lfs
/dev/sda6/swap

sda 5 and 6 are in extended partition 1

I really do not know if this information is relevant but i noticed that
my boot partitions type is ext3 and it is using vfs I enabled vfs as a
module  for compatibility. I have looked at a couple of forum
conversations. please I really appreciate any solutions or idea on what
to fix this problem. Thank you so much. Peace

Dan C   


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2008-02-17 Thread Jeremy Henty

I  upgraded my  LFS 6.1.1  from  2.6.23 to  2.6.24 and  now all  8-bit
characters appear  as a reverse-video  question mark in  the terminal.
At  least this  is true  for  the pound  sign in  emacs, and  accented
characters in mutt.  If I run emacs in xterm the pound signs are OK.

The local  Linux Users Group suggested  running unicode_start, which
changed the font but otherwise didn't help, and running:

kbd_mode -u
echo -n -e '\033%G'
setfont latarcyrheb-sun16

...which also  didn't help  and complained it  couldn't find  the font
latarcyrheb-sun16 .

I didn't  touch anything  outside /boot when  I upgraded.  Ages  ago I
customised/etc/sysconfig/consoletoset   KEYMAP=ukand
FONT=lat1-14 , but that's the only change.

Any ideas?

Jeremy Henty 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2008-01-31 Thread [EMAIL PROTECTED]
Hello all!

while i'm trying to make e2fsprogs-1.40.2 on step 6.15 of LFS i've got an 
error:

make[2]: Entering directory «/sources/e2fsprogs-1.40.2/build/doc»
MAKEINFO libext2fs.info
make[2]: makeinfo: Command not found
make[2]: [libext2fs.info] Error 127 (ignored)
make[2]: Leaving directory «/sources/e2fsprogs-1.40.2/build/doc»
make[1]: Leaving directory «/sources/e2fsprogs-1.40.2/build»

how can i fix this?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[no subject]

2007-03-28 Thread gerhardRamsebner
The configure script coming with unixodbc didn't find X in /usr.
I set the values of x_includes and x_libraries in the script.
Everything works just fine then. 

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2006-10-23 Thread Denis Silin
Hello!

There is a problem with actions from ch. 5.7 Adjusting the Toolchain. This 
command gives an error - bash: $SPECFILE: ambiguous redirect. 
It seems that there is no file specs on the LFS partition at all. What may be 
wrong and how to correct it?

lfs:~$ SPECFILE='dirname $(gcc -print-libgcc-file-name)'/specs  gcc 
-dumpspecs  $SPECFILE  sed '[EMAIL PROTECTED]/lib/ld-linux.so.2@/tools@g' 
$SPECFILE  tempspecfile  unset SPECFILE
bash: $SPECFILE: ambiguous redirect
lfs:~$
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-10-23 Thread Dan Nicholson

On 10/23/06, Denis Silin [EMAIL PROTECTED] wrote:

Hello!

There is a problem with actions from ch. 5.7 Adjusting the Toolchain. This 
command gives an error - bash: $SPECFILE: ambiguous redirect.
It seems that there is no file specs on the LFS partition at all. What may be 
wrong and how to correct it?

lfs:~$ SPECFILE='dirname $(gcc -print-libgcc-file-name)'/specs


It looks like you made a typo. The mark at the beginning is a `
(backtick), not a ' (quote). Same for the one after name). So, the
command should be:

SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-10-23 Thread dperkins
 On 10/23/06, Denis Silin [EMAIL PROTECTED] wrote:
 Hello!

 There is a problem with actions from ch. 5.7 Adjusting the Toolchain.
 This command gives an error - bash: $SPECFILE: ambiguous redirect.
 It seems that there is no file specs on the LFS partition at all. What
 may be wrong and how to correct it?

 lfs:~$ SPECFILE='dirname $(gcc -print-libgcc-file-name)'/specs

 It looks like you made a typo. The mark at the beginning is a `
 (backtick), not a ' (quote). Same for the one after name). So, the
 command should be:

 SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs

 --
 Dan
 --

Maybe it would be better to say this?

SPECFILE=$(dirname $(gcc -print-libgcc-file-name))/specs


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2006-10-04 Thread Denis Silin
Hello.

Can I use in the LFS the compiler, libraries and other tools directly from my 
Linux, and not build them?

Best regards,
Alex

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-10-04 Thread veritosproject

On 10/4/06, Denis Silin [EMAIL PROTECTED] wrote:

Hello.

Can I use in the LFS the compiler, libraries and other tools directly from my 
Linux, and not build them?



I don't see any reason not to, but that would ruin the point of using
LFS.  You might as well just install Linspire.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-08-24 Thread Richard Melville
When I built my LFS system, i got the GRUB error 18 message at stage  
1.5. i looked this up and saw something about my disk was beyond the  
scope of the BIOS or something (the meaning of error 18).




Isn't this the error referred to in the LFS book - the one it says to 
ignore.


Richard
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-08-24 Thread Colin Kemp


On Aug 24, 2006, at 5:13 AM, Richard Melville wrote:

When I built my LFS system, i got the GRUB error 18 message at  
stage  1.5. i looked this up and saw something about my disk was  
beyond the  scope of the BIOS or something (the meaning of error 18).




Isn't this the error referred to in the LFS book - the one it says  
to ignore.


Richard
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Even if i ignore it, it still doesnt solve the booting problem. I  
should have added that it hangs after it says that



Colin Kemp
Manager of:
GreenBall Enterprises,
www.greenballenterprises.net
[EMAIL PROTECTED]



--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-08-24 Thread Colin Kemp


On Aug 23, 2006, at 2:43 PM, Brandon Peirce wrote:


Dan Nicholson wrote:

On 8/22/06, Colin Kemp [EMAIL PROTECTED] wrote:


When I built my LFS system, i got the GRUB error 18 message at stage
1.5. i looked this up and saw something about my disk was beyond the
scope of the BIOS or something (the meaning of error 18). First, can
i have a clarification of my problem and second, a way to fix it? my
disk has
- hda1 as my LFS system
- hda2 as a Windows partition
- hda3 as a swap
- hda4 as unused, ext3 formatted space

each partition is 60GB, excepting the swap which is about 16GB


Setup looks sane. I'm not familiar with the GRUB errors. /boot
directory is on hda1, correct? Could you show /boot/grub/menu.lst?
Let's make sure the basics are in place before exploring what's up
with your BIOS, etc.


Colin, whether you start again with ALFS or LFS, you are likely to  
run into the same problem again. The basic issue as far as I can  
see, is that you are using one large partition for LFS. While a  
Linux kernel has no problem reading large disks, most PC BIOSs do.


This dates back to the original design of the BIOS disk interface  
in the 1980's when a 20MB was a large hard disk.  IBM decided to  
squeeze the Cylinder, Head, Sector address into one 16-bit  
register: 10b for Cyl, 8b for Hd, 6b for Sect IIRC. This addressing  
scheme can only access a max of 1024 cyl * 255 hd * 63 sect * 512  
Bytes/sect which is approx 8GB if I calculate correctly.


At boot time, the BIOS loads your boot manager (grub, lilo, ntldr,  
or whatever) and the boot manager doesn't have much else available  
other than the BIOS services to load the kernel from disk into  
memory. Once the kernel has booted you have access to your full  
disks, but everything needed to load the kernel must be below  
cylinder 1024 to be sure of success. There may be ways to bypass  
this, e.g. BIOS extensions, a boot loader that implements it's own  
disk access bypassing the BIOS (and still fits into about 330 Bytes  
of your boot sector?) The simplest and safest method is to make  
sure your kernel is fully contained within the first 1024 cylinders  
of your disk.


When you write a file (e.g. your kernel image) to the filesystem  
you have no way of controlling which disk blocks within the  
partition are used to store it. The only thing you can say is that,  
as a genereral rule, the disk will start filling up from the  
beginning (low cyl #) and grow towards the end. As you have filled  
up your LFS partition with sources and installed programs and only  
compiled and installed the kernel right near the end, it is most  
likely partly or completely located beyond the 1024 cyl boundary.


The typical solution is to have your kernel on a small partition  
located near the beginning of the disk. This is either the root  
partition or a dedicated boot partition. A dedicated boot partition  
can be shared between different Linux instances on a multi-boot PC,  
in which case your root partition can be as big as you like.


However the recommended way is to keep the root partition as small  
as possible by moving at least /usr and /var onto separate  
partitions (which is rather like putting your Program Files and  
Documents and Settings folders on different disks/partitions in a  
Windoze installation, except it's easier to accomplish ;-). The  
best is to make /usr a read-only partition (after installing, of  
course) and /var writable. The reasoning, I will not repeat as it  
is well explained in the (short ~ 1 page) chapter 2 of FHS.

http://www.pathname.com/fhs/pub/fhs-2.3.html#THEFILESYSTEM
Chapter 5 of the same document also explains the best way to  
combine /var and /usr on one partition.


Brandon


--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Hey, thanks everybody, i got it to work...


Colin Kemp
Manager of:
GreenBall Enterprises,
www.greenballenterprises.net
[EMAIL PROTECTED]



--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-08-23 Thread Colin Kemp
thanks for the help, but I got bored with it and started over i  
hadn't followed the book that much towards the end, and i have wanted  
to try out ALFS.

On Aug 23, 2006, at 12:21 AM, Dan Nicholson wrote:


On 8/22/06, Colin Kemp [EMAIL PROTECTED] wrote:


When I built my LFS system, i got the GRUB error 18 message at stage
1.5. i looked this up and saw something about my disk was beyond the
scope of the BIOS or something (the meaning of error 18). First, can
i have a clarification of my problem and second, a way to fix it? my
disk has
- hda1 as my LFS system
- hda2 as a Windows partition
- hda3 as a swap
- hda4 as unused, ext3 formatted space

each partition is 60GB, excepting the swap which is about 16GB


Setup looks sane. I'm not familiar with the GRUB errors. /boot
directory is on hda1, correct? Could you show /boot/grub/menu.lst?
Let's make sure the basics are in place before exploring what's up
with your BIOS, etc.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page





Colin Kemp
Manager of:
GreenBall Enterprises,
www.greenballenterprises.net
[EMAIL PROTECTED]



--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-08-23 Thread Colin Kemp


On Aug 23, 2006, at 2:43 PM, Brandon Peirce wrote:


Dan Nicholson wrote:

On 8/22/06, Colin Kemp [EMAIL PROTECTED] wrote:


When I built my LFS system, i got the GRUB error 18 message at stage
1.5. i looked this up and saw something about my disk was beyond the
scope of the BIOS or something (the meaning of error 18). First, can
i have a clarification of my problem and second, a way to fix it? my
disk has
- hda1 as my LFS system
- hda2 as a Windows partition
- hda3 as a swap
- hda4 as unused, ext3 formatted space

each partition is 60GB, excepting the swap which is about 16GB


Setup looks sane. I'm not familiar with the GRUB errors. /boot
directory is on hda1, correct? Could you show /boot/grub/menu.lst?
Let's make sure the basics are in place before exploring what's up
with your BIOS, etc.


Colin, whether you start again with ALFS or LFS, you are likely to  
run into the same problem again. The basic issue as far as I can  
see, is that you are using one large partition for LFS. While a  
Linux kernel has no problem reading large disks, most PC BIOSs do.


This dates back to the original design of the BIOS disk interface  
in the 1980's when a 20MB was a large hard disk.  IBM decided to  
squeeze the Cylinder, Head, Sector address into one 16-bit  
register: 10b for Cyl, 8b for Hd, 6b for Sect IIRC. This addressing  
scheme can only access a max of 1024 cyl * 255 hd * 63 sect * 512  
Bytes/sect which is approx 8GB if I calculate correctly.


At boot time, the BIOS loads your boot manager (grub, lilo, ntldr,  
or whatever) and the boot manager doesn't have much else available  
other than the BIOS services to load the kernel from disk into  
memory. Once the kernel has booted you have access to your full  
disks, but everything needed to load the kernel must be below  
cylinder 1024 to be sure of success. There may be ways to bypass  
this, e.g. BIOS extensions, a boot loader that implements it's own  
disk access bypassing the BIOS (and still fits into about 330 Bytes  
of your boot sector?) The simplest and safest method is to make  
sure your kernel is fully contained within the first 1024 cylinders  
of your disk.


When you write a file (e.g. your kernel image) to the filesystem  
you have no way of controlling which disk blocks within the  
partition are used to store it. The only thing you can say is that,  
as a genereral rule, the disk will start filling up from the  
beginning (low cyl #) and grow towards the end. As you have filled  
up your LFS partition with sources and installed programs and only  
compiled and installed the kernel right near the end, it is most  
likely partly or completely located beyond the 1024 cyl boundary.


The typical solution is to have your kernel on a small partition  
located near the beginning of the disk. This is either the root  
partition or a dedicated boot partition. A dedicated boot partition  
can be shared between different Linux instances on a multi-boot PC,  
in which case your root partition can be as big as you like.


However the recommended way is to keep the root partition as small  
as possible by moving at least /usr and /var onto separate  
partitions (which is rather like putting your Program Files and  
Documents and Settings folders on different disks/partitions in a  
Windoze installation, except it's easier to accomplish ;-). The  
best is to make /usr a read-only partition (after installing, of  
course) and /var writable. The reasoning, I will not repeat as it  
is well explained in the (short ~ 1 page) chapter 2 of FHS.

http://www.pathname.com/fhs/pub/fhs-2.3.html#THEFILESYSTEM
Chapter 5 of the same document also explains the best way to  
combine /var and /usr on one partition.


Brandon


--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Thanks man, i thought something like that had happened... I'll let  
you know how it all works out



Colin Kemp
Manager of:
GreenBall Enterprises,
www.greenballenterprises.net
[EMAIL PROTECTED]



--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2006-08-22 Thread Colin Kemp

Hello,

When I built my LFS system, i got the GRUB error 18 message at stage  
1.5. i looked this up and saw something about my disk was beyond the  
scope of the BIOS or something (the meaning of error 18). First, can  
i have a clarification of my problem and second, a way to fix it? my  
disk has

- hda1 as my LFS system
- hda2 as a Windows partition
- hda3 as a swap
- hda4 as unused, ext3 formatted space

each partition is 60GB, excepting the swap which is about 16GB

Thank you



Colin Kemp
Manager of:
GreenBall Enterprises,
www.greenballenterprises.net
[EMAIL PROTECTED]



--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-08-22 Thread Dan Nicholson

On 8/22/06, Colin Kemp [EMAIL PROTECTED] wrote:


When I built my LFS system, i got the GRUB error 18 message at stage
1.5. i looked this up and saw something about my disk was beyond the
scope of the BIOS or something (the meaning of error 18). First, can
i have a clarification of my problem and second, a way to fix it? my
disk has
- hda1 as my LFS system
- hda2 as a Windows partition
- hda3 as a swap
- hda4 as unused, ext3 formatted space

each partition is 60GB, excepting the swap which is about 16GB


Setup looks sane. I'm not familiar with the GRUB errors. /boot
directory is on hda1, correct? Could you show /boot/grub/menu.lst?
Let's make sure the basics are in place before exploring what's up
with your BIOS, etc.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2006-07-14 Thread lfs
Hi all

I collected LFS on vmware on installed red-hat
Has reached to point 6.61. Stripping Again and has kept snapshot
Has overloaded vmware has returned in red-hat 
Being under root RHL
I should get in an environment chroot here this command
chroot $LFS/tools/bin/env-i \
HOME =/root TERM = $ TERM PS1 = ' \u: \w \ $ ' \
PATH =/bin:/usr/bin:/sbin:/usr/sbin \
/tools/bin/bash - login
But I receive an error
chroot: cannot change root directory to/tools/bin/env: Not a directory

How to me will return in choot an environment?



-- 

 lfs  mailto:[EMAIL PROTECTED]


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-07-14 Thread Dan Nicholson

On 7/14/06, lfs [EMAIL PROTECTED] wrote:


chroot $LFS/tools/bin/env-i \
HOME =/root TERM = $ TERM PS1 = ' \u: \w \ $ ' \
PATH =/bin:/usr/bin:/sbin:/usr/sbin \
/tools/bin/bash - login
But I receive an error
chroot: cannot change root directory to/tools/bin/env: Not a directory


The command you wrote above is not what's in the book. You've added
and removed spaces from it. Please try again with the command on the
following page.

http://www.linuxfromscratch.org/lfs/view/development/chapter06/chroot.html

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2006-06-09 Thread pavithra aravamudhan

Dear Users,
  I'm new to LFS. I'm currently working on lfs-6.1.1. My host is
running on Fedora Core 2 (kernel 2.6.5 and gcc 3.3.3). I have
installed binutils and gcc successfully. when i try installing
glibc-2.3.4, i get the following error..

running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later.  This check uses linux/version.h, so
make sure that file was built correctly when installing the kernel header
files.  To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.

i have already copied the required kernel header files from the host
system, to appropriate locations on my LFS partition. i am also using
the --with-headers flag with appropriate path.

any suggestions are appreciated.

thanks in advance.
pavi.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-06-09 Thread Andrei A. Voropaev
On Fri, Jun 09, 2006 at 05:41:36PM +0530, pavithra aravamudhan wrote:
 Dear Users,
   I'm new to LFS. I'm currently working on lfs-6.1.1. My host is
 running on Fedora Core 2 (kernel 2.6.5 and gcc 3.3.3). I have
 installed binutils and gcc successfully. when i try installing
 glibc-2.3.4, i get the following error..
 
 running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
 checking installed Linux kernel header files... TOO OLD!
 configure: error: GNU libc requires kernel header files from
 Linux 2.0.10 or later to be installed before configuring.
 The kernel header files are found usually in /usr/include/asm and
 /usr/include/linux; make sure these directories use files from
 Linux 2.0.10 or later.  This check uses linux/version.h, so
 make sure that file was built correctly when installing the kernel header
 files.  To use kernel headers not from /usr/include/linux, use the
 configure option --with-headers.

The part below makes me real suspicious.

 i have already copied the required kernel header files from the host
 system, to appropriate locations on my LFS partition. i am also using
 the --with-headers flag with appropriate path.

You shouldn't copy headers from your host system. There's
linux-libc-headers.tar.bz2 that you should untar and copy headers from
there.

-- 
Minds, like parachutes, function best when open
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-06-09 Thread Andrew Benton

pavithra aravamudhan wrote:

Dear Users,
  I'm new to LFS. I'm currently working on lfs-6.1.1. My host is
running on Fedora Core 2 (kernel 2.6.5 and gcc 3.3.3). I have
installed binutils and gcc successfully. when i try installing
glibc-2.3.4, i get the following error..

running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... TOO OLD!


There is a problem with the kernel headers



i have already copied the required kernel header files from the host
system, to appropriate locations on my LFS partition. i am also using
the --with-headers flag with appropriate path.


You shouldn't install the kernel headers from your host system. Install 
the linux libc headers just as the book describes


Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-06-09 Thread pavithra aravamudhan

Dear Mr. Andrei,
   Thank you so much for your reply. That actually was the problem. I
overlooked the existence of that package in the tarball i had
downloaded from the lfs repository.

thanks again.
pavi.

On 6/9/06, Andrei A. Voropaev [EMAIL PROTECTED] wrote:

On Fri, Jun 09, 2006 at 05:41:36PM +0530, pavithra aravamudhan wrote:
 Dear Users,
   I'm new to LFS. I'm currently working on lfs-6.1.1. My host is
 running on Fedora Core 2 (kernel 2.6.5 and gcc 3.3.3). I have
 installed binutils and gcc successfully. when i try installing
 glibc-2.3.4, i get the following error..

 running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
 checking installed Linux kernel header files... TOO OLD!
 configure: error: GNU libc requires kernel header files from
 Linux 2.0.10 or later to be installed before configuring.
 The kernel header files are found usually in /usr/include/asm and
 /usr/include/linux; make sure these directories use files from
 Linux 2.0.10 or later.  This check uses linux/version.h, so
 make sure that file was built correctly when installing the kernel header
 files.  To use kernel headers not from /usr/include/linux, use the
 configure option --with-headers.

The part below makes me real suspicious.

 i have already copied the required kernel header files from the host
 system, to appropriate locations on my LFS partition. i am also using
 the --with-headers flag with appropriate path.

You shouldn't copy headers from your host system. There's
linux-libc-headers.tar.bz2 that you should untar and copy headers from
there.

--
Minds, like parachutes, function best when open
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2006-06-09 Thread pavithra aravamudhan

Dear Mr. Andy,
   Thank you too for your reply. I could solve the compilation problem now.

regards,
pavi.

On 6/9/06, pavithra aravamudhan [EMAIL PROTECTED] wrote:

Dear Mr. Andrei,
Thank you so much for your reply. That actually was the problem. I
overlooked the existence of that package in the tarball i had
downloaded from the lfs repository.

thanks again.
pavi.

On 6/9/06, Andrei A. Voropaev [EMAIL PROTECTED] wrote:
 On Fri, Jun 09, 2006 at 05:41:36PM +0530, pavithra aravamudhan wrote:
  Dear Users,
I'm new to LFS. I'm currently working on lfs-6.1.1. My host is
  running on Fedora Core 2 (kernel 2.6.5 and gcc 3.3.3). I have
  installed binutils and gcc successfully. when i try installing
  glibc-2.3.4, i get the following error..
 
  running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
  checking installed Linux kernel header files... TOO OLD!
  configure: error: GNU libc requires kernel header files from
  Linux 2.0.10 or later to be installed before configuring.
  The kernel header files are found usually in /usr/include/asm and
  /usr/include/linux; make sure these directories use files from
  Linux 2.0.10 or later.  This check uses linux/version.h, so
  make sure that file was built correctly when installing the kernel
header
  files.  To use kernel headers not from /usr/include/linux, use the
  configure option --with-headers.

 The part below makes me real suspicious.

  i have already copied the required kernel header files from the host
  system, to appropriate locations on my LFS partition. i am also using
  the --with-headers flag with appropriate path.

 You shouldn't copy headers from your host system. There's
 linux-libc-headers.tar.bz2 that you should untar and copy headers from
 there.

 --
 Minds, like parachutes, function best when open
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page



--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2006-05-24 Thread Klaus Sinfelt

Hi,
Linux From Scratch book v. 6.1.1, chapter 5.32.1, p. 72
I am booting from and using the sources from the LFS live CD  
(lfslivecd-x86-6.1.1-3.iso)


I've gotten almost all the way through ch. 6 and have run into a 
problem, -- I think it has something
to do with my inexperience or not fully understanding the chroot 
environment.  the problem occurs
in 6.61 Stripping Again and in 6.62 Cleaning Up (pages 190-191 of 
Linux From Scratch book 6.1.1.


1) Exited from chroot by issuing:

logout

2) Reentered with:

chroot $LFS  /tools/bin/env -i  \
HOME=/root  TERM=$TERM  PS1='\u:\w\$ '  \
PATH=/bin:/usr/bin:/sbin:/usr/sbin  \
/tools/bin/bash  --login

3)  With (2) above, I encountered the first problem - I received a 
message that

/tools/bin/env does not exist.  So I checked the $LFS variable with:

echo $LFS

It was no longer set, so I reset it with:

export LFS =/mnt/lfs

checked it with:

echo $LFS

and received: /mnt/lfs

After that, step (2) above worked fine.

4)  On to part 6.62 Cleaning Up.  I exited and reentered the the 
chroot

environment using the modified command specified in the book (p.191):

chroot $LFS  /usr/bin/env -i  \
HOME=/root  TERM=$TERM  PS1='\u:\w\$ '  \
PATH=/bin:/usr/bin:/sbin:/usr/sbin  \
/bin/bash  --login

This time, I received another not found error for /usr/bin/env.  So I 
checked
/mnt/lfs/usr/bin and, of course, discovered that env was missing.  (It 
is, however, in
/usr/bin/, but not in /mnt/lfs/usr/bin).  As mentioned, I am booting 
from and using the

source files from the lfslivecd-x86-6.1.1-3.iso.

5)  What to do?  I am concerned that I may have installed all the 
programs from the wrong
environment.  This is just a guess, as I am really new to this.  I 
would hate to

turn back now.  Is there anything I can do?

Also - thanks for the help in my first problem at the end of ch. 5 
regarding the

missing perl and pod2man files.

Klaus Sinfelt

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


subject for previous: missing /usr/bin/env (my apologies)

2006-05-24 Thread Klaus Sinfelt

Sorry for the lack of subject - I am a bit bleary eyed...

Klaus

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2006-03-28 Thread Henry christenson
When compileing net-tools with gcc 4 you need to include the patch for
gcc 3 that is mentioned in that package otherwise you will get a error
message about label at end of compound statement in inet_sr.o or
inet_sr.cMe using gcc 4 thought i wouldent need the patch because
of the way its mentioned in the book.  I was able to figure it out on
my own but it might be woth mentioning in the book you need the patch
for gcc 3 or above to aviod confusion.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


(no subject)

2006-02-21 Thread [EMAIL PROTECTED]
Title: 亲爱的朋友






	












 亲爱的朋友:  您好!D-web购物系统 
 

如果你要办网上商店,实现网上售货,就使用D-web系统吧 
系统菜单在后台任意添加修改 
风格多种多样,无穷无尽 
运行平台:Win9X WinNT Win2000 WinME WinXP Win2003 
技术:ASP+Access 
效果演示:http://www.9500.net/webshop 
版本:1.1 >详细介绍:


取得联系

电话:0838-8828099 13508000162 
QQ号码:5735263 
E_mail:[EMAIL PROTECTED] 
网址:http://www.9500.net致礼![EMAIL PROTECTED]


 






-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: (no subject)

2006-01-18 Thread Jeremy Huntwork

[EMAIL PROTECTED] wrote:


May I suggest that in future releases the LiveCD also contains the book 
relevant for each specific release?


Um, the CDs already do. Read the greeting at the initial console prompt. :)

--
JH
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2005-12-14 Thread ponky S

 
hello,

i'm not able to detect my ethernetcard, soundcard, and printer
what should i do.
my hardware drivers were there in modules folder, and i tried doing modprobe my driver name, but i is not at all detecteing my hardwares.
what should i do
for sound card i have tried from ALSA.




-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

(no subject)

2005-09-07 Thread rosenrami
Hello,
I followed the instructions exactly for ther gcc 4 branch of LinuxFromScratch.

I am reaching the chapter 6, to 6.14 , and do the following:

Prepare GCC for compilation:

./gcc-4.0.1/configure --prefix=/usr \
--libexecdir=/usr/lib --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
--enable-clocale=gnu --enable-languages=c,c++

and then run :

make


(I am working on FC4 with 2.6.12-1.1398_FC4 kernel)

After quite a while I get:

.
.
mkinstalldirs='/bin/sh ../../gcc-4.0.1/gcc/../mkinstalldirs' \

  /bin/sh mklibgcc  tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT= \
HEADERS=
ansidecl.h DEFINES= \
/bin/sh ../../gcc-4.0.1/gcc/mkconfig.sh tconfig.h
/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ 
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem 
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2 
-DIN_GCC-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc-
4.0.1/gcc -I../../gcc-4.0.1/gcc/. -I../../gcc-4.0.1/gcc/../include 
-I../../gcc-4.0.1/gcc/../libcpp/include   -g0 -finhibit-size-directive 
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss 
-fno-unit-at-a-time -fno-omit-frame-pointer \

   -c ../../gcc-4.0.1/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from ../../gcc-4.0.1/gcc/crtstuff.c:68:
./../gcc-4.0.1/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory
./../gcc-
4.0.1/gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory
./../gcc-4.0.1/gcc/tsystem.h:96:19: error: errno.h: No such file or directory
./../gcc-4.0.1/gcc/tsystem.h:103:20: error: string.h: No such file or directory

./../gcc-4.0.1/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory
./../gcc-4.0.1/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory
In file included from /sources/gcc-build/gcc/include/syslimits.h:7,

 from /sources/gcc-build/gcc/include/limits.h:11,
 from ../../gcc-4.0.1/gcc/tsystem.h:108,
 from ../../gcc-4.0.1/gcc/crtstuff.c:68:
/sources/gcc-build/gcc/include/limits.h:122:61: error: 
limits.h: No such file or directory
In file included from ../../gcc-4.0.1/gcc/crtstuff.c:68:
./../gcc-4.0.1/gcc/tsystem.h:111:18: error: time.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/sources/gcc-build/gcc'

make: *** [all-gcc] Error 2


any idea what can bet the reason that it does not find the headers like
stdio.h? 
ls /usr/include (from the chroot environment of course) shows that 
these headers (
stdio.h and others) ***DO*** exist.

So why gcc does not have a path to this folder ? 


Regards,
Rami
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2005-08-18 Thread Richard Hamilton

Pubudu wrote:



Hi .

   This problem occurred when i was building LFS

when i entered the command in my chrooted environment

  expect -c spawn ls

it displayed the message

The system has no more ptys.
Ask your system administrator to create more

Then i tried the same command in my host system (fedora core 3) .It
executed correctly.

Can anyone help me to create ptys in my chrooted environment.

-
This mail sent is sent from ENTC WebMail system using IMP: http://horde.org/imp/
 


Did you see this? http://www.linuxfromscratch.org/lfs/faq.html#no-ptys

At one point I remember getting this message even after reviewing this 
FAQ. I was building the system in X. I didn't have the problem if I 
didn't run X. I guess X must have used the ptys in my instance.

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2005-08-15 Thread Pubudu



Hi .

This problem occurred when i was building LFS

 when i entered the command in my chrooted environment

   expect -c spawn ls

it displayed the message

 The system has no more ptys.
 Ask your system administrator to create more

Then i tried the same command in my host system (fedora core 3) .It
executed correctly.

Can anyone help me to create ptys in my chrooted environment.

-
This mail sent is sent from ENTC WebMail system using IMP: http://horde.org/imp/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2005-08-07 Thread 杨炳麟
hi,everyone!
I using LFS offical live-cd as host system.
I did everything step by step order by LFS BOOK 6.1 on live-cd.
Everyting is fine before chapter 6.14. GCC-3.4.3.Now I exec the command
make the system shows errors:
===
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:79:19: stdio.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:82:23: sys/types.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:85:19: errno.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:92:20: string.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:94:20: unistd.h: No such file or directory
In file included from /sources/gcc-build/gcc/include/syslimits.h:7,
 from /sources/gcc-build/gcc/include/limits.h:11,
 from ../../gcc-3.4.3/gcc/tsystem.h:97,
 from ../../gcc-3.4.3/gcc/crtstuff.c:62:
/sources/gcc-build/gcc/include/limits.h:122:61: limits.h: No such file or
directory
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:100:18: time.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
root:/sources/gcc-build# 
===
I find no file time.h in /sources/gcc-3.4.3/gcc.
How can I handle it?Thank you!


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2005-08-07 Thread Ken Moffat
On Sun, 7 Aug 2005, [gb2312] Ñî±þ÷ë wrote:

 hi,everyone!
 I using LFS offical live-cd as host system.
 I did everything step by step order by LFS BOOK 6.1 on live-cd.
 Everyting is fine before chapter 6.14. GCC-3.4.3.Now I exec the command
 make the system shows errors:
 ===
 In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
 ../../gcc-3.4.3/gcc/tsystem.h:79:19: stdio.h: No such file or directory
 ../../gcc-3.4.3/gcc/tsystem.h:82:23: sys/types.h: No such file or directory
 ../../gcc-3.4.3/gcc/tsystem.h:85:19: errno.h: No such file or directory
[ snip others ]

 I find no file time.h in /sources/gcc-3.4.3/gcc.
 How can I handle it?Thank you!

 It's not just time.h that you are missing, looks as if all the headers
are missing from /usr/include.  That is, the headers from glibc, not
necessarily the linux-libc-headers.  Maybe you did something wrong in
glibc, but I would expect all of the wrong things you could do there to
cause binutils to fail its testsuite.

  If you look at the lines referred to in the error messages (e.g. line
79 of gcc-3.4.3/gcc/tsystem.h) you should be able to see where they are
trying to include from (/usr/include if no directory is specified).

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


(no subject)

2005-03-26 Thread Mariya
 995-8241,   ,   
  ,!

Do you speak English?

Yes, I do!


tch.org/lfs/faq.html
Unsubscribe: See the above information page