On Fri, Apr 16, 2010 at 06:39:59AM -0700, Di Pe wrote:
Hi,
I am having this issue:
checking for sasl/sasl.h... yes checking for krb5_init_context in -lkrb5... yes checking for ldap_initialize in -lldap... yes checking whether com_err.h needs extern "C"... configure: error: Couldn't get error_message to work. error: Bad exit status from /var/tmp/rpm-tmp.kHT3OF (%build)
on opensuse <=11.1, centos, fedora, etc this can be fixed by adding this to the spec file:
%build CXXFLAGS="${CXXFLAGS} -I%{_includedir}/et"; export CXXFLAGS
I suspect it is overwritte by %configure , which uses RPM_OPT_FLAGS. export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -I{_includedir}/et" ... Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org