Привет ЛОР!
Собираю reopenldap.
Написал для него spec-файл для rpm. Configure проходит нормально, есть строки
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
Кусок portable.h:
#include "ac/fdset.h"
#include "ldap_cdefs.h"
#include "ldap_features.h"
#include "ac/assert.h"
#include "ac/localize.h"
#endif /* _LDAP_PORTABLE_H */
/* end of portable.h.post */
ac/localize.h в include есть, а ac/assert.h нет.
Для Ъ:
In file included from entropy.c:22:0:
../../include/portable.h:1198:23: fatal error: ac/assert.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'entropy.o' failed
make[2]: *** [entropy.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from base64.c:38:0:
../../include/portable.h:1198:23: fatal error: ac/assert.h: No such file or directory
compilation terminated.
In file included from sasl.c:16:0:
../../include/portable.h:1198:23: fatal error: ac/assert.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'base64.o' failed
make[2]: *** [base64.o] Error 1
In file included from signal.c:16:0:
../../include/portable.h:1198:23: fatal error: ac/assert.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'sasl.o' failed
make[2]: *** [sasl.o] Error 1
<builtin>: recipe for target 'signal.o' failed
make[2]: *** [signal.o] Error 1
In file included from md5.c:46:0:
../../include/portable.h:1198:23: fatal error: ac/assert.h: No such file or directory
compilation terminated.
In file included from hash.c:22:0:
../../include/portable.h:1198:23: fatal error: ac/assert.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'md5.o' failed
<builtin>: recipe for target 'hash.o' failed
make[2]: *** [md5.o] Error 1
make[2]: *** [hash.o] Error 1
In file included from passfile.c:16:0:
../../include/portable.h:1198:23: fatal error: ac/assert.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'passfile.o' failed
make[2]: *** [passfile.o] Error 1
In file included from passwd.c:29:0:
../../include/portable.h:1198:23: fatal error: ac/assert.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'passwd.o' failed
make[2]: *** [passwd.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/reopenldap-2.4.41/reopenldap-349e358/libraries/liblutil'
Makefile:296: recipe for target 'all-common' failed
make[1]: Leaving directory '/builddir/build/BUILD/reopenldap-2.4.41/reopenldap-349e358/libraries'
make[1]: *** [all-common] Error 1
Makefile:312: recipe for target 'all-common' failed
make: *** [all-common] Error 1