I am trying to install the Crowd Apache plugin on Ubuntu Server 12.04 but I get the following error while executing ./configure:
checking for apr_pool_pre_cleanup_register in -lapr-1... no configure: error: apr_pool_pre_cleanup_register was not found in libapr-1
Any ideas on how to solve it?
Another question I have is if it is possible to copy the plugin from one server (where it works) to another one without actually compiling and installing it. Is there maybe a list of files that can be copied like this or is it impossible?
Thank you!
Are you using the supported versions of Apache (2.2) and SVN (1.6) ? The errors you're seeing are about what I would expect if you were trying to use different versions than what we have tested against.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using Apache 2.2.22 and SVN 1.7.9. I am sure the SVN version is not the issue since I have the same setup running on another server.
It might be that there are wrong versions of libs installed on this server. I fixed the first issue (did some forced downgrading of some components) but now the problem is with the libxml2:
checking for xmlFree in -lxml2... no configure: error: libxml2 was not found root@deathstar:/srv/atlassian/kits/mod_authnz_crowd-2.2.2# apt-get install libxml2 Reading package lists... Done Building dependency tree Reading state information... Done libxml2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
I probably need to somehow fix this package too...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may want to try installing the libxml2-dev package too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that (and probably found the issue):
libxml2-dev : Depends: libxml2 (= 2.7.8.dfsg-5.1ubuntu4.9) but 2.8.0+dfsg1-5ubuntu2.2 is installed.
I would need to downgrade libxml2. Some very weird dependencies here :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately maintaining support for older versions of RHEL means we have to build against old versions of libs, but I agree - that's some strangeness there!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UPDATE: i tried manually copying the following files from the server where the plugin works:
/usr/lib/apache2/modules/mod_authz_svn_crowd.so
/usr/lib/apache2/modules/mod_authnz_crowd.so
/etc/apache2/mods-available/authz_svn_crowd.load
/etc/apache2/mods-available/authnz_crowd.load
/etc/apache2/mods-available/dav_svn.conf
/etc/subversion/dav_svn.authz
I then loaded the 2 new modules (mod_authnz_crowd and mod_authz_svn_crowd).
Upon service apache2 restart I get the following error:
apache2: Syntax error on line 239 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/authz_svn_crowd.load: Cannot load /usr/lib/apache2/modules/mod_authz_svn_crowd.so into server: /usr/lib/apache2/modules/mod_authz_svn_crowd.so: undefined symbol: dav_svn_get_repos_path
No idea what I am missing...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.