Public bug reported: >> r...@leopard:~/libldap-ruby-0.9.7# make >> gcc -I. -I. -I/usr/local/lib/ruby/1.8/i686-linux -I. -DUSE_OPENLDAP2 >> -DUSE_OPENLDAP -DLDAP_DEPRECATED -D_REENTRANT -DHAVE_LDAP_H -DHAVE_LBER_H >> -DHAVE_LDAP_INIT -DHAVE_LDAP_SET_OPTION -DHAVE_LDAP_GET_OPTION >> -DHAVE_LDAP_START_TLS_S -DHAVE_LDAP_MEMFREE -DHAVE_LDAP_PERROR >> -DHAVE_LDAP_SORT_ENTRIES -DHAVE_LDAP_SASL_BIND_S -DHAVE_LDAP_COMPARE_S >> -DHAVE_LDAP_ADD_EXT_S -DHAVE_LDAP_COMPARE_EXT_S -DHAVE_LDAP_DELETE_EXT_S >> -DHAVE_LDAP_MODIFY_EXT_S -DHAVE_LDAP_SEARCH_EXT_S -DHAVE_LDAP_UNBIND_EXT_S >> -DHAVE_LDAP_SASL_INTERACTIVE_BIND_S -D_FILE_OFFSET_BITS=64 -fPIC -g -O2 >> -c ldap.c >> ldap.c: In function ‘Init_ldap’: >> ldap.c:424: error: ‘LDAP_OPT_X_TLS_PROTOCOL’ undeclared (first use in this >> function) >> ----snip---- >> I followed the directions in the README under 'BUILDING'. I was able to get >> the extconf.rb to run after doing apt-get install libldap2-dev. I had >> already successfully built and installed ruby and openssl from source on >> this Ubuntu Server: r...@leopard:~# uname -a >> Linux leopard 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 >> i686 GNU/Linux
LDAP_OPT_X_TLS_PROTOCOL does not exist in the tree except in conn.c and ldap.c. LOAD_OPT_X_TLS_PROTOCOL in the directory tree. It occurs in /usr/include/ldap.h as a macro taking two arguments, but not as a simple preprocessor symbol, which is the usage in ldap.c and conn.c. ** Affects: libldap-ruby (Ubuntu) Importance: Undecided Status: New -- Compiler error trying to build libldap-ruby from source https://bugs.launchpad.net/bugs/383371 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs