Re: [lfs-support] LFS 7.0 - 6.34 Perl-5.14.2 - 32bit VM Host on Slackware 13

2011-12-30 Thread Andrew Benton
On Fri, 30 Dec 2011 03:52:53 +
Ken Moffat zarniwh...@ntlworld.com wrote:

  This time (still LFS-7.0), module-init-tools (needs libc.a or
 else --disable-static-tools)

I must confess I was unaware of this problem. It's been years since I
compiled module init tools as I don't use any modules.

  and sysvinit (specifically, sulogin -
 it couldn't find libcrypt although the symlink from libcrypt.so to
 /lib/libcrypt.so.1 to libcrypt-2.14 looks ok, running ldd on it
 from the host reported
 
 /mnt/lfs/usr/lib/libcrypt.so: /lib/libc.so.6: version `GLIBC_2.14'
 not found (required by /mnt/lfs/usr/lib/libcrypt.so)
   linux-vdso.so.1 =  (0x7fffaa3ff000)
   libc.so.6 = /lib/libc.so.6 (0x7f7ac3927000)
   /lib64/ld-linux-x86-64.so.2 (0x7f7ac3ca8000)
 
  - possibly the error message is from running on the older host,
 but I couldn't persuade sulogin to build until I made the static
 libcrypt.a visible.

Try adding this to the sed on sysvinit's src/Makefile:

sed -i '/^all:/i  SULOGINLIBS+= -lcrypt' src/Makefile

Andy
-- 
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.0 - 6.34 Perl-5.14.2 - 32bit VM Host on Slackware 13

2011-12-30 Thread Ken Moffat
On Fri, Dec 30, 2011 at 12:10:29PM +, Andrew Benton wrote:
 On Fri, 30 Dec 2011 03:52:53 +
 Ken Moffat zarniwh...@ntlworld.com wrote:
 
   This time (still LFS-7.0), module-init-tools (needs libc.a or
  else --disable-static-tools)
 
 I must confess I was unaware of this problem. It's been years since I
 compiled module init tools as I don't use any modules.
 
 Ah, you purists who follow Linus's advice :)

   and sysvinit (specifically, sulogin -
  it couldn't find libcrypt although the symlink from libcrypt.so to
  /lib/libcrypt.so.1 to libcrypt-2.14 looks ok
  
 
 Try adding this to the sed on sysvinit's src/Makefile:
 
 sed -i '/^all:/i  SULOGINLIBS+= -lcrypt' src/Makefile
 
 Andy

 Cheers - adding it to the existing sed with -e '/^all... does
indeed fix it.  A quick look suggests I've now only got static libs
from glibc.  Since the only recommended way to upgrade libc on LFS
is to build a new system, I don't think I'll get too worried about
which static libc libraries are needed.

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


[lfs-support] GRUB: 8.4.3 Setting Up the Configuration

2011-12-30 Thread Michael Rainey
Hello,

I am currently using the book LFS 7.0 in my project.  I am on the last
leg of the LFS build and hit a snag.

I reached section 8.4.3 Setting up the configuration and was attempting
to install grub to the build.  This where the error listed below   Does
anyone have any ideas on what is going wrong?

Thanks in advance.
Michael 

root:/# cat Device.map
(hd0)   /dev/disk/by-id/ata-VBOX_HARDDISK_VBaf17e34d-45aa027d
(hd1)   /dev/disk/by-id/ata-VBOX_HARDDISK_VBb13872a7-3467e040

root:/# grub-install /dev/sdb
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a disk with
multiple partition labels or both partition label and filesystem.  This
is not supported yet..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be
installed in this setup by using blocklists.  However, blocklists are
UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.

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


Re: [lfs-support] GRUB: 8.4.3 Setting Up the Configuration

2011-12-30 Thread Bruce Dubbs
On Dec 30, 2011 5:23 PM, Michael Rainey mjrai...@cableone.net wrote:

 Hello,

 I am currently using the book LFS 7.0 in my project.  I am on the last
leg of the LFS build and hit a snag.

 I reached section 8.4.3 Setting up the configuration and was attempting
to install grub to the build.  This where the error listed below   Does
anyone have any ideas on what is going wrong?

 Thanks in advance.
 Michael

 root:/# cat Device.map
 (hd0) /dev/disk/by-id/ata-VBOX_HARDDISK_VBaf17e34d-45aa027d
 (hd1) /dev/disk/by-id/ata-VBOX_HARDDISK_VBb13872a7-3467e040

 root:/# grub-install /dev/sdb

You really don't want to install on sdb.  The BIOS will go to sda and you
want to install the MBR there.

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