[OGo-Users] Apache2 + mod_ngobjweb trouble

Juuso Alasuutari users@opengroupware.org
Thu, 1 Mar 2007 16:22:05 +0200


I'm trying to switch from Apache 1 to 2 on a Debian Sarge-based OGo server. 
The ngobjweb module is giving me a hard time. Apache2 refuses to load, 
saying:

Cannot load /usr/lib/apache2/modules/mod_ngobjweb.so into 
server: /usr/lib/apache2/modules/mod_ngobjweb.so: undefined symbol: 
ap_table_get

I tried changing ap_http_method to ap_http_scheme and recompiling the module 
(as per 
http://docs.opengroupware.org/Members/whitemice/misc/ogo-install-for-opensuse102/document_view), 
but Apache2 doesn't seem to like that either:

Cannot load /usr/lib/apache2/modules/mod_ngobjweb.so into 
server: /usr/lib/apache2/modules/mod_ngobjweb.so: undefined symbol: 
ap_http_scheme

I've tried the ngobjweb sources from sope 4.4.0, some older source versioned 
200407092000, and also the latest nightly build, but it's the same with each 
of them. I built them with 'make HTTPD=/usr/sbin/apache2 apxs=/usr/bin/apxs' 
(as is the configuration in Debian Sarge).

I noticed that I need to have apache-dev installed to build. Ngobjweb uses 
apxs and headers in /usr/include/apache-1.3/, provided by apache-dev. Without 
the headers the compile fails horribly.

I've read previous postings about this issue 
(http://mail.opengroupware.org/pipermail/users/2007-February/017328.html) and 
they seem to imply that it's indeed possible to build mod_ngobjweb for 
Apache2; what is it that I'm doing wrong? How can I build a working module 
without needing Apache 1 headers?

-- 
Juuso Alasuutari
      seclan.com