Problems with <requires> directive

John Lane lfs at
Tue Aug 8 15:33:29 PDT 2006


I'm trying to but together a simple build script for some processes using

It's all fine except that I can't get <requires> to work.

I have two packages A and B where B requires A. My xml looks like this:

<alfs version="3.1" xmlns:xi="">
  <stage name="My Build &build-version;">
    <stage name="Mail Server Systems">
      <xi:include href="mailserver/cyrus-sasl.xml"/>
      <xi:include href="mailserver/cyrus-imap.xml" />

and then the two included files contain:
  <package name="cyrus-sasl" version="&cyrus-sasl-version;">

  <package name="cyrus-imap" version="&cyrus-imap-version;">

When I run nALFS I get:
I: Log file stored in:
|I: /root/.nALFS/packages/cyrus-imap-2.2.12.xml
|E: Required package missing: sasl
|E: Some required packages are missing; build aborted.
|E: Execution failed (255).
|I: Total time executing: 00:00:00

I have compared this to my BLFS build which works fine. I can't see what I
have different. Any suggestions greatly appreciated.

nALFS version = nALFS 1.2.6

-----Original Message-----
From: alfs-discuss-bounces at
[mailto:alfs-discuss-bounces at]On Behalf Of
Sent: 08 August 2006 19:49
To: ALFS Discussion and Development List
Subject: Re: The $LUSER code

El Martes, 8 de Agosto de 2006 20:39, George Boudreau escribió:

>    I am going to start the output housekeeping this evening and once

Another point to take into account for that is to try to use relative paths
instead of current full paths.

That may need other changes, like implementing a "su to LUSER only one time"
method, but could to reduce the number of functions and variables needed.

Manuel Canales Esparcia
Usuario de LFS nº2886:
LFS en castellano:
Unsubscribe: See the above information page

More information about the alfs-discuss mailing list