Opened 19 years ago

Last modified 15 years ago

#1682 closed enhancement

RFE: Mentioning optional dependencies — at Version 7

Reported by: tushar@… Owned by: lfs-book@…
Priority: low Milestone: 6.6
Component: Book Version: SVN
Severity: minor Keywords:
Cc:

Description (last modified by Jeremy Huntwork)

From the above thread: I would like to propose mentioning optional dependencies for packages that are installed in LFS. Since most of the packages are never mentioned in BLFS, the dependencies never get mentioned.

Change History (7)

comment:1 by chris@…, 19 years ago

I think this would be a good idea, although we could simply add this to Bug 684, which already exists for documenting package dependencies - just add package's optional dependencies to the list as well.

comment:2 by Matthew Burgess, 19 years ago

The general consensus on list was that this is a good idea. So, if anyone has patches that mention particular dependencies I'll gladly accept them. Shadow will use PAM, SELinux and libaudit.

comment:3 by chris@…, 19 years ago

Shadow can also use cracklib (I know it's already mentioned in the book, but I'm just adding it to the list).

Now comes the question of whether you should mention all "optional" dependencies, or just all the ones that are not listed in LFS. For example, inetutils and module-init-tools *can* use zlib, but it's not required.

And on that note, here's a couple more...

Grep can use PCRE Vim can use X

comment:4 by Matthew Burgess, 19 years ago

(In reply to comment #3)

Now comes the question of whether you should mention all "optional" dependencies, or just all the ones that are not listed in LFS. For example, inetutils and module-init-tools *can* use zlib, but it's not required.

I think the approach should be:

1) Those dependencies that break the build if not present should be listed in the current "Installation depends on:" section. Also in this section should be dependencies that, regardless of their being optional or otherwise, have already been installed by LFS by the point at which the dependent package is being built. Add also those dependencies that although optional, are strongly recommended by upstream and/or the LFS community. 2) Any other dependencies that don't fit the criteria in 1. should be listed in an "Installation optionally depends on:" section.

Obviously, if we encounter a package whose optional dependency is installed in LFS but after the dependee (e.g. package B optionally depends on package A but we install package B first), we need to be very sure we don't want to take the opportunity to re-order the packages lest we have to continually explain why we choose not to have package B make use of package A's functionality!

comment:5 by chris@…, 19 years ago

dependson: 684

comment:6 by chris@…, 19 years ago

Autoconf can use emacs

comment:7 by Jeremy Huntwork, 19 years ago

Description: modified (diff)
Milestone: 6.2
Note: See TracTickets for help on using tickets.