[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Variable defition works in, but not in external file?

From: Richard Bos
Subject: Variable defition works in, but not in external file?
Date: Sun, 13 Nov 2005 00:00:16 +0100
User-agent: KMail/1.8.2

Problem: a variable remains undefined during 'make distcheck', although, it is 
present in the file that is included by There is no problem 
running 'make DESTDIR=$PWD/ME install'.  If I use the AC_SUBST for the same 
variable in the make finishes succesfull.  Looking for a clue, 
details below:

The error:
# make distcheck
test -z "/schema" || mkdir -p -- "/schema"
mkdir: kan map `/schema' niet aanmaken: Toegang geweigerd
make[2]: *** [install-dist_ldapschemaDATA] Fout 1 contains:
ldapschema_FILES =  kolab2.schema \

ldapschemadir = $(ldapconfdir)/schema
dist_ldapschema_DATA = $(ldapschema_FILES)

ldapconfdir is defined in the file dist_conf/kolab:
# grep ldapconfdir dist_conf/kolab

The file dist_conf/kolab (@distribution@) included by as follows:
     [distribution target (default: openpkg)])],

A regular make install works fine though:
# make DESTDIR=$PWD/ME install | grep ldap
test -z "/usr/etc/openldap/schema" || mkdir -p -- 

In case I add to
make distcheck finishes succesfull.

Any idea what is going wrong?

Thanks in advance,

Richard Bos
Without a home the journey is endless

reply via email to

[Prev in Thread] Current Thread [Next in Thread]