Re: [lfs-support] how to install rpm in lfs

2014-06-15 Thread Alice Wonder
Hi, It is possible to build RPM for lfs but it requires some effort, and then once built you basically have to rebuild every package in LFS with RPM or else RPM dependencies are never met. perl and python are particularly difficult to get right, I was only successful when I modified how perl

[lfs-support] Fwd: how to install rpm in lfs

2014-06-15 Thread Pravin Pawar
Dear Team, Hi, I completed the lfs installation but i don't know how to install rpm or yum packages in lfs system. Kindly help me to solve this. Thanks and Regards Pravin Pawar -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscr

[lfs-support] how to install rpm in lfs

2014-06-15 Thread Pravin Pawar
Dear Team, Hi, I completed the lfs installation but i don't know how to install rpm or yum packages in lfs system. Second problem is when i logging to user it shows the following error :- no directory logging in with home=/ Kindly help me to solve this. Thanks and Regards Pravin Pawar -- http:

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Bruce Dubbs
Ken Moffat wrote: 1. Running too many jobs in parallel _will_ bring a system to its knees. If you *really* want to bring a system to its kness, try 'make -j' (no number) on a significant package like gcc or the kernel. Run 'top' at the same time and have fun. -- Bruce -- http://lists.li

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Ken Moffat
On Sat, Jun 14, 2014 at 10:05:48PM -0500, Bruce Dubbs wrote: > Dan McGhee wrote: > > > >This concept and "-j" have now become important to me and I'd like to > >learn some more before I start. > > man make > > https://www.gnu.org/software/make/manual/html_node/Parallel.html#Parallel > I'm going

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Ken Moffat
On Sun, Jun 15, 2014 at 11:34:05AM -0400, Baho Utot wrote: > On Sunday, June 15, 2014 03:58:44 PM Pierre Labastie wrote: > > Le 15/06/2014 14:52, Dan McGhee a écrit : > > > I know--this is the way LFS is wired--to follow the book precisely. Then > > > all should be well. If, however, I have a make

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Ken Moffat
On Sun, Jun 15, 2014 at 09:10:12AM -0500, William Harrington wrote: > > Also, you should consider using number of processors with +1. > Also, some build systems will fail to complete with even number of jobs. (In > the past CD Paranoia would fail to build in such an instance and the > Makefile wou

Re: [lfs-support] Discovered a Major System "OOOPS" in Binutils Pass 1

2014-06-15 Thread Dan McGhee
On 06/15/2014 06:08 PM, Ken Moffat wrote: On Sun, Jun 15, 2014 at 04:46:02PM -0500, Dan McGhee wrote: If it's what I think it is, it's more than an "OOOPS" for me, but I'm trying to be socially acceptable. This is a little long and involved. Configure failed on binutils-2.24 with what turned o

Re: [lfs-support] Discovered a Major System "OOOPS" in Binutils Pass 1

2014-06-15 Thread Ken Moffat
On Sun, Jun 15, 2014 at 04:46:02PM -0500, Dan McGhee wrote: > If it's what I think it is, it's more than an "OOOPS" for me, but I'm trying > to be socially acceptable. This is a little long and involved. > > Configure failed on binutils-2.24 with what turned out to be > > > > gcc: error while l

Re: [lfs-support] failing to configure Texinfo package

2014-06-15 Thread Ken Moffat
On Sun, Jun 15, 2014 at 10:41:32PM +0200, Stefano Stoduto wrote: > The output for those commands is: > > type -pa perl > > /usr/bin/perl > _Now_, in chapter 5, you are using the _host_ system's perl, which meets all the requirements. And so, you ought to be able to "successfully" configure te

[lfs-support] Discovered a Major System "OOOPS" in Binutils Pass 1

2014-06-15 Thread Dan McGhee
If it's what I think it is, it's more than an "OOOPS" for me, but I'm trying to be socially acceptable. This is a little long and involved. Configure failed on binutils-2.24 with what turned out to be gcc: error while loading shared libraries: libgcc_s.so.1: cannot open shared object fi

Re: [lfs-support] failing to configure Texinfo package

2014-06-15 Thread Stefano Stoduto
The output for those commands is: type -pa perl /usr/bin/perl --- perl -e "use 5.007_003; use Encode;" ; echo $? 0 --- perl --version | grep version This is perl 5, version 14, subversion 2 (v5.14.2) built for i486-linux-gnu-thread-multi-64int About the /bin/sh link, yes it was a link to d

Re: [lfs-support] file not found at boot time

2014-06-15 Thread Luis Muñoz Fuente
El 15/06/14 a las 15:31:25, ALZ (phyglos.org) escribió: If you issued "mount /dev/sda3 /mnt/lfs" but you have to enter "ls /mnt/lfs/lfs" to see you LFS boot directory, that explains a lot. I made the error in the chapter 7, because I halt the computer and then I execute: mount /dev/sda3

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Baho Utot
On Sunday, June 15, 2014 03:58:44 PM Pierre Labastie wrote: > Le 15/06/2014 14:52, Dan McGhee a écrit : > > I know--this is the way LFS is wired--to follow the book precisely. Then > > all should be well. If, however, I have a make failure whose cause I > > can't determine from the log, how can I

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Dan McGhee
On 06/15/2014 09:10 AM, William Harrington wrote: On Jun 14, 2014, at 9:52 PM, Dan McGhee wrote: During my last LFS build, 7.4, I discovered that "-j" was set to 8 somehow. Is this an environment variable. I don't remember what I did to find this. This concept and "-j" have now become impor

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Dan McGhee
On 06/15/2014 08:58 AM, Pierre Labastie wrote: Le 15/06/2014 14:52, Dan McGhee a écrit : I know--this is the way LFS is wired--to follow the book precisely. Then all should be well. If, however, I have a make failure whose cause I can't determine from the log, how can I recognize it as a failu

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread William Harrington
On Jun 14, 2014, at 9:52 PM, Dan McGhee wrote: During my last LFS build, 7.4, I discovered that "-j" was set to 8 somehow. Is this an environment variable. I don't remember what I did to find this. This concept and "-j" have now become important to me and I'd like to learn some more be

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Pierre Labastie
Le 15/06/2014 14:52, Dan McGhee a écrit : > I know--this is the way LFS is wired--to follow the book precisely. Then all > should be well. If, however, I have a make failure whose cause I can't > determine from the log, how can I recognize it as a failure based on too many > jobs running at the s

Re: [lfs-support] file not found at boot time

2014-06-15 Thread Dan McGhee
On 06/15/2014 08:16 AM, Luis Muñoz Fuente wrote: El 14/06/14 a las 19:27:31, ALZ (phyglos.org) escribió: I hope this is a typo and you built all your LFS system with: mount /dev/sda3 /mnt/lfs Yes, I built with mount /dev/sda3 /mnt/lfs This statement conflicts with one in your previous post

Re: [lfs-support] file not found at boot time

2014-06-15 Thread ALZ (phyglos.org)
On 06/15/2014 03:05 PM, Luis Muñoz Fuente wrote: El 14/06/14 a las 18:23:24, Pierre Labastie escribió: Maybe the above command is a typo. Yes, it's an error. I have mounted /dev/sda3 to /mnt/lfs throughout the build of LFS, and I have now: ls /mnt/lfs/lfs/ bin boot dev etc home l

Re: [lfs-support] file not found at boot time

2014-06-15 Thread Luis Muñoz Fuente
El 14/06/14 a las 19:27:31, ALZ (phyglos.org) escribió: I hope this is a typo and you built all your LFS system with: mount /dev/sda3 /mnt/lfs Yes, I built with mount /dev/sda3 /mnt/lfs You said you modified 40_custom file in /etc/grub.d and then run update-grub. This 40_custom file shou

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Baho Utot
On Sunday, June 15, 2014 09:08:27 AM Fernando de Oliveira wrote: > Em 15-06-2014 08:33, Baho Utot escreveu: > > -j works for all LFS packages > > > > MKFLAGS="-j $(getconf _NPROCESSORS_ONLN)" > > > > make ${MKFLAGS} > > If MKFLAGS is set (I think, normally, in /etc/profile), race problem > appea

Re: [lfs-support] file not found at boot time

2014-06-15 Thread Luis Muñoz Fuente
El 14/06/14 a las 18:23:24, Pierre Labastie escribió: Maybe the above command is a typo. Yes, it's an error. I have mounted /dev/sda3 to /mnt/lfs throughout the build of LFS, and I have now: ls /mnt/lfs/lfs/ bin boot dev etc home lib media mnt opt proc root run sbin sources

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Dan McGhee
On 06/15/2014 07:08 AM, Fernando de Oliveira wrote: Em 15-06-2014 08:33, Baho Utot escreveu: -j works for all LFS packages MKFLAGS="-j $(getconf _NPROCESSORS_ONLN)" make ${MKFLAGS} If MKFLAGS is set (I think, normally, in /etc/profile), race problem appears, and one likes it to remain like t

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Dan McGhee
On 06/15/2014 04:46 AM, Pierre Labastie wrote: Le 15/06/2014 04:52, Dan McGhee a écrit : I need to check my understanding and maybe gain new knowledge about building. From the book or list I remember a caution that some packages don't build well with parallel building. In the books, I seem to

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Fernando de Oliveira
Em 15-06-2014 08:33, Baho Utot escreveu: > -j works for all LFS packages > > MKFLAGS="-j $(getconf _NPROCESSORS_ONLN)" > > make ${MKFLAGS} If MKFLAGS is set (I think, normally, in /etc/profile), race problem appears, and one likes it to remain like that, just unset or define it to be "-j 1", be

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Baho Utot
On 06/14/2014 10:52 PM, Dan McGhee wrote: I need to check my understanding and maybe gain new knowledge about building. From the book or list I remember a caution that some packages don't build well with parallel building. In the books, I seem to remember in the instructions some words abou

Re: [lfs-support] Preparing for new LFS build

2014-06-15 Thread Richard Melville
On 14 June 2014 19:13, Fernando de Oliveira wrote: > Em 14-06-2014 14:33, Richard Melville escreveu: > > On 14 June 2014 00:02, Baho Utot > > wrote: > > > > On Friday, June 13, 2014 11:46:21 PM Armin K. wrote: > > > On 06/13/2014 09:34 PM, Dan McGhee wrote:

Re: [lfs-support] Using a Newer Kernel to Build LFS-7.5

2014-06-15 Thread Pierre Labastie
Le 15/06/2014 11:53, Pierre Labastie a écrit : > Le 15/06/2014 05:09, Dan McGhee a écrit : >> The kernel for LFS-7.4, 3.10.10 has great driver support for all my devices >> except my processor and graphics. Sooner or later it will catch up. At leas >> that's my experience since I've gotten involv

Re: [lfs-support] Using a Newer Kernel to Build LFS-7.5

2014-06-15 Thread Pierre Labastie
Le 15/06/2014 05:09, Dan McGhee a écrit : > The kernel for LFS-7.4, 3.10.10 has great driver support for all my devices > except my processor and graphics. Sooner or later it will catch up. At leas > that's my experience since I've gotten involved in linux. LFS-7.5 uses > 3.13.3. In a recent po

Re: [lfs-support] Multiple CPU cores, Make and Parallel Builds

2014-06-15 Thread Pierre Labastie
Le 15/06/2014 04:52, Dan McGhee a écrit : > I need to check my understanding and maybe gain new knowledge about building. > > From the book or list I remember a caution that some packages don't build well > with parallel building. In the books, I seem to remember in the instructions > some words