Re: [lfs-support] Can't access my sources directory to install build files

2013-06-02 Thread spiky

On 02/06/13 21:15, scott maxwell wrote:
I keep getting stuck in LFS 7.3. Never gotten past Binutils 2nd pass. 
Now I have all the tar files in the sources folder on the new LFS 
partition but cant get to it from mnt/lfs/sources.

Any help would be greatly appreciated. Current host os is Mint 14.
Thanks.



What dose echo $LFS return
what dose ls -l /sources return
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Can't get LFS to boot, fsck.ext4 no such file or directory while trying to open ....

2013-03-24 Thread spiky

On 24/03/13 00:57, TJ Olaes wrote:

Good evening.

Hope someone can help me see something I'm missing, I've been googling all day
trying to get LFS to boot up and have made some progress but this one is
stumping me.

Currently, I have at least one problem, which is that the boot sequence fails at
this point:

Checking file systems...fsck.ext4: No such file or directory while trying to
open /dev/hda8

What I'm doing right now is booting from the grub command line, a la:

grub set
... snip some variable lines ...
prefix=(hd0,msdos1)/grub
root=hd0,1
... snip more stuff ...

grub linux /vmlinux-3.8.3-lfs-7.3 root=/dev/sda8
grub boot

My config:

/dev/hda1 is an ext4 boot partition named boot
/dev/hda5 is an ext4 partition for usr
/dev/hda6 is ext4 for opt
/dev/hda7 is ext4 for src
/dev/hda8 is the ext4 root partition
/dev/hda9 is ext4 for home

I'm using Grub2 v1.99.

Thanks for any help I can get.

-TJ


Is this a typo

grub linux /vmlinu*_x_*-3.8.3-lfs-7.3 root=/dev/sda8

cp -v arch/x86/boot/bzImage /boot/vmlinu_z_-3.8.1-lfs-7.3

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


Re: [lfs-support] make error in Coreutils

2013-03-13 Thread spiky

On 13/03/13 17:47, Rubin Saifi wrote:

here is the error
--
root:/sources/coreutils-8.19# make
CDPATH=${ZSH_VERSION+.}:  cd .  /bin/sh 
/sources/coreutils-8.19/build-aux/missing aclocal-1.12a -I m4
/sources/coreutils-8.19/build-aux/missing: line 81: aclocal-1.12a: 
command not found

WARNING: 'aclocal-1.12a' is missing on your system.
 You should only need it if you modified 'acinclude.m4' or
 'configure.ac' or m4 files included by 'configure.ac'.
 The 'aclocal' program is part of the GNU Automake package:
 http://www.gnu.org/software/automake
 It also requires GNU Autoconf, GNU m4 and Perl in order to run:
 http://www.gnu.org/software/autoconf
 http://www.gnu.org/software/m4/
 http://www.perl.org/
make: *** [aclocal.m4] Error 127


any help plz.



Do you have m4 installed on host maybe post the output of the version-script
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Ubuntu 12.10 install

2013-03-03 Thread spiky
On 03/03/13 19:36, Keith Clark wrote:
 Has anyone successfully completed the LFS using Ubuntu 12.10?  I cannot
 get past the 5.5 GCC section.  Always ends up in an error. Three times
 tried.
Maybe post the output of the version-script
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Ubuntu 12.10 install

2013-03-03 Thread spiky
On 03/03/13 19:51, Keith Clark wrote:
 On 13-03-03 02:37 PM, spiky wrote:
 On 03/03/13 19:36, Keith Clark wrote:
 Has anyone successfully completed the LFS using Ubuntu 12.10?  I cannot
 get past the 5.5 GCC section.  Always ends up in an error. Three times
 tried.
 Maybe post the output of the version-script
 version-check.sh output can be found here:
 pastebin.ca/2327809

You need to fix /bin/sh - /bin/dash it should be /bin/sh - /bin/bash
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Ubuntu 12.10 install

2013-03-03 Thread spiky
On 03/03/13 20:31, Keith Clark wrote:
 On 13-03-03 02:57 PM, Denis Mugnier wrote:
 On 03/03/13 20:51, Keith Clark wrote:
 On 13-03-03 02:37 PM, spiky wrote:
 On 03/03/13 19:36, Keith Clark wrote:
 Has anyone successfully completed the LFS using Ubuntu 12.10?  I cannot
 get past the 5.5 GCC section.  Always ends up in an error. Three times
 tried.
 Maybe post the output of the version-script
 version-check.sh output can be found here:
 pastebin.ca/2327809

 /bin/sh - /bin/dash is no good
 /bin/sh must be a symlink to /bin/bash (see the book ;o) )...

 Myou
 Where is that in the book?
It,s in chapter 5.3 the 1st important notice

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


Re: [lfs-support] Ubuntu 12.10 install

2013-03-03 Thread spiky
On 03/03/13 20:58, Keith Clark wrote:
 On 13-03-03 03:05 PM, Bruce Dubbs wrote:
 Keith Clark wrote:
 On 13-03-03 02:37 PM, spiky wrote:
 On 03/03/13 19:36, Keith Clark wrote:
 Has anyone successfully completed the LFS using Ubuntu 12.10?  I cannot
 get past the 5.5 GCC section.  Always ends up in an error. Three times
 tried.
 Maybe post the output of the version-script
 version-check.sh output can be found herev /bin.
 pastebin.ca/2327809
 /bin/sh - /bin/dash is wrong.

 run (as root)

 ln -sfn /bin/bash sh

  -- Bruce
 I get the following:

 ln:  failed to create symbolic link `sh':  No such file or directory


rm -v /bin/sh

ln -sv /bin/bash /bin/sh


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


Re: [lfs-support] Booting LFS Error Kernel Panic

2012-12-18 Thread spiky

On 18/12/12 01:24, Alexander Spitzer wrote:

Hello all,

I am having a hard time booting my LFS system, which is on a USB 
drive. I installed grub on /dev/sdc (the usb relative to the host) and 
the bios successfully finds GRUB. After around 2.3 seconds, the boot 
process hangs after printing what I believe to be a trace call. 
Interestingly, one time when I booted the trace call was short enough 
for me to write down the error which I can't normally see due to the 
length of the trace prints. Here is the error:


Kernel panic-not syncing: VFS: Unable to mount root fs on unknown 
block(0,0)


What exactly does unknown block(0,0) mean?

The problem appears to be that the kernel can't find the root file 
system. How can that be a problem, if the kernel, which is ON the root 
file system, was found and ran?

Here is the grub.cfg file:
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5

insmod ext2
set root=(hd0,1)

menuentry GNU/Linux, Linux 3.7-lfs-SVN-20121212 {
linux   /boot/vmlinuz-3.7-lfs-SVN-20121212 root=/dev/sda1 ro
}

I believe the USB is always sda because to boot I do a manual boot 
override and select USB from the BIOS menu. The grub command line also 
confirms this.


Searching online, there were some suggestions that the kernel was 
compiled without support for necessary file systems and hardware. I 
check my config file for the kernel and found all the important 
options to be set to yes (USB_mass_storage, ext3 filesystem, USB UHCI, 
USB OHCI, and several scsi ones). There are however many USB options 
that are not set. Are there any specific ones that should be set for 
the kernel to load the root filesystem?


Also, I've tried unsuccessfully to read more of the boot output by two 
methods: increasing the resolution and scrolling back. The scroll back 
buffer is set to yes in the kernel config yet shift page down and 
shift page up do nothing. Also, vga=791 is deprecated and I haven't 
been able to get any effect by using set vgxpayload=1024x728.

How can I read the boot print outputs without a high speed camera?

Thanks,
Alex



Hi
This is my grub.cfg which is on usb drive that works

# Begin /boot/grub/grub.cfg
set default=0
set timeout=5


insmod ext2
set root=(hd0,1)

menuentry Planet-Spike7 {
linux   /boot/vmlinuz-3.2-lfs-7.0 root=/dev/sdc1 rootdelay=5 ro
}

the rootdelay seems to be the cure tou might want to try 10 instaed of 5 
then adjust it.

It takes time for the usb to recognised

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


Re: [lfs-support] http://tukaani.org/xz/xz-5.0.4.tar.xz

2012-11-23 Thread spiky
On 23/11/12 22:23, Thomas de Roo wrote:
 Hi all,

 Does anybody know of an alternative source for xz?
 http://tukaani.org/xz/xz-5.0.4.tar.xz seems to be down.

 Groet,
 Thomas
Whats the problem with that ?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] http://tukaani.org/xz/xz-5.0.4.tar.xz

2012-11-23 Thread spiky
On 23/11/12 22:34, spiky wrote:
 On 23/11/12 22:23, Thomas de Roo wrote:
 Hi all,

 Does anybody know of an alternative source for xz?
 http://tukaani.org/xz/xz-5.0.4.tar.xz seems to be down.

 Groet,
 Thomas
 Whats the problem with that ?
ftp://ftp.lfs-matrix.net/../pub/lfs/lfs-packages/7.2/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Kernel panic lfs-7.2

2012-10-27 Thread spiky
On 25/10/12 23:25, Bruce Dubbs wrote:
 spiky wrote:
 On 25/10/12 22:50, Ken Moffat wrote:
 On Thu, Oct 25, 2012 at 10:03:46PM +0100, spiky wrote:
 Hi
 Ok I,m having real trouble booting my lfs system. Long storey with lfs
 7.2 won
 I rebuilt the kernel after moving to new laptop. Root is on sda3 ext4
 only 1 harddrive,
 sda1 will be boot NOT used at moment
 sda2 extended partition
 I have not run grub-install No grub.cfg file yet. Hence why I,m using
 grub prompt which I should be able to boot from
 Also the tab complition at grub prompt shows the correct paths to vmlinuz.
 I will run grub-install tomorrow But when i done all this on the
 orginall lfs 7.2 I still ended up with the same panic.

 FYI I have set ext4 in kernel config and the mount dev at boot which is
 also in fstab
 Booting from grub prompt

 File systems should be configured in kernel ok. Drivers I have tried
 various drivers for radeon graphics card.
 Even from the grub prompt, you still need to specify the root partition:

 linux /boot/vmlinuz-3.3-rc1-lfs-7.0 root=/dev/sda3

 -- Bruce


I managed to get lfs 7.0 booted then saved the kernel config re dd lfs 
7.2 rebuilt 3.3 kernel using make oldconfig which then booted then built 
kernel 3.7 all sorted.
I would like to thk Bruce and Ken It was both of the problems, drivers 
and root=/dev/sda3.



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


[lfs-support] Kernel panic lfs-7.2

2012-10-25 Thread spiky
Hi
Ok I,m having real trouble booting my lfs system. Long storey with lfs 
7.2 wont boot, I have now dd a working lfs-7.0 system, from another 
laptop which I have done before. on to this laptop replacing 7.2.
I adjusted fstab file as needed for new partitions.
I have tried booting from grub prompt (host grub)
set root=(hd0,3)
linux /boot/vmlinuz-3.3-rc1-lfs-7.0
boot

I get a kernel panic
  VFS unable to mount root fs via NFS trying floppy
VFS cannot open root device (null) or unknown-block(2,0)
please append a correct root= boot option here are availble partitions
then it lists the sda partitions.

I got the same panic with the lfs 7.2 install, I have rebuilt the kernel 
many times different configurations.
   I have built lfs since 6.7 and always got them to boot, this is the 
1st time I have built on this laptop, Nothing special about this laptop.

Would really like to get this fixed Thks
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Kernel panic lfs-7.2

2012-10-25 Thread spiky
On 25/10/12 22:50, Ken Moffat wrote:
 On Thu, Oct 25, 2012 at 10:03:46PM +0100, spiky wrote:
 Hi
 Ok I,m having real trouble booting my lfs system. Long storey with lfs
 7.2 wont boot, I have now dd a working lfs-7.0 system, from another
 laptop which I have done before. on to this laptop replacing 7.2.
 I adjusted fstab file as needed for new partitions.
 I have tried booting from grub prompt (host grub)
 set root=(hd0,3)
 linux /boot/vmlinuz-3.3-rc1-lfs-7.0
 boot

 I get a kernel panic
VFS unable to mount root fs via NFS trying floppy
 VFS cannot open root device (null) or unknown-block(2,0)
 please append a correct root= boot option here are availble partitions
 then it lists the sda partitions.

 I got the same panic with the lfs 7.2 install, I have rebuilt the kernel
 many times different configurations.
 I have built lfs since 6.7 and always got them to boot, this is the
 1st time I have built on this laptop, Nothing special about this laptop.
 I rebuilt the kernel
 Would really like to get this fixed Thks
   I think the root of your problem is that you have no previous good
 .config for _this_ laptop.  As we always say, both the filesystems
 and device drivers that are required to boot need to be built in to
 the kernel.

   But something about your report is odd - you say it lists the sda
 partitions (and I assume that is the correct drive), and I also
 assume you aren't using a different filesystem for '/' on this
 machine.  Did you perhaps specify root=/dev/hdXN instead of
 /dev/sdaN in grub.cfg ?

 ĸen
I rebuilt the kernel after moving to new laptop. Root is on sda3 ext4 
only 1 harddrive,
sda1 will be boot NOT used at moment
sda2 extended partition
I have not run grub-install No grub.cfg file yet. Hence why I,m using 
grub prompt which I should be able to boot from
Also the tab complition at grub prompt shows the correct paths to vmlinuz.
I will run grub-install tomorrow But when i done all this on the 
orginall lfs 7.2 I still ended up with the same panic.

FYI I have set ext4 in kernel config and the mount dev at boot which is 
also in fstab
Booting from grub prompt

File systems should be configured in kernel ok. Drivers I have tried 
various drivers for radeon graphics card.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Chapter 5.4 Binutils-2.22 Patch issue

2012-10-13 Thread spiky
On 13/10/12 20:10, San blue wrote:
 Hi Colleagues,

 When i'm executing the patch for Binutils-2.22, i'm getting the below error :

 --
 lfs:/mnt/lfs/tools$ patch -Np1 -i ../sources/binutils-2.22-build_fix-1.patch
 can't find file to patch at input line 11
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --
 |Submitted By:Matt Burgessmatthew_at_linuxfromscratch_dot_org
 |Date:2012-03-27
 |Initial Package Version: 2.22
 |Upstream Status: From Upstream
 |Origin:
 http://lists.gnu.org/archive/html/bug-binutils/2011-10/msg00241.html
 |Description: Fixes a build failure when using -O3 compiler flag
 |
 |diff -Naur binutils-2.22.orig/opcodes/ChangeLog 
 binutils-2.22/opcodes/ChangeLog
 |--- binutils-2.22.orig/opcodes/ChangeLog   2011-11-21
 09:29:39.0 +
 |+++ binutils-2.22/opcodes/ChangeLog2012-03-27 19:49:36.299866714 +
 --
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored
 can't find file to patch at input line 26
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --
 |diff -Naur binutils-2.22.orig/opcodes/i386-dis.c
 binutils-2.22/opcodes/i386-dis.c
 |--- binutils-2.22.orig/opcodes/i386-dis.c  2011-08-02
 19:58:06.0 +
 |+++ binutils-2.22/opcodes/i386-dis.c   2012-03-27 19:48:28.447812481 +
 --
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored

 -


 Please suggest me what can be done to solve this issue ? or does it
 really required ?

 Best regards, San
What dir are you in when you run the command??
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] chapter06/inetutils link error

2012-10-12 Thread spiky
Page 
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/inetutils.html

there is a link 
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/inetutils.html
that returns page not found
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Compiling GCC pass 1 of Linux From Scratch

2012-10-08 Thread spiky

On 08/10/12 13:08, Arvind S Raj wrote:

Hello everyone,
I'm trying Linux from scratch and am really excited about it. I have 
encountered an error when I compile GCC. The error is 
http://paste.pound-python.org/show/26539/. I noticed that many others 
have faced this error(a few threads in the GCC mailing list) and there 
is a thread in LFS mailing list too but none have a solution(at least 
the ones I looked at). Could anyone help me out here by pointing me to 
right direction?


Some info on the Ubuntu 12.04 machine I'm running. If any more 
information is required, do let me know and I'll gladly provide the same.


Linux 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.6.3-1ubuntu5' 
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.6 --enable-shared --enable-linker-build-id 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--enable-gnu-unique-object --enable-plugin --enable-objc-gc 
--disable-werror --with-arch-32=i686 --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=x86_64-linux-gnu

Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

--
Arvind S Raj
Research Associate
Amrita Centre for Cyber Security, Amritapuri
http://arvindsraj.wordpress.com http://arvindsraj.wordpress.com/




I would post the output of host system requirements
http://www.linuxfromscratch.org/lfs/view/7.2/prologue/hostreqs.html

That info would help to start with
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS vs. LFS LiveCD

2012-09-20 Thread spiky

On 20/09/12 18:55, Wally Lepore wrote:

Hi Members,

I do hope this is the correct mailing list. My question pertains to 
LFS and the LFS LiveCD but the mailing list for the LiveCD no longer 
appears active. Thank you for taking my question please.


I've been studying Linux for awhile now and would like to utilize the 
LFS system to build a Linux distro and also to learn the concepts of 
structure and construction that will also enable me to help/join a 
development team on a particular existing distro.


Can you please tell me if the LFS LiveCD is still a valid tool to 
utilize in learning the how to of building a linux distro. I read 
that the LFS LiveCD is no longer supported and the LiveCD is not 
available for version 7.0 and later.


In other words, can I still build an LFS distro that is fully 
functional in today's environment using the last supported version of 
the LFS LiveCD?


Or...

Is it better to go with the latest version and install the LFS system 
to a hard drive that has a host distro installed? I did read the 
benefits of using the LiveCd versus installing to a host distro on the 
LFS FAQ.


Any suggestions would surely help as I take my first step.

Thank you Kindly
Wally Lepore New Jersey


Yes that is correct about the live cd it is out of date now. You would 
be better using a distro installed as host, any distro will work as long 
as it is made compliant 
http://www.linuxfromscratch.org/lfs/view/7.2/prologue/hostreqs.html


I have also used a live cd from a production distro which I made compliant.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS Book 7 | chapter 7 what to ignore

2012-09-02 Thread spiky

On 02/09/12 11:05, Oshadha Gunawardena wrote:
Ok, so I managed to do up to the chapter 6 and now reading through the 
chapter 7. In section 7.2 it says that I can ignore this section if I 
only has one network interface, so basically the entire section 7.2 I 
can ignore (7.2.1, 7.2.2, 7.2.3). And my question is doesn't this 
section 7.2 relates to section 7.3 or further? Or the sections are not 
related in their own context.


Thanks,
Oshadha.



It dose say

This section only applies if a network card is to be configured.

_If a network card will not be used_, there is likely no need to create 
any configuration files relating to network cards. If that is the case, 
remove the |network| symlinks from all run-level directories 
(|/etc/rc.d/rc*.d|)


will you be using a 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] LFS Book 7 | chapter 7 what to ignore

2012-09-02 Thread spiky

On 02/09/12 11:30, Oshadha Gunawardena wrote:

I'm not using any network cards specifically.

On Sun, Sep 2, 2012 at 3:41 PM, spiky martynvid...@aol.com 
mailto:martynvid...@aol.com wrote:


On 02/09/12 11:05, Oshadha Gunawardena wrote:

Ok, so I managed to do up to the chapter 6 and now reading
through the chapter 7. In section 7.2 it says that I can ignore
this section if I only has one network interface, so basically
the entire section 7.2 I can ignore (7.2.1, 7.2.2, 7.2.3). And my
question is doesn't this section 7.2 relates to section 7.3 or
further? Or the sections are not related in their own context.

Thanks,
Oshadha.



It dose say

This section only applies if a network card is to be configured.

_If a network card will not be used_, there is likely no need to
create any configuration files relating to network cards. If that
is the case, remove the |network| symlinks from all run-level
directories (|/etc/rc.d/rc*.d|)

will you be using a network?


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




If no network then you wont need that section then as there is nothing 
to setup also chapter 7.3 is not needed
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Kernel is not booting

2012-07-14 Thread spiky

On 14/07/12 16:14, gmspro wrote:

#grub.cfg

menuentry 'Custom' {
insmod part_msdos
insmod ext2
set root='(hd1,msdos8)'
search --no-floppy --fs-uuid --set 
2d1bcc50-c7f9-4d2a-8ab4-dba8795b78e9

linux/boot/vmlinuz root=/dev/sdb8 rootfstype=ext4 ro quiet
}


What's wrong here?




Is this a usb device you are trying to boot?

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


Re: [lfs-support] Q: best choice of Live CD to host/rescue LFS?

2012-07-08 Thread spiky
On 08/07/12 19:44, Yasser Zamani wrote:
 
 Date: Sun, 8 Jul 2012 18:18:21 +0100
 From: onepo...@starurchin.org
 To: lfs-support@linuxfromscratch.org
 Subject: Re: [lfs-support] Q: best choice of Live CD to host/rescue LFS?


 Yasser Zamani wrote:

 I recommend Slax (http://www.slax.org/get_slax.php/); I gracefully
 finished LFS with that as host.
 I ran the verson check script in Slax and it could not find bison,
 yacc or makeinfo. Did you customise slax with extra packages?


 No. I learned from LFS that I can install packages to a specific

 folder by using --prefix=PATH. I also know that when we

 install a package in LFS environment at section 5, it looks for

 dependencies in two places: The Host and the /tools. In another

 side of coin, Slax is a live cd and does not save installations

 on it's virtual file system. So, I think with these information

 the solution is simple. It is installing missed packages to

 /tools via host before continuing to enter LFS environment at

 section 5. i.e.

   

 1) Ignore version check script and continue with book until

 finishing and the end of section

 4.2. Creating the $LFS/tools Directory.

   

 2) Install missed packages just like instructions at section

 5.X. but from the host not lfs user.

 Appendice C. Dependencies can be very helpful at this time

   

 3) When installation to /tools done, add /tools to your host's

 PATH and re-run version check script. You'll see it recognize

 installed packages ;)

   

 4) Skip section 4.3. Adding the LFS User

 because as I said Slax does not save changes to it's virtual

 file system.

   

 5) While you skipped adding the lfs user, you should enter

 lfs environment by just coping and pasting scripts at

 4.4. Setting Up the Environment and running them in

 console. I mean you should not include cat  X  EOF

 and EOF.

   

 Now all things are ready to continue with rest of the book

 but remember if you rebooted, you should do following again:

   

 1) 2.4. Mounting the New Partition

 2) 4.2. Creating the $LFS/tools Directory

 (just ln -sv $LFS/tools /)

 3) 4.4. Setting Up the Environment (you should not include

 cat  X  EOFand EOF)

   

 Good Luck!


   

 Regards,

 Jeremy Henty
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page  
I found this on making slax cd persistent  4th post
http://www.slax.org/forum.php?action=viewparentID=27065

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


Re: [lfs-support] Problem following LFS Version 7.1 - 6.7 Linux-3.2.6 API Header

2012-07-04 Thread spiky

On 04/07/12 20:52, Toby Ferguson wrote:

I finished 6.6 Creating Essential Files and Symlinks. All seems good.

But when I get to chapter 6.7 I have no idea what to do - there's no 
makefile around, and none under the / directory, so far as I can tell. 
It seems to me that there're some instructions missing or that I've 
skipped, but I can't find them.


The Errata for this version don't indicate a problem here, so I'm 
stuck. Can you tell me what to do?


--
toby



You done the same in chapter 5.6
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Problem following LFS Version 7.1 - 6.7 Linux-3.2.6 API Header

2012-07-04 Thread spiky

On 04/07/12 21:15, Toby Ferguson wrote:
Ah - I thought I'd installed everything - so you're saying I have to 
do the 'unpack/cd/install/rm' cycle, but as the root user in the 
chroot'd environment? OK - I can do that I guess.


Thanks.

Toby

On Wed, Jul 4, 2012 at 1:01 PM, spiky martynvid...@aol.com 
mailto:martynvid...@aol.com wrote:


On 04/07/12 20:52, Toby Ferguson wrote:

I finished 6.6 Creating Essential Files and Symlinks. All seems good.

But when I get to chapter 6.7 I have no idea what to do - there's
no makefile around, and none under the / directory, so far as I
can tell. It seems to me that there're some instructions missing
or that I've skipped, but I can't find them.

The Errata for this version don't indicate a problem here, so I'm
stuck. Can you tell me what to do?

-- 
toby




You done the same in chapter 5.6

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




--
toby



Yes,
 You havn't finished yet.
Also can you not top post it,s prefered to post at the end so ppl can follow
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Chapter 6.9 errors

2012-07-01 Thread spiky
On 30/06/12 07:10, spiky wrote:
 On 30/06/12 01:07, Eleanore Boyd wrote:
 On 6/29/2012 6:46 PM, Ken Moffat wrote:
 On Fri, Jun 29, 2012 at 11:12:22PM +0100, spiky wrote:
 The host is there beta of next release, 32bit , kernel 3.2.0-26-generic-pae
 I installed the 3.5rc4 in previous chapter 6.7
 I was in 2 minds weather to carry on, or rebuild an earlier kernel ( if
 thats a possible fault) Or rebuild with Debain host using 3.5rc4 kernel

 I think you should carry on.  A few people seem to get perfect
 results in the toolchain tests for years on end, the rest of us
 often get a few minor failures from time to time.  This error almost
 certainly does not matter.

 I've been thinking about suggesting that we change the language in
 the book re toolchain tests, but haven't got a round tuit. It was
 valid and useful when we started running the tests, but I think it
 is a little too 'black and white' for the variety of results we've
 seen over the years - and anyway, the tests can only attempt to check
 known failure cases and may themselves be buggy.

 *snip*
 ĸen
 While I myself have simply been able to skip all of the test suites and
 still forge on, checking the book's language for any updates needed
 would be a good idea. I have always failed the check test with glibc,
 and it's more of a waste of my time to rebuild and rerun than it is to
 simply build, install and configure the little bugger.

 Now if the kernel would simply cooperate with me and build properly, I'd
 be much happier with said kernel.

 Elly

 PS - don't try to help with my kernel issues. It simply hates building
 on some VMs, while at other times I can't get it configured to my tastes
 properly.

 Thks for advice I,m going to continue with build, If this was to cause
 any problems later When would I expect to see any? I,m am also going to
 build using debain live cd to see if different results appear.

FYIO
I have built using Debain live cd kernel 2.6.32,
Everything else the same, I still end up with the same results as above.

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


Re: [lfs-support] LFS-7.1 gcc build failure

2012-07-01 Thread spiky
On 01/07/12 09:32, Archie Arevalo wrote:
 Hello, my first time on the list and my first time to attempt LFS,

 I've looked around but I'm not sure what I am looking for. I have followed the
 instructions precisely and got binutils installed.

 Excerpt from http://pastebin.com/dGg0gaGi

 make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
 Checking multilib configuration for libgcc...
 mkdir -p -- i686-lfs-linux-gnu/libgcc
 Configuring in i686-lfs-linux-gnu/libgcc
 configure: creating cache ./config.cache
 checking for --enable-version-specific-runtime-libs... no
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for gawk... gawk
 checking build system type... i686-pc-linux-gnu
 checking host system type... i686-lfs-linux-gnu
 checking for i686-lfs-linux-gnu-ar... i686-lfs-linux-gnu-ar
 checking for i686-lfs-linux-gnu-lipo... i686-lfs-linux-gnu-lipo
 checking for i686-lfs-linux-gnu-nm... /mnt/lfs/sources/gcc-build/./gcc/nm
 checking for i686-lfs-linux-gnu-ranlib... i686-lfs-linux-gnu-ranlib
 checking for i686-lfs-linux-gnu-strip... i686-lfs-linux-gnu-strip
 checking whether ln -s works... yes
 checking for i686-lfs-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc
 -
 B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -
 B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -
 isystem /tools/i686-lfs-linux-gnu/sys-include
 checking for suffix of object files... configure: error: in
 `/mnt/lfs/sources/gcc-
 build/i686-lfs-linux-gnu/libgcc':
 configure: error: cannot compute suffix of object files: cannot compile
 See `config.log' for more details.
 make[1]: *** [configure-target-libgcc] Error 1
 make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
 make: *** [all] Error 2
 lfs:/mnt/lfs/sources/gcc-build$
 The last part of the config.log is (complete logfile is at
 http://pastebin.com/CtC4sJ57 :

 ## --- ##
 ## confdefs.h. ##
 ## --- ##
   
 /* confdefs.h */
 #define PACKAGE_NAME 
 #define PACKAGE_TARNAME 
 #define PACKAGE_VERSION 
 #define PACKAGE_STRING 
 #define PACKAGE_BUGREPORT 
 #define PACKAGE_URL 
 #define LT_OBJDIR .libs/
   
 configure: exit 0
 Regards,
 Archie Arevalo
Can you post the output of version-check, And if you have built gcc 
before did you remove the gcc dir and gcc-build dir then start with a 
fresh untar gcc dir.

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


Re: [lfs-support] Chapter 6.9 errors

2012-06-30 Thread spiky
On 30/06/12 01:07, Eleanore Boyd wrote:
 On 6/29/2012 6:46 PM, Ken Moffat wrote:
 On Fri, Jun 29, 2012 at 11:12:22PM +0100, spiky wrote:
 The host is there beta of next release, 32bit , kernel 3.2.0-26-generic-pae
 I installed the 3.5rc4 in previous chapter 6.7
 I was in 2 minds weather to carry on, or rebuild an earlier kernel ( if
 thats a possible fault) Or rebuild with Debain host using 3.5rc4 kernel

I think you should carry on.  A few people seem to get perfect
 results in the toolchain tests for years on end, the rest of us
 often get a few minor failures from time to time.  This error almost
 certainly does not matter.

I've been thinking about suggesting that we change the language in
 the book re toolchain tests, but haven't got a round tuit. It was
 valid and useful when we started running the tests, but I think it
 is a little too 'black and white' for the variety of results we've
 seen over the years - and anyway, the tests can only attempt to check
 known failure cases and may themselves be buggy.

 *snip*
 ĸen
 While I myself have simply been able to skip all of the test suites and
 still forge on, checking the book's language for any updates needed
 would be a good idea. I have always failed the check test with glibc,
 and it's more of a waste of my time to rebuild and rerun than it is to
 simply build, install and configure the little bugger.

 Now if the kernel would simply cooperate with me and build properly, I'd
 be much happier with said kernel.

 Elly

 PS - don't try to help with my kernel issues. It simply hates building
 on some VMs, while at other times I can't get it configured to my tastes
 properly.

Thks for advice I,m going to continue with build, If this was to cause 
any problems later When would I expect to see any? I,m am also going to 
build using debain live cd to see if different results appear.

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


[lfs-support] Chapter 6.9 errors

2012-06-29 Thread spiky
Building svn 20120623 glibc-2.15 chapter 6.9
I have used the latest kernel 3.5rc4 ( could this cause the problem) 
Host Ubuntu 12.10 compliant

The Whole build so far has been error free.


This is the error at the end of TIMEOUTFACTOR=16 make -k check 21 | 
tee glibc-check-log


make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.15'
make: *** [check] Error 2



root:/sources/glibc-build# grep Error glibc-check-log
make[2]: *** [/sources/glibc-build/localedata/tst-xlocale1.out] Error 1
make[1]: *** [localedata/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/elf/check-localplt.out] Error 1
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2

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


Re: [lfs-support] Chapter 6.9 errors

2012-06-29 Thread spiky
On 29/06/12 23:03, Ken Moffat wrote:
 On Fri, Jun 29, 2012 at 09:42:12PM +0100, spiky wrote:
 Building svn 20120623 glibc-2.15 chapter 6.9
 I have used the latest kernel 3.5rc4 ( could this cause the problem)
   Possibly.

 Host Ubuntu 12.10 compliant
   That's a -rc or 'prerelease' of their next release ?  It's possible
 that something within the ubuntu kernel is causing this (or, are you
 running your own 3.5-rc4 kernel on ubuntu ?)
 The Whole build so far has been error free.


 This is the error at the end of TIMEOUTFACTOR=16 make -k check 21 |
 tee glibc-check-log
 [...]
 root:/sources/glibc-build# grep Error glibc-check-log
 make[2]: *** [/sources/glibc-build/localedata/tst-xlocale1.out] Error 1
 make[1]: *** [localedata/tests] Error 2
 make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
 make[2]: *** [/sources/glibc-build/elf/check-localplt.out] Error 1
 make[1]: *** [elf/tests] Error 2
 make: *** [check] Error 2

   First comment: it's only one failure, I doubt if it matters -
 probably a corner case.

   Second comment: I noted this failure when I was building cross-lfs
 on ppc and ppc64 - specifically in my notes between November 07 and
 summer 08.  Possibly I gave up clfs ppc{,64} after that, or else the
 failure disappeared in a newer build.  So, I very much doubt that it
 matters (the completed systems worked fine), but it's interesting
 that it has shown up now.  Just as a data point, is this 32bit or
 64-bit ?

 ĸen
The host is there beta of next release, 32bit , kernel 3.2.0-26-generic-pae
I installed the 3.5rc4 in previous chapter 6.7
I was in 2 minds weather to carry on, or rebuild an earlier kernel ( if 
thats a possible fault) Or rebuild with Debain host using 3.5rc4 kernel

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


Re: [lfs-support] Populating /etc/rc.d

2012-06-16 Thread spiky
On 16/06/12 15:44, joao.more...@free.fr wrote:
 Hi all,

 A quick question : I've reached chapter 7, and I didn't realize when the 
 /etc/rc.d directories were populated... I went back to reading chapter 6 but 
 I couldn't find it. I thought probably sysvinit-2.88dsf, but I just unpacked 
 that again, and it seems to just build binaries.

 Can someone please tell me at which step in the book is /etc/rc.d built and 
 populated ? with which package ?

 Joao
When you build the boot scripts chapter 7.6.1
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Not getting any output in dummy.c after GCC pass2 installation...please help...urgent

2012-03-23 Thread spiky

On 23/03/12 08:26, Alexander Kapshuk wrote:
On Fri, Mar 23, 2012 at 7:06 AM, Sumeet Shekhar 
sshekhar.s...@gmail.com mailto:sshekhar.s...@gmail.com wrote:


I am not getting any output while running the program dummy.c after
GCC pass2 installation.

Also it says that create gcc-build directory again. Should i remove
the previous gcc-build and build it again or create another build
directory with some other name.
What should i do..?

Please help...urgent..

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

Did you run the recommended checks as shown in the Caution section 
here, 
http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass2.html?





Yes delete the gcc-build directory and the gcc directory then untar again
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] compilation error in GCC pass 1 package

2012-01-29 Thread spiky

On 29/01/12 09:14, mohit jain wrote:
Sir I have attached the text file of the problem faced. Please find it 
and provide  a remedy.

I am using LFS-BOOK-6.7.pdf
With UBUNTU 10.04 LTS as the host
Facing problem in compiling GCC-4.5.1 - Pass 1 package
and the error faced is attached as a text file which is copied from 
the terminal



Regards,
Mohit Jain



Did you install gmp-5.0.2 as mentioned in the begining of the chapter.
And did you check the host system requirements in the preface chapter
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] glibc tests errors

2012-01-02 Thread spiky

On 02/01/12 21:48, mais lfs wrote:
On Mon, Jan 2, 2012 at 10:24 PM, Ken Moffat zarniwh...@ntlworld.com 
mailto:zarniwh...@ntlworld.com wrote:


On Mon, Jan 02, 2012 at 07:57:49PM +0200, mais lfs wrote:
 On Mon, Jan 2, 2012 at 7:24 PM, Ken Moffat
zarniwh...@ntlworld.com mailto:zarniwh...@ntlworld.com wrote:

 
   Take a look in glibc-check-log from the *host* system.

 Don't have 'less' available yet, so is using:
 grep -B5 Error glibc-check-log

 I know you don't have less or vim in chroot, that's why I said to
use it from the host.  But, you've found the error.

 with which I found:
 ..
 error while loading shared libraries: libgcc_s.so.1: cannot open
shared
 object file: No such file or directory
 ..
 but:  find / -name 'libgcc_s*'  gives
 /sources/glibc-2.14.1/sysdeps/generic/libgcc_s.h
 /tools/lib/libgcc_s.so.1
 /tools/lib/libgcc_s.so

 To confirm the problem, your really DO have to go back to the host
system, then run ldd /mnt/lfs/tools/lib/libgcc_s.so.1

 I'm guessing it's linked against one or more host libraries in
/usr/lib.  If so, something went badly wrong.

 I'm not in favour of the 'repeat, hoping it will work this time',
approach.  I do think you will have to start again, from the
beginning, but if you can gather information about what you did
wrong, you will know what to do differently next time.

 The problem with (only) libgcc_s doesn't ring any bells for me.  I
wonder if in fact other packages in chapter 5 have been linked to
the host.  You can try running ldd on some binaries in /tools/bin and
some shared libraries in /tools/lib - pick one of either from each
package, starting with binutils pass 2 (section 5.9) and then for
random later packages.

 If they are all linked to /usr/lib, something went wrong in section
5.8, 'Adjusting the Toolchain'.  If the problem is only with some,
or all, packages after binutils pass 2, then I suspect you took a
break, but didn't correctly restore the environment when you
resumed.


Thx Ken
I suspect your suspect is correct. I've been sitting doing this in one go
when I should have taken regular breaks. What I'm going to do now is
print out 10 or so pages at a time, do what's on them  tick the steps off
as I do them, and then take a break before I do the next set of pages.

I'm going to keep the broken attempt - got more than enough diskspace
 to create more partitions - so I can later (maybe) as an exercise
try and find my mistake when I understand the whole a bit better.

Doing the building two or three times can only help me understand things
better. Anyway I wonder if anybody ever did the build right the first 
time,

in only a single go?



Did you do the host system requirments in chapter preface
http://www.linuxfromscratch.org/lfs/view/7.0/prologue/hostreqs.html

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


Re: [lfs-support] Chapter 5 gcc 2nd build

2012-01-02 Thread spiky
On 02/01/12 22:57, James Forcier wrote:
 I am working on the 2nd build of gcc in Chapter 5, LFS 7.0. It says
 that the patch gcc-4.6.1-startfiles_fix-1 should be applied; should
 the patch applied to the first build of gcc
 (gcc-4.6.1-cross_compile-1) also be applied?
No just the patch it asks for

patch gcc-4.6.1-startfiles_fix-1

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


Re: [blfs-support] metacity error

2011-12-29 Thread spiky
On 29/12/11 17:11, Bruce Dubbs wrote:
 spiky wrote:
 Hi

 I,m building Metacity-2.30.1 I recieved an error while running make.
 libmetacity_private_la-boxes.lo] Error 1
 leaving metacity-2.30.1/src.
 I checked the src there is no libmetacity_private_la-boxes
 I have not had a chance to try Metacity yet because it requires several
 Gnome packages that have not yet been updated.  It was last checked for
 LFS 6.5.

 The current version is 2.34.1.  If you get it working, let us know of
 any workarounds you needed to do.

 -- Bruce

I did have to change to libcanberra-028 as the 0.18 failed to build, The 
0.28 version built without problems,
   Regarding Metacity I was just seeing what is was like as I had tried 
Fluxbox and sawfish, I did get success with Metacity-2.34.1 building 
without problem Just couldn't configure it to work with X, I then 
swapped to xfce-4.8 which went without a hitch.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Pygtk-2.17.0 error with Pygobject-3.0.3

2011-12-28 Thread spiky
On 28/12/11 10:30, Simon Geard wrote:
 On Tue, 2011-12-27 at 10:48 +, spiky wrote:
 I would like to know if there is a problem with Pygtk-2.17.0 and
 Pygobject-3.0.3?
 I had an install error I reverted back to Pygobject-2.21.3 with success

 Yes. The newer Pygobject 3 series isn't compatible with previous
 versions, or with other packages like Pygtk that depends on them. It's
 effectively a completely new library, and I think both it and 2.x can be
 installed without conflicting with each other.

 Simon.
Yes I have installed the older 2x version with 3x all seems ok at the 
moment

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


[blfs-support] Pygtk-2.17.0 error with Pygobject-3.0.3

2011-12-27 Thread spiky
I would like to know if there is a problem with Pygtk-2.17.0 and 
Pygobject-3.0.3?
I had an install error I reverted back to Pygobject-2.21.3 with success

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


Re: [lfs-support] ld:Cannot find -lgcc_eh when compiling Glibc

2011-12-09 Thread spiky
On 08/12/11 12:31, 王斌 wrote:
 Hello, everybody.
 I have figured out this problem.
 I forgot to link libgcc.a to lgcc_eh after I installed gcc.
 In anoter word, type the command:

 ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | \
 sed 's/libgcc/_eh/'`



 在 2011年12月8日 下午7:46,王斌 wbi...@gmail.com
 mailto:wbi...@gmail.com写 道:


 Sorry, I think there are more messages about errors:

 i686-lfs-linux-gnu-gcc -nostdlib -nostartfiles -o
 /mnt/lfs/sources/glibc-build/iconv/iconvconfig
 -Wl,-dynamic-linker=/tools/lib/ld-linux.so.2 -Wl,-z,combreloc
 -Wl,-z,relro -Wl,--hash-style=both
 /mnt/lfs/sources/glibc-build/csu/crt1.o
 /mnt/lfs/sources/glibc-build/csu/crti.o
 `i686-lfs-linux-gnu-gcc --print-file-name=crtbegin.o`
 /mnt/lfs/sources/glibc-build/iconv/iconvconfig.o
 /mnt/lfs/sources/glibc-build/iconv/strtab.o
 /mnt/lfs/sources/glibc-build/iconv/xmalloc.o
 /mnt/lfs/sources/glibc-build/iconv/hash-string.o
 
 -Wl,-rpath-link=/mnt/lfs/sources/glibc-build:/mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/nptl
 /mnt/lfs/sources/glibc-build/libc.so.6
 /mnt/lfs/sources/glibc-build/libc_nonshared.a
 /mnt/lfs/sources/glibc-build/elf/ld.so -lgcc -lgcc_eh
 `i686-lfs-linux-gnu-gcc --print-file-name=crtend.o`
 /mnt/lfs/sources/glibc-build/csu/crtn.o

 
 /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.6.1/../../../../i686-lfs-linux-gnu/bin/ld:
 cannot find -lgcc_eh
 collect2: ld returned 1 exit status
 make[2]: *** [/mnt/lfs/sources/glibc-build/iconv/iconvconfig]
 Error 1
 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1/iconv'
 make[1]: *** [iconv/others] Error 2
 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
 make: *** [all] Error 2



 -- Forwarded message --
 From: *王斌* wbi...@gmail.com mailto:wbi...@gmail.com
 Date: 2011/12/8
 Subject: ld:Cannot find -lgcc_eh when compiling Glibc
 To: lfs-support@linuxfromscratch.org
 mailto:lfs-support@linuxfromscratch.org


 Hello, everybody.

 I have an error when I compiling glibc in Chapter 5. My host
 system is 32-bit ubuntu 11.10. There is an error about mawk at
 first, so I changed mask to gask. But there is still an error:

 /mnt/lfs/sources/glibc-build/libc.so.6
 /mnt/lfs/sources/glibc-build/libc_nonshared.a
 /mnt/lfs/sources/glibc-build/elf/ld.so -lgcc -lgcc_eh
 `i686-lfs-linux-gnu-gcc --print-file-name=crtend.o`
 /mnt/lfs/sources/glibc-build/csu/crtn.o
 
 /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.6.1/../../../../i686-lfs-linux-gnu/bin/ld:
 cannot find -lgcc_eh
 collect2: ld returned 1 exit status
 make[2]: *** [/mnt/lfs/sources/glibc-build/iconv/iconvconfig]
 Error 1
 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1/iconv'
 make[1]: *** [iconv/others] Error 2
 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
 make: *** [all] Error 2


 Thanks!


Did you make sure Ubuntu was compliant using the version script
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] libc.so.6

2011-11-21 Thread spiky
On 20/11/11 14:02, Andrew Benton wrote:
 On Sun, 20 Nov 2011 16:32:57 +0800
 Zhu Bicenzhubi...@gmail.com  wrote:

 Hi, I am check the host requirement to build LFS. after issuing the
 version-check.sh on error is occured:
 I am using a 32 bit ubuntu 11.10.

 version-check.sh: line 22: /lib/libc.so.6: No such file or directory
 I haven't downloaded or tried ubuntu 11.10 so I can't say for certain
 but I suspect you'll be fine. The file seems to be in a subdirectory
 (/lib/i383-linux-gnu/libc.so.6? I'm not sure). The rest of you output
 looks fine (/bin/sh and awk look good). I'd crack on if I were you.

 Andy
Hi I have built on 11.04 had same error on 

version-check.sh: line 22: /lib/libc.so.6: No such file or directory
To fix it
Run this symlink
sudo ln -s /lib/i386-linux-gnu/libc-2.13.so /lib/libc.so.6

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


Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On Sun, 2011-11-13 at 01:26 +, Andrew Benton wrote:
 On Sat, 12 Nov 2011 22:53:11 +
 spiky martynvid...@aol.com wrote:
 
  I have built lfs7 with linux 3.1rc4. I cant boot it when on sdc. If 
  drive is put in laptop on IDE it will boot. I have set the fstab  
  grub.cfg in lots of different ways still no joy,
  grub.cfg
  
  # Begin /boot/grub/grub.cfg
  set default=0
  set timeout=5
  
  insmod ext2
  set root=(hd2,1)
  
  menuentry GNU/Linux, Linux 3.1-lfs-7.0 {
   linux   /boot/vmlinuz-3.1-lfs-7.0 root=/dev/sdc1
  }
  
  fstab
  # Begin /etc/fstab
  
  # file system  mount-point  type   options dump  fsck
  #order
  
  /dev/sdc1  /ext4   defaults1 1
  /dev/sdc2  swap swap   pri=1   0 0
  proc   /procproc   defaults0 0
  sysfs  /sys sysfs  defaults0 0
  devpts /dev/pts devpts gid=4,mode=620  0 0
  tmpfs  /run tmpfs  defaults0 0
  # End /etc/fstab
  
  I would like it to boot off it,s own drive selected by bios (bios dose 
  allow booting from usb)
 
 At what point in the boot process does the boot fail (BIOS, grub or
 kernel)? What sort of error messages do you get when the boot fails?
 Give us a clue, what actually happens?
 FWIW fstab is irrelevent for a boot failing. The kernel gets its root
 partition from the grub command line in grub.cfg and mounts that read
 only. /etc/fstab comes into play later when the bootscripts do their
 work.
 
 Andy
Ok I used grub prompt it showed the usb drive
hd0,msdos1(LFS-7.0),2(swap),3(home).
then entered set root=(hd0,msdos)
linux /boot/vmlinux-3.1-7.0 (it found with tab)root=/devsda1
boot
i get 
no filesystem could mount root tried ext 3 ,2, 4 etc
also Kernel panic not syncing VFS unable to mount root fson unknown
block (8.1).
This is the same as I get when I let it boot as normal for this drive.
 
  Martyn


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


Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On 13/11/11 11:50, Andrew Benton wrote:
 On Sun, 13 Nov 2011 10:36:34 +
 spikymartynvid...@aol.com  wrote:

 Ok I used grub prompt it showed the usb drive
 hd0,msdos1(LFS-7.0),2(swap),3(home).
 then entered set root=(hd0,msdos)
 linux /boot/vmlinux-3.1-7.0 (it found with tab)root=/devsda1
 boot
 i get
 no filesystem could mount root tried ext 3 ,2, 4 etc
 also Kernel panic not syncing VFS unable to mount root fs on unknown
 block (8.1).
 This is the same as I get when I let it boot as normal for this drive.

 That looks like a kernel panic, which is good because it means you've
 got past the BIOS and grub. It could be that you've not compiled the
 kernel with support for the root filesystem built into the kernel. It
 could also be that the kernel config is fine but you've passed it the
 wrong root= option on the grub command line. I'm pretty sure I'd get a
 similar looking kernel panic if I tried to boot my kernel with root=
 pointing to my swap partition. Another possibility is that the kernel
 sees the partition as /dev/sdb1 or /dev/hdc1 or some such. There's no
 way to be sure other than to try all the combinations you can think of
 and see what works. If none of them work then the problem is probably
 with your kernel config so you'll have to work on that recompile your
 kernel until you get one that boots.

 Andy
Even tho the system will boot when an ide, I did recompile kernel 
yesterday checking sata stuff and usb. It just seems confusing as I know 
it will boot until connected as usb. I will try kernel again checking 
for root file system support.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On 13/11/11 12:36, Alain Toussaint wrote:
 hd0,msdos1(LFS-7.0),2(swap),3(home).
^^

 Could it be that the partition is FAT32 instead of ext(2,3,4)?

 Alain

I formatted the partition with gparted to ext4 swap is swap home ext4

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


Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On 13/11/11 12:38, spiky wrote:
 On 13/11/11 12:36, Alain Toussaint wrote:
 hd0,msdos1(LFS-7.0),2(swap),3(home).
 ^^

 Could it be that the partition is FAT32 instead of ext(2,3,4)?

 Alain

 I formatted the partition with gparted to ext4 swap is swap home ext4

   Martyn
Ok I have run kernel config again I enabled all filesystems ext2,3,4 in 
the file section hope this was the right place for root filesystem.
  I ran grub prompt on my ubuntu system (IDE) (set root hd0,2) then 
(root =/dev/sda2) that boots. I tried ubuntu 11.10 which is on sdb (usb) 
Couldn,t get it to boot? from grub prompt but will if select that 
harddrive from bios.
  I redone LFS grub.cfg  root=hdo,2   then linux root=UUID=uuid 
no still no joy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On 13/11/11 17:12, Bruce Dubbs wrote:
 Andrew Benton wrote:
 On Sun, 13 Nov 2011 10:36:34 +
 spikymartynvid...@aol.com  wrote:

 Ok I used grub prompt it showed the usb drive
 hd0,msdos1(LFS-7.0),2(swap),3(home).
 then entered set root=(hd0,msdos)
 That seems right.  The msdos part is the boot record type, not a
 partition type,


 linux /boot/vmlinux-3.1-7.0 (it found with tab)root=/devsda1
 Is there a missing / or just a typo?  Should be /dev/sda1

 boot
 i get
 no filesystem could mount root tried ext 3 ,2, 4 etc
 also Kernel panic not syncing VFS unable to mount root fs on unknown
 block (8.1).
 When you have a problem with a lot of new things, isolate the new from
 the old.  I recommend going back to a ext3 partition until you get it
 working.

 This is the same as I get when I let it boot as normal for this drive.
 That looks like a kernel panic, which is good because it means you've
 got past the BIOS and grub.
 Right.

 It
 could also be that the kernel config is fine but you've passed it the
 wrong root= option on the grub command line.
 That would be my thought too.

 I'm pretty sure I'd get a
 similar looking kernel panic if I tried to boot my kernel with root=
 pointing to my swap partition. Another possibility is that the kernel
 sees the partition as /dev/sdb1 or /dev/hdc1 or some such. There's no
 way to be sure other than to try all the combinations you can think of
 and see what works. If none of them work then the problem is probably
 with your kernel config so you'll have to work on that recompile your
 kernel until you get one that boots.
 BTW, the kernel doesn't understand root=UUID=uuid.  You have to have a
 initrd for that.  I'm not sure if the kernel understands
 root=LABEL=label or not.

 Just remember that grub's root and the kernel's root are not, in
 general, the same thing, although they could point to the same place.

 -- Bruce
If I was to go back to ext3 would that mean a complete rebuild or is it 
possible to use gparted?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky

On 13/11/11 17:12, Bruce Dubbs wrote:

Andrew Benton wrote:

On Sun, 13 Nov 2011 10:36:34 +
spikymartynvid...@aol.com  wrote:


Ok I used grub prompt it showed the usb drive
hd0,msdos1(LFS-7.0),2(swap),3(home).
then entered set root=(hd0,msdos)

That seems right.  The msdos part is the boot record type, not a
partition type,



linux /boot/vmlinux-3.1-7.0 (it found with tab)root=/devsda1

Is there a missing / or just a typo?  Should be /dev/sda1


boot
i get
no filesystem could mount root tried ext 3 ,2, 4 etc
also Kernel panic not syncing VFS unable to mount root fs on unknown
block (8.1).

When you have a problem with a lot of new things, isolate the new from
the old.  I recommend going back to a ext3 partition until you get it
working.


This is the same as I get when I let it boot as normal for this drive.

That looks like a kernel panic, which is good because it means you've
got past the BIOS and grub.

Right.


It
could also be that the kernel config is fine but you've passed it the
wrong root= option on the grub command line.

That would be my thought too.

I'm pretty sure I'd get a

similar looking kernel panic if I tried to boot my kernel with root=
pointing to my swap partition. Another possibility is that the kernel
sees the partition as /dev/sdb1 or /dev/hdc1 or some such. There's no
way to be sure other than to try all the combinations you can think of
and see what works. If none of them work then the problem is probably
with your kernel config so you'll have to work on that recompile your
kernel until you get one that boots.

BTW, the kernel doesn't understand root=UUID=uuid.  You have to have a
initrd for that.  I'm not sure if the kernel understands
root=LABEL=label or not.

Just remember that grub's root and the kernel's root are not, in
general, the same thing, although they could point to the same place.

-- Bruce

Ok just found a fix fstab
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5


insmod ext2
set root=(hd0,1)

menuentry GNU/Linux, Linux 3.1-lfs-7.0 {
linux   /boot/vmlinuz-3.1-lfs-7.0 root=/dev/sdc1 *rootdelay=30 ro*
}

any thoughts I will play with fstab, The idea is waiting for the usb to 
load (google search)
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


built LFS7 wont boot from usb harddrive

2011-11-12 Thread spiky
I have built lfs7 with linux 3.1rc4. I cant boot it when on sdc. If 
drive is put in laptop on IDE it will boot. I have set the fstab  
grub.cfg in lots of different ways still no joy,
grub.cfg

# Begin /boot/grub/grub.cfg
set default=0
set timeout=5

insmod ext2
set root=(hd2,1)

menuentry GNU/Linux, Linux 3.1-lfs-7.0 {
 linux   /boot/vmlinuz-3.1-lfs-7.0 root=/dev/sdc1
}

fstab
# Begin /etc/fstab

# file system  mount-point  type   options dump  fsck
#order

/dev/sdc1  /ext4   defaults1 1
/dev/sdc2  swap swap   pri=1   0 0
proc   /procproc   defaults0 0
sysfs  /sys sysfs  defaults0 0
devpts /dev/pts devpts gid=4,mode=620  0 0
tmpfs  /run tmpfs  defaults0 0
# End /etc/fstab

I would like it to boot off it,s own drive selected by bios (bios dose 
allow booting from usb)
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: built LFS7 wont boot from usb harddrive

2011-11-12 Thread spiky
On 12/11/11 23:17, Bruce Dubbs wrote:
 spiky wrote:
 I have built lfs7 with linux 3.1rc4. I cant boot it when on sdc. If
 drive is put in laptop on IDE it will boot. I have set the fstab
 grub.cfg in lots of different ways still no joy,
 grub.cfg

 # Begin /boot/grub/grub.cfg
 set default=0
 set timeout=5

 insmod ext2
 set root=(hd2,1)

 menuentry GNU/Linux, Linux 3.1-lfs-7.0 {
   linux   /boot/vmlinuz-3.1-lfs-7.0 root=/dev/sdc1
 }

 fstab
 # Begin /etc/fstab

 # file system  mount-point  type   options dump  fsck
 #order

 /dev/sdc1  /ext4   defaults1 1
 /dev/sdc2  swap swap   pri=1   0 0
 proc   /procproc   defaults0 0
 sysfs  /sys sysfs  defaults0 0
 devpts /dev/pts devpts gid=4,mode=620  0 0
 tmpfs  /run tmpfs  defaults0 0
 # End /etc/fstab

 I would like it to boot off it,s own drive selected by bios (bios dose
 allow booting from usb)
 I've never tried that, but does grub recognize the usb drive at all?
 You may need 'insmod usb.mod'.  The first step is to go to the grub
 command line and get it to recognize the usb drive.  Then get it to boot
 from the command line.  Only after you can do that, try to get grub.cfg
 right.

 I suspect that from grub's perspective, after the bios hands off to the
 usb drive, that root is hd0.

 You might want to try the help-grub mailing list:
 https://lists.gnu.org/mailman/listinfo/help-grub

 -- Bruce

I have tried setting root to hd0,1 and setting boot to sda1 just incase 
it looked at it as the 1st boot option, I,m not sure it is a grub fault 
as when I ran grub update from Ubuntu it still wont boot.
   When you say get the command line to recognise the usb it appears in 
bklid and device map shows hd0 hd1 hd2

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


Re: Ok, now I am having issues

2011-11-07 Thread spiky

On 07/11/11 20:27, Yaser Amini wrote:


Try to execute command separately

First:

CC=$LFS_TGT-gcc -B/tools/lib/ \
AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib

Second:

../binutils-2.21.1/configure --prefix=/tools \
--disable-nls --with-lib-path=/tools/lib

It worked for me

*From:*lfs-support-boun...@linuxfromscratch.org 
[mailto:lfs-support-boun...@linuxfromscratch.org] *On Behalf Of *Danny 
Vukobratovich

*Sent:* Monday, November 07, 2011 5:54 PM
*To:* LFS Support List
*Subject:* Ok, now I am having issues

I am using LFS 7.0

I am working on section 5.9 Binutils-2.21.1a Pass 2

I type in the first command sequence:

CC=$LFS_TGT-gcc -B/tools/lib/ \
AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \
../binutils-2.21.1/configure --prefix=/tools \
--disable-nls --with-lib-path=/tools/lib

it errors out stating:

configure: error: C compiler can not create executables

I check the config.log file

Here is an exert from where the error occurs:

FATAL: kernel too old
onfigure:4180: $? = 1
configure:4217: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME 
| #define PACKAGE_TARNAME 
| #define PACKAGE_VERSION 
| #define PACKAGE_STRING 
| #define PACKAGE_BUGREPORT 
| #define PACKAGE_URL 
|
| int
| main ()
| {
|;
|   return 0:
| }
configure:4223: error: in '/mnt/lfs/sources/binutils-build':
configure:4227: error: C compiler cannot create executabables

then at the end of the file, I get:

configure: exit 77

this is a fresh installation and I have had no problems up until this 
point.  Thank you very much,



Danny Vukobratovich
Systems Administrator
Marian, Inc.
www.marianinc.com http://www.marianinc.com


Did you check the host system is compliant maybe post the output of 
version script
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Gcc errors

2011-10-28 Thread spiky

Hi I have been building lfs 7rc2, Host Ubuntu 11.04 complient.
I have built up to 6.17 gcc. I restarted machine today so as to carry on 
the build of gcc, After completing chapters 2.4, check echo $LFS correct 
output, chapter 6.2.2 and finally 6.4 chroot, all commands up to 6.4 
were copy/paste. I have rebooted the machine a few times and had no 
problems or errors with the build.
  The only change to the book I have made is linux3.1rc4. I dont think 
this will cause any problems at the moment.
 The error I get is with make of gcc is missing dir/files I have 
checked /tools/bin/msgfmt and the other dir which are missing they are 
there.

 I have rm -r gcc-build  gcc-4.6.1 a couple of times and redone them again

   Thks in advance

libtool: link: ranlib .libs/libstdc++.a
libtool: link: rm -fr .libs/libstdc++.lax
libtool: link: ( cd .libs  rm -f libstdc++.la  ln -s ../libstdc++.la 
libstdc++.la )
make[4]: Leaving directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src'
Making all in po
make[4]: Entering directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/po'
msgfmt -o de.mo ../../../../gcc-4.6.1/libstdc++-v3/po/de.po
/tools/bin/msgfmt: line 61: /bin/sed: No such file or directory
/tools/bin/msgfmt: line 65: /bin/sed: No such file or directory
/tools/bin/msgfmt: line 118: cd: 
/mnt/lfs/sources/gettext-0.18.1.1/gettext-tools/src: No such file or directory
gcc: error: msgfmt-msgfmt.o: No such file or directory
gcc: error: msgfmt-write-mo.o: No such file or directory
gcc: error: msgfmt-write-java.o: No such file or directory
gcc: error: msgfmt-write-csharp.o: No such file or directory
gcc: error: msgfmt-write-resources.o: No such file or directory
gcc: error: msgfmt-write-tcl.o: No such file or directory
gcc: error: msgfmt-write-qt.o: No such file or directory
gcc: error: msgfmt-hash-string.o: No such file or directory
gcc: error: ./.libs/libgettextsrc.so: No such file or directory
gcc: error: 
/mnt/lfs/sources/gettext-0.18.1.1/gettext-tools/gnulib-lib/.libs/libgettextlib.so:
 No such file or directory
make[4]: *** [de.mo] Error 1
make[4]: Leaving directory 
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/po'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/sources/gcc-build'
make: *** [all] Error 2
root:/sources/gcc-build# 

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


Re: Gcc errors

2011-10-28 Thread spiky

On 28/10/11 19:46, spiky wrote:

Hi I have been building lfs 7rc2, Host Ubuntu 11.04 complient.
I have built up to 6.17 gcc. I restarted machine today so as to carry 
on the build of gcc, After completing chapters 2.4, check echo $LFS 
correct output, chapter 6.2.2 and finally 6.4 chroot, all commands up 
to 6.4 were copy/paste. I have rebooted the machine a few times and 
had no problems or errors with the build.
  The only change to the book I have made is linux3.1rc4. I dont think 
this will cause any problems at the moment.
 The error I get is with make of gcc is missing dir/files I have 
checked /tools/bin/msgfmt and the other dir which are missing they are 
there.
 I have rm -r gcc-build  gcc-4.6.1 a couple of times and redone them 
again


   Thks in advance

Ok I have found the problem, It,s in the gettext install 5.23.1, I put 
cd gettext-0.18.1.1, should of been *_cd gettext-tools_*.

  Is this fixable?
I have a backup BUT I think it was done after stripping 5.34
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: lfs 7 rc2

2011-10-18 Thread spiky

On 17/10/11 23:02, Bruce Dubbs wrote:

spiky wrote:

On 17/10/11 22:40, Bruce Dubbs wrote:

spiky wrote:

I,m using Ubuntu 11.04  I ran the version script and fixed all
dependencies.

I having a problem with
Version 7.0-rc2 glibc-2.14.1 and the patches. I have used both patches
as per book, Just 1 Question the patches do go in untarred dir
glibc-2.14.1?

checking cpuid.h presence... yes
configure: WARNING: cpuid.h: present but cannot be compiled
configure: WARNING: cpuid.h: check for missing prerequisite headers?
configure: WARNING: cpuid.h: see the Autoconf documentation
configure: WARNING: cpuid.h: section Present But Cannot Be Compiled
configure: WARNING: cpuid.h: proceeding with the compiler's result
checking for cpuid.h... no
configure: error: gcc must provide thecpuid.h   header

It sounds like you don't have a full gcc installation.  autoconf is
checked for, but not required.

cpuid.h should be in
/mnt/lfs/tools/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/include/cpuid.h

It doesn't have any include files, but it does have some assembler code.

 -- Bruce

Yes thats where the file is

Oh yes.  Did you apply glibc-2.14.1-cpuid-1.patch?  Check
sysdeps/i386/configure around line 632 to make sure.  It's a 3 line patch.

-- Bruce


I rebuilt glibc-2.14.1 again,
the section regarding

ac_fn_c_check_header_mongrel $LINENO cpuid.h ac_cv_header_cpuid_h 
$ac_includes_default

if test x$ac_cv_header_cpuid_h = xyes; then :

else
  as_fn_error $? gcc must provide the cpuid.h header $LINENO 5
fi



# as_fn_set_status STATUS
# ---
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
  return $1
} # as_fn_set_status

# as_fn_exit STATUS
# -
# Exit the shell with STATUS, even in a trap 0 or set -e context.
as_fn_exit ()
{
  set +e
  as_fn_set_status $1
  exit $1
} # as_fn_exit
# as_fn_arith ARG...
# --
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval test \$(( 1 + 1 )) = 2) 2/dev/null; then :
  eval 'as_fn_arith ()
  {
as_val=$(( $* ))
  }'
else
  as_fn_arith ()
  {
as_val=`expr $@ || test $? -eq 1`
  }
fi # as_fn_arith

if expr a : '\(a\)' /dev/null 21 
   test X`expr 1 : '.*\(...\)'` = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) /dev/null 21  test X`basename -- / 21` = X/; then
  as_basename=basename
else
  as_basename=false
fi

as_me=`$as_basename -- $0 ||
$as_expr X/$0 : '.*/\([^/][^/]*\)/*$' \| \
 X$0 : 'X\(//\)$' \| \
 X$0 : 'X\(/\)' \| . 2/dev/null ||
$as_echo X/$0 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
  }
  /^X\/\(\/\/\)$/{
s//\1/
q
  }
  /^X\/\(\/\).*/{
s//\1/
q
  }
  s/.*/./; q'`


  as_lineno_1=$LINENO as_lineno_1a=$LINENO
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
  eval 'test x$as_lineno_1'$as_run' != x$as_lineno_2'$as_run' 
  test x`expr $as_lineno_1'$as_run' + 1` = x$as_lineno_2'$as_run'' || {
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
p
/[$]LINENO/=
  ' $as_myself |
sed '
  s/[$]LINENO.*/-/
  t lineno
  b
  :lineno
  N
  :loop
  s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  t loop
  s/-\n.*//
' $as_me.lineno 
  chmod +x $as_me.lineno ||
{ $as_echo $as_me: error: cannot create $as_me.lineno; rerun with a POSIX 
shell 2; as_fn_exit 1; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensitive to this).
  . ./$as_me.lineno
  # Exit status is that of the last command.
  exit
}

# Factoring default headers for most tests.
ac_includes_default=\
#include stdio.h
#ifdef HAVE_SYS_TYPES_H
# include sys/types.h
#endif
#ifdef HAVE_SYS_STAT_H
# include sys/stat.h
#endif
#ifdef STDC_HEADERS
# include stdlib.h
# include stddef.h
#else
# ifdef HAVE_STDLIB_H
#  include stdlib.h
# endif
#endif
#ifdef HAVE_STRING_H
# if !defined STDC_HEADERS  defined HAVE_MEMORY_H
#  include memory.h
# endif
# include string.h
#endif
#ifdef HAVE_STRINGS_H
# include strings.h
#endif
#ifdef HAVE_INTTYPES_H
# include inttypes.h
#endif
#ifdef HAVE_STDINT_H
# include stdint.h
#endif
#ifdef HAVE_UNISTD_H
# include unistd.h
#endif


# ac_fn_c_try_compile LINENO
# --
# Try to compile conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_compile ()
{
  as_lineno=${as_lineno-$1} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  rm -f conftest.$ac_objext
  if { { ac_try=$ac_compile
case (($ac_try in
  *\* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo=\\$as_me:${as_lineno-$LINENO}: $ac_try_echo\
$as_echo $ac_try_echo; } 5
  (eval $ac_compile

lfs 7 rc2

2011-10-17 Thread spiky

I,m using Ubuntu 11.04  I ran the version script and fixed all dependencies.

I having a problem with
Version 7.0-rc2 glibc-2.14.1 and the patches. I have used both patches 
as per book, Just 1 Question the patches do go in untarred dir glibc-2.14.1?


checking cpuid.h presence... yes
configure: WARNING: cpuid.h: present but cannot be compiled
configure: WARNING: cpuid.h: check for missing prerequisite headers?
configure: WARNING: cpuid.h: see the Autoconf documentation
configure: WARNING: cpuid.h: section Present But Cannot Be Compiled
configure: WARNING: cpuid.h: proceeding with the compiler's result
checking for cpuid.h... no
configure: error: gcc must provide the cpuid.h header
checking for autoconf... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/bash
checking for gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/bin/install-info
checking for bison... /usr/bin/bison
checking for signed size_t type... no
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking for .set assembler directive... yes
checking for assembler gnu_unique_object symbol type... yes
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... yes
checking for -Bgroup option... yes
checking for libgcc_s suffix... 
checking for --as-needed option... no
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for -z execstack... yes
checking for -fpie... no
checking for --hash-style option... yes
checking for -fno-toplevel-reorder -fno-section-anchors... yes
checking for -fstack-protector... no
checking for -fgnu89-inline... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for __builtin_expect... yes
checking for __builtin_memset... yes
checking for redirection of built-in functions... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for is_selinux_enabled in -lselinux... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking size of long double... 0
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... (cached) yes
checking for C cleanup handling... (cached) yes
running configure fragment for sysdeps/pthread
running configure fragment for sysdeps/unix/sysv/linux
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking installed Linux kernel header files... 2.0.10 or later
checking for kernel header at least 2.6.25... ok
running configure fragment for sysdeps/i386
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) no
checking for sys/types.h... (cached) no
checking for sys/stat.h... (cached) no
checking for stdlib.h... (cached) no
checking for string.h... (cached) no
checking for memory.h... (cached) no
checking for strings.h... (cached) no
checking for inttypes.h... (cached) no
checking for stdint.h... (cached) no
checking for unistd.h... (cached) no
checking cpuid.h usability... no
checking cpuid.h presence... yes
configure: WARNING: cpuid.h: present but cannot be compiled
configure: WARNING: cpuid.h: check for missing prerequisite headers?
configure: WARNING: cpuid.h: see the Autoconf documentation
configure: WARNING: cpuid.h: section Present But Cannot Be Compiled
configure: WARNING: cpuid.h: 

Re: lfs 7 rc2

2011-10-17 Thread spiky
On 17/10/11 22:40, Bruce Dubbs wrote:
 spiky wrote:
 I,m using Ubuntu 11.04  I ran the version script and fixed all
 dependencies.

 I having a problem with
 Version 7.0-rc2 glibc-2.14.1 and the patches. I have used both patches
 as per book, Just 1 Question the patches do go in untarred dir
 glibc-2.14.1?

 checking cpuid.h presence... yes
 configure: WARNING: cpuid.h: present but cannot be compiled
 configure: WARNING: cpuid.h: check for missing prerequisite headers?
 configure: WARNING: cpuid.h: see the Autoconf documentation
 configure: WARNING: cpuid.h: section Present But Cannot Be Compiled
 configure: WARNING: cpuid.h: proceeding with the compiler's result
 checking for cpuid.h... no
 configure: error: gcc must provide thecpuid.h  header
 It sounds like you don't have a full gcc installation.  autoconf is
 checked for, but not required.

 cpuid.h should be in
 /mnt/lfs/tools/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/include/cpuid.h

 It doesn't have any include files, but it does have some assembler code.

 -- Bruce
Yes thats where the file is
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page