Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Markku Pesonen
Jeremy Huntwork wrote: > On 5/31/12 6:17 PM, Jeremy Huntwork wrote: >> It still amazes me that pkg-config requires any other external library. >> glib1 wasn't bad since it was shipped alongside it and had no other >> deps, fairly lightweight. But switching to glib2 was just ridiculous. >> All that

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bryan Kadzban
Bruce Dubbs wrote: > Andrew Benton wrote: >> On Thu, 31 May 2012 16:58:00 +0100 Bruce Dubbs >> wrote: >> >>> Try this diff for configure.ac. >> It helps. I can get through configure Ok, but I can't see a way to >> get through make without dbus. > > Did you try in a Chapter 6 environment? I can'

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Ken Moffat wrote: > On Fri, Jun 01, 2012 at 01:19:47AM +0100, Ken Moffat wrote: >> Forgot to check what it installed : the libudev's in /lib look ok, >> but the .pc says libdir=/usr/lib but again only has the .so.1 >> symlink to ../../lib/libudev.so.1.0.0. I assume a .so will also be >> needed, s

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Ken Moffat
On Fri, Jun 01, 2012 at 01:19:47AM +0100, Ken Moffat wrote: > Forgot to check what it installed : the libudev's in /lib look ok, > but the .pc says libdir=/usr/lib but again only has the .so.1 > symlink to ../../lib/libudev.so.1.0.0. I assume a .so will also be > needed, so I've created one. >

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Ken Moffat
On Thu, May 31, 2012 at 11:48:47PM +0100, Ken Moffat wrote: > On Thu, May 31, 2012 at 04:32:22PM -0500, Bruce Dubbs wrote: > > Ken Moffat wrote: > > > > > Is it worth me testing that this does work for xorg/Mesa ? Or are > > > you concentrating on the patches to separate it ? > > > > Not sure.

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Andrew Benton
On Thu, 31 May 2012 23:49:25 +0100 Jeremy Huntwork wrote: > Check these out: > > http://sourceforge.net/projects/pkgconfiglite/ That looks good. It installs /usr/share/aclocal/pkg.m4 which we need. "This is pkg-config-lite-0.26-1, based on pkg-config-0.26. pkg-config-lite is based on pkg-confi

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Ken Moffat
On Thu, May 31, 2012 at 06:49:36PM -0400, Jeremy Huntwork wrote: > On 5/31/12 6:17 PM, Jeremy Huntwork wrote: > > It still amazes me that pkg-config requires any other external library. > > glib1 wasn't bad since it was shipped alongside it and had no other > > deps, fairly lightweight. But switchi

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Ken Moffat wrote: > On Thu, May 31, 2012 at 05:08:29PM -0500, Bruce Dubbs wrote: >> The idea of adding pkg-config 0.25 to LFS is a good suggestion. What do >> others think? We might want to add it to Chapter 6 so we don't have to >> do a workaround for glib in BLFS. > Adding 0.25 sounds good.

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On 5/31/12 6:17 PM, Jeremy Huntwork wrote: >> It still amazes me that pkg-config requires any other external library. >> glib1 wasn't bad since it was shipped alongside it and had no other >> deps, fairly lightweight. But switching to glib2 was just ridiculous. >> All that

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Ken Moffat
On Thu, May 31, 2012 at 05:08:29PM -0500, Bruce Dubbs wrote: > > The idea of adding pkg-config 0.25 to LFS is a good suggestion. What do > others think? We might want to add it to Chapter 6 so we don't have to > do a workaround for glib in BLFS. > >-- Bruce Adding 0.25 sounds good. But

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Jeremy Huntwork
On 5/31/12 6:17 PM, Jeremy Huntwork wrote: > It still amazes me that pkg-config requires any other external library. > glib1 wasn't bad since it was shipped alongside it and had no other > deps, fairly lightweight. But switching to glib2 was just ridiculous. > All that pkg-config is doing is parsin

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Ken Moffat
On Thu, May 31, 2012 at 04:32:22PM -0500, Bruce Dubbs wrote: > Ken Moffat wrote: > > > Is it worth me testing that this does work for xorg/Mesa ? Or are > > you concentrating on the patches to separate it ? > > Not sure. I've spent most of the day looking at configure.ac and can't > seem to g

Re: [lfs-dev] Once more: Package Management

2012-05-31 Thread Jeremy Huntwork
On 5/31/12 4:41 PM, James Robertson wrote: > I have been watching this thread and it seems to have gone a bit dormant > so maybe now is a good time to add my thoughts. First off - Jeremy, > your contributions to this project continue to amaze me. Keep it up buddy. Thanks James, :) > 1. Adding

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
s...@slohj.org wrote: > Original Message > Subject: Re: [lfs-dev] LFS SVN and Systemd Report > From: Bruce Dubbs > Date: Thu, May 31, 2012 4:51 pm > To: LFS Developers Mailinglist > > Andrew Benton wrote: >> On Thu, 31 May 2012 16:58:00 +0100 >> Bruce Dubbs wrote: >> >>> Try t

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Andrew Benton
On Thu, 31 May 2012 23:03:17 +0100 wrote: > I've created a patch to systemd-183/{Makefile.am,configure.ac}. > > No dbus, pam, tcp-wrappers. Only kmod and blkid needed. > > It strips out everything but libudev, udevadmin, and udevd ( now called > that again), rules, helpers, and tests. > > lib

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Armin K.
On 06/01/2012 12:08 AM, Jeremy Huntwork wrote: > On 5/31/12 6:01 PM, Armin K. wrote: >> pkg-config 0.26 uses glib2 and does not ship glib1 anymore. And since >> LFS/BLFS tends to use latest stuff, glib 2.32 requires python for gdbus >> stuff and libffi for some other stuff ... Do note that pkg-conf

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Jeremy Huntwork
On 5/31/12 6:10 PM, Andrew Benton wrote: > On Thu, 31 May 2012 22:38:21 +0100 > Jeremy Huntwork wrote: > >> Since when does glib require Python? > > I think Python's been a required dep since glib-2.32. It may be > possible to build glib without python but it will need more than > configure switch

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Andrew Benton
On Thu, 31 May 2012 22:38:21 +0100 Jeremy Huntwork wrote: > Since when does glib require Python? I think Python's been a required dep since glib-2.32. It may be possible to build glib without python but it will need more than configure switches. > Are you using glib2? IIRC, > pkg-config up unt

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Armin K. wrote: > On 05/31/2012 11:38 PM, Jeremy Huntwork wrote: >> On 5/31/12 5:32 PM, Andrew Benton wrote: pkk-config glib (required) >> Since when does glib require Python? Are you using glib2? IIRC, >> pkg-config up until recently shipped with glib1 sources and built that >> in i

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Jeremy Huntwork
On 5/31/12 6:01 PM, Armin K. wrote: > pkg-config 0.26 uses glib2 and does not ship glib1 anymore. And since > LFS/BLFS tends to use latest stuff, glib 2.32 requires python for gdbus > stuff and libffi for some other stuff ... Do note that pkg-config 0.25 > can be still built flawlessly. It can be i

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread sjml
Original Message Subject: Re: [lfs-dev] LFS SVN and Systemd Report From: Bruce Dubbs Date: Thu, May 31, 2012 4:51 pm To: LFS Developers Mailinglist Andrew Benton wrote: > On Thu, 31 May 2012 16:58:00 +0100 > Bruce Dubbs wrote: > >> Try this diff for configure.ac. > > It help

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Armin K.
On 05/31/2012 11:38 PM, Jeremy Huntwork wrote: > On 5/31/12 5:32 PM, Andrew Benton wrote: >>> pkk-config >>> glib (required) > > Since when does glib require Python? Are you using glib2? IIRC, > pkg-config up until recently shipped with glib1 sources and built that > in its own build system. I

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Andrew Benton
On Thu, 31 May 2012 22:51:28 +0100 Bruce Dubbs wrote: > Did you try in a Chapter 6 environment? I can't get it to work without > pkg-config. No, I think your make.sh is a better bet for an LFS Chapter 6 build. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linux

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Andrew Benton wrote: > On Thu, 31 May 2012 16:58:00 +0100 > Bruce Dubbs wrote: > >> Try this diff for configure.ac. > > It helps. I can get through configure Ok, but I can't see a way to get > through make without dbus. Did you try in a Chapter 6 environment? I can't get it to work without pk

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Jeremy Huntwork
On 5/31/12 5:32 PM, Andrew Benton wrote: >> pkk-config >> glib (required) Since when does glib require Python? Are you using glib2? IIRC, pkg-config up until recently shipped with glib1 sources and built that in its own build system. In fact pkg-config's page says it uses glib-1.2.10 - that

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Andrew Benton
On Thu, 31 May 2012 22:20:25 +0100 Bruce Dubbs wrote: > Well Dan, I've run into a problem with autoconf that I can't figure out > how to solve. configure.ac has several lines like: > > PKG_CHECK_MODULES(KMOD, [libkmod >= 5]) > > Now that's a reasonable check, but requires cfg.m4 which is inst

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Ken Moffat wrote: > On Thu, May 31, 2012 at 02:10:44PM -0500, Bruce Dubbs wrote: >> Ken Moffat wrote: >>> Failed to link: >>> >>> CC cdrom_id >>> CC ata_id >>> CC accelerometer >>> /usr/bin/ld: cannot find -ludev >>> collect2: error: ld returned 1 exit status >>> LD udevd failed >>> root in chroot

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Andrew Benton
On Thu, 31 May 2012 16:58:00 +0100 Bruce Dubbs wrote: > Try this diff for configure.ac. It helps. I can get through configure Ok, but I can't see a way to get through make without dbus. Andy udev-only.patch Description: Binary data -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ:

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Ken Moffat
On Thu, May 31, 2012 at 02:35:15PM -0500, Bruce Dubbs wrote: > Bruce Dubbs wrote: > > It gets through configure, but I haven't started to look at make yet. > > In any case, I'm not sure how to handle this in Chapter 6 yet. > autoreconf requires pkg-config and we don't have that in LFS. > > At a

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Dan Nicholson wrote: > Congratulations, you're off and running with the autotools! Well Dan, I've run into a problem with autoconf that I can't figure out how to solve. configure.ac has several lines like: PKG_CHECK_MODULES(KMOD, [libkmod >= 5]) Now that's a reasonable check, but requires cf

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Ken Moffat
On Thu, May 31, 2012 at 02:10:44PM -0500, Bruce Dubbs wrote: > Ken Moffat wrote: > > > > Failed to link: > > > > CC cdrom_id > > CC ata_id > > CC accelerometer > > /usr/bin/ld: cannot find -ludev > > collect2: error: ld returned 1 exit status > > LD udevd failed > > root in chroot /building/syst

Re: [lfs-dev] Once more: Package Management

2012-05-31 Thread James Robertson
On Sat, May 19, 2012 at 8:26 AM, Jeremy Huntwork < jhuntw...@lightcubesolutions.com> wrote: > I've been holding back bringing this up on-list for a while because I > intended to do the bulk of the work and then present a working system to > the community for comment and review. I still intend to d

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Bruce Dubbs wrote: > Andrew Benton wrote: >> On Thu, 31 May 2012 14:05:19 +0100 >> Dan Nicholson wrote: >> >>> Here's an update. I forgot that [] are quotes in autoconf, so you >>> usually end up using test instead. I still didn't test it works all >>> the way, but I think configure should run. >>

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Ken Moffat wrote: > On Wed, May 30, 2012 at 08:49:05PM -0500, Bruce Dubbs wrote: >> Now use systemd-lfs-2.patch >> >> The build remains: >> >>tar -xf systemd-183.tar.xz >>cd systemd-183 >>patch -Np1 -i ../systemd-lfs-2.patch >>sh make.sh >>sh install.sh >> > > Failed to link:

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Dan Nicholson
On 5/31/12, Andrew Benton wrote: > On Thu, 31 May 2012 14:05:19 +0100 > Dan Nicholson wrote: > >> Here's an update. I forgot that [] are quotes in autoconf, so you >> usually end up using test instead. I still didn't test it works all >> the way, but I think configure should run. > > Withthis pat

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Ken Moffat
On Wed, May 30, 2012 at 08:49:05PM -0500, Bruce Dubbs wrote: > > Now use systemd-lfs-2.patch > > The build remains: > >tar -xf systemd-183.tar.xz >cd systemd-183 >patch -Np1 -i ../systemd-lfs-2.patch >sh make.sh >sh install.sh > Failed to link: CC cdrom_id CC ata_id CC ac

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Andrew Benton wrote: On Thu, 31 May 2012 14:05:19 +0100 Dan Nicholson wrote: Here's an update. I forgot that [] are quotes in autoconf, so you usually end up using test instead. I still didn't test it works all the way, but I think configure should run. Withthis patch automake fails with: M

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Andrew Benton
On Thu, 31 May 2012 14:05:19 +0100 Dan Nicholson wrote: > Here's an update. I forgot that [] are quotes in autoconf, so you > usually end up using test instead. I still didn't test it works all > the way, but I think configure should run. Withthis patch automake fails with: Makefile.am:1447: Ca

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Bruce Dubbs
Ken Moffat wrote: > On Thu, May 31, 2012 at 06:05:05AM -0700, Dan Nicholson wrote: >> Here's an update. I forgot that [] are quotes in autoconf, so you >> usually end up using test instead. I still didn't test it works all >> the way, but I think configure should run. >> > Thanks. I'll take a loo

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Ken Moffat
On Thu, May 31, 2012 at 06:05:05AM -0700, Dan Nicholson wrote: > > Here's an update. I forgot that [] are quotes in autoconf, so you > usually end up using test instead. I still didn't test it works all > the way, but I think configure should run. > Thanks. I'll take a look later. > Allow me t

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Dan Nicholson
On Thu, May 31, 2012 at 5:21 AM, Andrew Benton wrote: > On Thu, 31 May 2012 00:58:08 +0100 > Ken Moffat wrote: > >>  Actually, for some of us they *are* scary.  I thought I was making >> some progress (persuaded autoreconf to complete without errors using >> the attached -A.patch), but then confi

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-31 Thread Andrew Benton
On Thu, 31 May 2012 00:58:08 +0100 Ken Moffat wrote: > Actually, for some of us they *are* scary. I thought I was making > some progress (persuaded autoreconf to complete without errors using > the attached -A.patch), but then configure went into an infinite > loop spewing out '=no' lines. Tha