shoaibali / crudesaml

Version 1.5 copied from https://ftp.espci.fr/pub/crudesaml/
GNU General Public License v2.0
2 stars 2 forks source link

el6 build failing. #1

Open volga629 opened 8 years ago

volga629 commented 8 years ago

Hello Everyone, I am not sure if it valid place, but buiild for rhel6 failing in make section.

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/sasl -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -pthread -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -DXMLSEC_OPENSSL_100=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/include -I/usr/include/sasl -DWITH_SASL2 -I/usr/include -DWITH_PAM -I/usr/include -MT libsaml_la-plugin_common.lo -MD -MP -MF .deps/libsaml_la-plugin_common.Tpo -c plugin_common.c  -fPIC -DPIC -o .libs/libsaml_la-plugin_common.o
plugin_common.c: In function '_plug_get_simple':
plugin_common.c:347: error: 'sasl_callback_ft' undeclared (first use in this function)
plugin_common.c:347: error: (Each undeclared identifier is reported only once
plugin_common.c:347: error: for each function it appears in.)
plugin_common.c:347: error: expected expression before ')' token
plugin_common.c:347: error: too few arguments to function 'utils->getcallback'
plugin_common.c: In function '_plug_get_password':
plugin_common.c:409: error: 'sasl_callback_ft' undeclared (first use in this function)
plugin_common.c:409: error: expected expression before ')' token
plugin_common.c:409: error: too few arguments to function 'utils->getcallback'
plugin_common.c: In function '_plug_challenge_prompt':
plugin_common.c:455: error: 'sasl_callback_ft' undeclared (first use in this function)
plugin_common.c:455: error: expected expression before ')' token
plugin_common.c:455: error: too few arguments to function 'utils->getcallback'
plugin_common.c: In function '_plug_get_realm':
plugin_common.c:501: error: 'sasl_callback_ft' undeclared (first use in this function)
plugin_common.c:501: error: expected expression before ')' token
plugin_common.c:501: error: too few arguments to function 'utils->getcallback'
make[1]: *** [libsaml_la-plugin_common.lo] Error 1
make[1]: Leaving directory `/home/moc/rpmbuild/BUILD/pam_saml-1.5.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.gUz8dp (%build)
shoaibali commented 8 years ago

Hi @volga629

I just cloned this repository of code from the CVS. I think the maintainer might have their own mailing list for support.

Have you tried make with --with-cyrus-sasl=no

By no means that is a solution, but you might be able to get away with it.

volga629 commented 8 years ago

Thank, Issue has being resolved.