tech-userlevel archive

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

MKLDAP=no and am-utils



If I am not mistaken, the am-utils build does not any longer work if
MKLDAP=no, because HAVE_LDAP_H et cetera are defined unconditionally
in external/bsd/am-utils/include/config.h.  My distribution build
fails in the depend step like so,

dependall ===> external/bsd/am-utils/lib/libamu
#    create  libamu/config_local.h
rm -f config_local.h
/bin/sh /u5/dyoung-scratch/pm-nbsd/src/external/bsd/am-utils/lib/libamu/mkconf  
`/bin/sh /u5/dyoung-scratch/pm-nbsd/src/sys/conf/osrelease.sh` > config_local.h
#    create  libamu/hasmntopt.d
CC=/u5/dyoung-scratch/scratch-pm/T/bin/i386--netbsdelf-gcc 
/u5/dyoung-scratch/scratch-pm/T/bin/nbmkdep -f hasmntopt.d --      
-DHAVE_CONFIG_H 
-I/u5/dyoung-scratch/pm-nbsd/src/external/bsd/am-utils/lib/libamu/../../include 
-I/u5/dyoung-scratch/pm-nbsd/src/external/bsd/am-utils/dist/libamu  
-I/u5/dyoung-scratch/pm-nbsd/src/external/bsd/am-utils/dist/include 
-I/u5/dyoung-scratch/scratch-pm/i386/O/external/bsd/am-utils/lib/libamu  
-D_FORTIFY_SOURCE=2  -nostdinc -isystem 
/u5/dyoung-scratch/scratch-pm/i386/D/usr/include  
/u5/dyoung-scratch/pm-nbsd/src/external/bsd/am-utils/dist/libamu/hasmntopt.c
In file included from 
/u5/dyoung-scratch/pm-nbsd/src/external/bsd/am-utils/dist/libamu/hasmntopt.c:49:
/u5/dyoung-scratch/pm-nbsd/src/external/bsd/am-utils/dist/include/am_defs.h:674:19:
 error: lber.h: No such file or directory
/u5/dyoung-scratch/pm-nbsd/src/external/bsd/am-utils/dist/include/am_defs.h:681:19:
 error: ldap.h: No such file or directory
nbmkdep: compile failed.

*** Failed target:  hasmntopt.d

I'm not sure how this can best be fixed.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933 ext 24


Home | Main Index | Thread Index | Old Index