small background information: I am not a programmer but a technical consultant on a project to implement a consumer application integration in Autonomy Interwoven CMS for a renowned international football club in Europe. I am considering options and I am looking at Apache in particular as I believe it might be the least overhead on the site. The web servers will be on windows, which is a pain. For now I was just trying to configure it on RHE5, but I got a make error. I hope you could help me. Not sure if this is a bug or where I should log this request. I am sorry if it is the wrong forum.
environment: redhat enterprise 5 (vm on win7)
installers used: libopkele-2.0.4, mod_auth_openid-0.6, tidy4aug00, libsqlite 3.3, http 2.2.3
modules added along the way
apr-1.2.7-11.el5_6.5.i386.rpm, apr-devel-1.2.7-11.el5_6.5.i386.rpm, pr-util-devel-1.2.7-11.el5.i386.rpm, httpd-devel-2.2.3-43.el5.i386.rpm
site used: http://ftp.riken.go.jp/pub/Linux/cern/slc52test/updates/i386/RPMS/
installed apr-1.2.7-11.el5_6.5.i386.rpm from http://zid-luxinst.uibk.ac.at/linux/rpm2html/search.php?query=apr
then installed apr-devel-1.2.7-11.el5_6.5.i386.rpm from http://rpm.pbone.net/index.php3/stat/4/idpl/16466459/dir/scientific_linux_5/com/apr-devel-1.2.7-11.el5_6.5.i386.rpm.html
then installed apr-util-devel-1.2.7-11.el5.i386.rpm from http://ftp.riken.go.jp/pub/Linux/cern/slc52test/updates/i386/RPMS/apr-util-devel-1.2.7-11.el5.i386.rpm
installed httpd-devel-2.2.3-43.el5.i386.rpm
Set:
OPKELE_CFLAGS=-I/usr/include/opkele
OPKELE_LIBS=-I/usr/lib
then require pcre libraries (perl compatible regular expressions) pcre-6.6-6.el5.i386.rpm,
then installed pcre-devel-6.6-6.el5.i386.rpm both
from http://ftp.riken.go.jp/pub/Linux/cern/slc52test/updates/i386/RPMS/
then installed the mod_auth_openid-0.6 in /usr/installers/apache/mod_auth_openid-0.6:
./configure
DONE WORKS!
./make
fails with this error stack:
[root@RH55WS71 mod_auth_openid-0.6]# make
make all-am
make[1]: Entering directory /usr/installers/apache/mod_auth_openid-0.6' /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT mod_auth_openid.lo -MD -MP -MF .deps/mod_auth_openid.Tpo -c -o mod_auth_openid.lo mod_auth_openid.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT mod_auth_openid.lo -MD -MP -MF .deps/mod_auth_openid.Tpo -c mod_auth_openid.cpp -fPIC -DPIC -o .libs/mod_auth_openid.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT mod_auth_openid.lo -MD -MP -MF .deps/mod_auth_openid.Tpo -c mod_auth_openid.cpp -o mod_auth_openid.o >/dev/null 2>&1 mv -f .deps/mod_auth_openid.Tpo .deps/mod_auth_openid.Plo /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT MoidConsumer.lo -MD -MP -MF .deps/MoidConsumer.Tpo -c -o MoidConsumer.lo MoidConsumer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT MoidConsumer.lo -MD -MP -MF .deps/MoidConsumer.Tpo -c MoidConsumer.cpp -fPIC -DPIC -o .libs/MoidConsumer.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT MoidConsumer.lo -MD -MP -MF .deps/MoidConsumer.Tpo -c MoidConsumer.cpp -o MoidConsumer.o >/dev/null 2>&1 mv -f .deps/MoidConsumer.Tpo .deps/MoidConsumer.Plo /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT moid_utils.lo -MD -MP -MF .deps/moid_utils.Tpo -c -o moid_utils.lo moid_utils.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT moid_utils.lo -MD -MP -MF .deps/moid_utils.Tpo -c moid_utils.cpp -fPIC -DPIC -o .libs/moid_utils.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT moid_utils.lo -MD -MP -MF .deps/moid_utils.Tpo -c moid_utils.cpp -o moid_utils.o >/dev/null 2>&1 mv -f .deps/moid_utils.Tpo .deps/moid_utils.Plo /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT http_helpers.lo -MD -MP -MF .deps/http_helpers.Tpo -c -o http_helpers.lo http_helpers.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT http_helpers.lo -MD -MP -MF .deps/http_helpers.Tpo -c http_helpers.cpp -fPIC -DPIC -o .libs/http_helpers.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT http_helpers.lo -MD -MP -MF .deps/http_helpers.Tpo -c http_helpers.cpp -o http_helpers.o >/dev/null 2>&1 mv -f .deps/http_helpers.Tpo .deps/http_helpers.Plo /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT SessionManager.lo -MD -MP -MF .deps/SessionManager.Tpo -c -o SessionManager.lo SessionManager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT SessionManager.lo -MD -MP -MF .deps/SessionManager.Tpo -c SessionManager.cpp -fPIC -DPIC -o .libs/SessionManager.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT SessionManager.lo -MD -MP -MF .deps/SessionManager.Tpo -c SessionManager.cpp -o SessionManager.o >/dev/null 2>&1 mv -f .deps/SessionManager.Tpo .deps/SessionManager.Plo /bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -I/usr/local/lib -I/usr/include -lsqlite3 -lpcre -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lapr-1 -lpthread -ldl -L/usr/lib -o libmodauthopenid.la mod_auth_openid.lo MoidConsumer.lo moid_utils.lo http_helpers.lo SessionManager.lo -lpcre libtool: link: ar cru .libs/libmodauthopenid.a .libs/mod_auth_openid.o .libs/MoidConsumer.o .libs/moid_utils.o .libs/http_helpers.o .libs/SessionManager.o libtool: link: ranlib .libs/libmodauthopenid.a libtool: link: ( cd ".libs" && rm -f "libmodauthopenid.la" && ln -s "../libmodauthopenid.la" "libmodauthopenid.la" ) g++ -DHAVE_CONFIG_H -I. -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/opkele -L/usr/lib -g -O2 -MT db_info.o -MD -MP -MF .deps/db_info.Tpo -c -o db_info.o db_info.cpp mv -f .deps/db_info.Tpo .deps/db_info.Po /bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -lmodauthopenid -L/usr/lib -o db_info db_info.o -lpcre libtool: link: g++ -g -O2 -o db_info db_info.o /usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a -lsqlite3 -L/usr/kerberos/lib -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz /usr/lib/libapr-1.so -lpthread -ldl -L/usr/lib -lpcre db_info.o: In function
~basic_RP':
/usr/local/include/opkele/basic_rp.h:22: undefined reference to vtable for opkele::basic_RP' /usr/local/include/opkele/basic_rp.h:22: undefined reference to
vtable for opkele::basic_RP'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function modauthopenid::MoidConsumer::get_normalized_id() const': /usr/installers/apache/mod_auth_openid-0.6/MoidConsumer.cpp:299: undefined reference to
opkele::exception::exception(std::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/installers/apache/mod_auth_openid-0.6/MoidConsumer.cpp:299: undefined reference to opkele::exception::~exception()' /usr/installers/apache/mod_auth_openid-0.6/MoidConsumer.cpp:299: undefined reference to
typeinfo for opkele::exception'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function modauthopenid::MoidConsumer::get_endpoint() const': /usr/installers/apache/mod_auth_openid-0.6/MoidConsumer.cpp:247: undefined reference to
opkele::exception::exception(std::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/installers/apache/mod_auth_openid-0.6/MoidConsumer.cpp:247: undefined reference to opkele::exception::~exception()' /usr/installers/apache/mod_auth_openid-0.6/MoidConsumer.cpp:247: undefined reference to
typeinfo for opkele::exception'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function id_res_failed': /usr/local/include/opkele/exception.h:156: undefined reference to
opkele::exception::exception(std::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function failed_lookup': /usr/local/include/opkele/exception.h:103: undefined reference to
opkele::exception::exception(std::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function modauthopenid::MoidConsumer::retrieve_assoc(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /usr/installers/apache/mod_auth_openid-0.6/MoidConsumer.cpp:100: undefined reference to
opkele::util::decode_base64(std::basic_string<char, std::char_traits, std::allocator > const&, std::vector<unsigned char, std::allocator >&)'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function ~basic_RP': /usr/local/include/opkele/basic_rp.h:22: undefined reference to
vtable for opkele::basic_RP'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function failed_lookup': /usr/local/include/opkele/exception.h:103: undefined reference to
opkele::exception::exception(std::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function modauthopenid::MoidConsumer::find_assoc(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /usr/installers/apache/mod_auth_openid-0.6/MoidConsumer.cpp:136: undefined reference to
opkele::util::decode_base64(std::basic_string<char, std::char_traits, std::allocator > const&, std::vector<unsigned char, std::allocator >&)'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function modauthopenid::MoidConsumer::store_assoc(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, opkele::secret_t const&, int)': /usr/installers/apache/mod_auth_openid-0.6/MoidConsumer.cpp:72: undefined reference to
opkele::util::encode_base64(void const_, unsigned int)'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function ~basic_RP': /usr/local/include/opkele/basic_rp.h:22: undefined reference to
vtable for opkele::basic_RP'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function ~failed_lookup': /usr/local/include/opkele/exception.h:100: undefined reference to
opkele::exception::~exception()'
/usr/local/include/opkele/exception.h:100: undefined reference to opkele::exception::~exception()' /usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function
~id_res_failed':
/usr/local/include/opkele/exception.h:153: undefined reference to opkele::exception::~exception()' /usr/local/include/opkele/exception.h:153: undefined reference to
opkele::exception::~exception()'
/usr/local/include/opkele/exception.h:153: undefined reference to opkele::exception::~exception()' /usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):/usr/local/include/opkele/exception.h:153: more undefined references to
opkele::exception::~exception()' follow
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o): In function ~basic_RP': /usr/local/include/opkele/basic_rp.h:22: undefined reference to
vtable for opkele::basic_RP'
/usr/local/include/opkele/basic_rp.h:22: undefined reference to vtable for opkele::basic_RP' /usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTVN13modauthopenid12MoidConsumerE[vtable for modauthopenid::MoidConsumer]+0x30): undefined reference to
opkele::prequeue_RP::initiate(std::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTVN13modauthopenid12MoidConsumerE[vtable for modauthopenid::MoidConsumer]+0x34): undefined reference to opkele::basic_RP::associate(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTVN13modauthopenid12MoidConsumerE[vtable for modauthopenid::MoidConsumer]+0x38): undefined reference to
opkele::prequeue_RP::verify_OP(std::basic_string<char, std::char_traits, std::allocator > const&, std::basic_string<char, std::char_traits, std::allocator > const&, std::basic_string<char, std::char_traits, std::allocator > const&) const'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTVN13modauthopenid12MoidConsumerE[vtable for modauthopenid::MoidConsumer]+0x50): undefined reference to opkele::prequeue_RP::discover(opkele::util::output_iterator_proxy<opkele::openid_endpoint_t>, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTIN13modauthopenid12MoidConsumerE[typeinfo for modauthopenid::MoidConsumer]+0x8): undefined reference to
typeinfo for opkele::prequeue_RP'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTIN6opkele13id_res_failedE[typeinfo for opkele::id_res_failed]+0x8): undefined reference to typeinfo for opkele::exception' /usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTVN6opkele16id_res_bad_nonceE[vtable for opkele::id_res_bad_nonce]+0x10): undefined reference to
opkele::exception::what() const'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTVN6opkele13id_res_failedE[vtable for opkele::id_res_failed]+0x10): undefined reference to opkele::exception::what() const' /usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTIN6opkele13failed_lookupE[typeinfo for opkele::failed_lookup]+0x8): undefined reference to
typeinfo for opkele::exception'
/usr/installers/apache/mod_auth_openid-0.6/.libs/libmodauthopenid.a(MoidConsumer.o):(.data.rel.ro._ZTVN6opkele13failed_lookupE[vtable for opkele::failed_lookup]+0x10): undefined reference to opkele::exception::what() const' collect2: ld returned 1 exit status make[1]: *_\* [db_info] Error 1 make[1]: Leaving directory
/usr/installers/apache/mod_auth_openid-0.6'
make: *** [all] Error 2
./make install
Could you advise on this issue please?