[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] mtd-utils: dependencies and versions
From: |
Joseph E. Sacco, Ph.D. |
Subject: |
Re: [Ltib] mtd-utils: dependencies and versions |
Date: |
Mon, 16 Jul 2007 11:28:59 -0400 |
Hi Stuart,
The reason I asked about the zlib dependency is that it is not listed in
the spec file for mtd-utils.
I was "bitten" by this omission when I first attempted to build
mtd-utils manually using
ltib --pkg mtd-utils --mode prep
ltib --pkg mtd-utils --mode scbuild
As for suggested updates...
zlib
----
You might want to look at the blurb on
http://www.zlib.net/
and ponder over whether or not the performance and security enhancements
warrant moving from version 1.1.4 to version 1.2.3.
mtd_utils
---------
I agree with you about not updating because of the additional libacl
dependency. Although this dependency effects only mkfs.jffs2, it does
so in a large way [acl & xattr stuff added]. When I get some free cycles
I will look into this more closely.
-Joseph
===========================================================================
On Mon, 2007-07-16 at 08:52 +0100, Stuart Hughes wrote:
> Hi Joseph,
>
> If you use ltib to build packages and you select mtd-utils, it will
> select zlib for you, it has a select/dependency:
>
> config/userspace/packages.lkc:1076
>
> config PKG_MTD_UTILS
> select PKG_ZLIB
> bool "mtd-utils"
>
> The version referenced from CVS (dist/lfs-5.1/mtd-utils/mtd-utils.spec)
> is 20060302. I don't know of a good reason to update this, but I do
> know a good reason not to (the dependency on libacl). I also don't have
> any immediate plans to update zlib.
>
> In general the philosophy applied to the package set is only to update
> if there is a pressing need, rather than to try to follow whatever is
> package-du-jour. One of the reasons is to have a set of packages that
> can be built with older gccs as well as the latest gcc4s (we've patched
> them).
>
> Regards, Stuart
>
> On Sat, 2007-07-14 at 15:50 -0400, Joseph E. Sacco, Ph.D. wrote:
> > I needed to build mtd-util(s). It found that it did not compile because
> > of an unsatisfied dependency on zlib.
> >
> > gcc -I../include -O2 -Wall -g -c -o mkfs.jffs2.o \
> > mkfs.jffs2.c -g -Wp,-MD,.mkfs.jffs2.c.dep
> >
> > mkfs.jffs2.c:68:18: zlib.h: No such file or directory
> > make: *** [mkfs.jffs2.o] Error 1
> >
> >
> > I built zlib-1.1.4 from the repository and rolled on.
> >
> > The version of mtd-util available from the repository is taken from a
> > snapshot in 2005:
> >
> > mtd-snapshot-20050523.tar.bz2
> >
> > There is a newer version available [9/18/2006]
> >
> > ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.0.1.tar.gz
> >
> > as there is also a newer version of zlib [7/18/2005]
> >
> > http://www.zlib.net/zlib-1.2.3.tar.gz
> >
> > Note that mtd-utils-1.0.1 has an additional dependency on libacl, which
> > is not currently available from the repository.
> >
> >
> > -Joseph
> >
>
--
joseph_sacco [at] comcast [dot] net
- [Ltib] mtd-utils: dependencies and versions, Joseph E. Sacco, Ph.D., 2007/07/14
- Re: [Ltib] mtd-utils: dependencies and versions, Stuart Hughes, 2007/07/16
- Re: [Ltib] mtd-utils: dependencies and versions,
Joseph E. Sacco, Ph.D. <=
- Re: [Ltib] mtd-utils: dependencies and versions, Stuart Hughes, 2007/07/16
- Re: [Ltib] mtd-utils: dependencies and versions, Joseph E. Sacco, Ph.D., 2007/07/16
- Re: [Ltib] mtd-utils: dependencies and versions, Stuart Hughes, 2007/07/16
- Re: [Ltib] mtd-utils: dependencies and versions, Joseph E. Sacco, Ph.D., 2007/07/16
- Re: [Ltib] mtd-utils: dependencies and versions, Stuart Hughes, 2007/07/16