Category Archives: atlassian-crowd

Install and configure crowd-apache connector on centos 7

  1. su -c "yum -y install autoconf automake gcc httpd-devel libcurl-devel libtool libxml2-devel mod_dav_svn subversion-devel"

  2. wget http://downloads.atlassian.com/software/crowd/downloads/cwdapache/mod_authnz_crowd-2.2.2.tar.gz

  3. tar xzf mod_authnz_crowd-2.2.2.tar.gz

  4. cd mod_authnz_crowd-2.2.2
  5. autoreconf --install
  6. ./configure
  7. make
  8. su -c "make install"

I am using CentOS 7, Crowd version is 2.9, Apache Http Server version is 2.4.

Above are the steps to install crowd-apache connector in any unix-like system.

There is no issue till the first 4 steps but from the step 5 I get the following errors respectively to the commands.

So my question is:

  1. Is crowd-apache connector compatible to CentOS 7 or any version of CentOS higher than 6.* with Apache version 2.4?

  2. If compatible then what are the steps to accomplish this?

  3. Or how can I get rid of these errors and successfully build crowd-apache connector in CentOS 7

    [[email protected] mod_authnz_crowd-2.2.2]# autoreconf --install
    libtoolize: putting auxiliary files in .'. libtoolize: copying file./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, m4'. libtoolize: copying filem4/libtool.m4' libtoolize: copying file m4/ltoptions.m4' libtoolize: copying filem4/ltsugar.m4' libtoolize: copying file m4/ltversion.m4' libtoolize: copying filem4/lt~obsolete.m4' configure.ac:4: installing './config.guess' configure.ac:4: installing './config.sub' configure.ac:2: installing './install-sh' configure.ac:2: installing './missing' automake: warnings are treated as errors /usr/share/automake-1.13/am/ltlibrary.am: warning: 'mod_authnz_crowd.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/Makefile.am:3: while processing Libtool library 'mod_authnz_crowd.la' src/Makefile.am: installing './depcomp' src/Makefile.am:8: warning: 'CFLAGS' is a user variable, you should not override it; src/Makefile.am:8: use 'AM_CFLAGS' instead parallel-tests: installing './test-driver' /usr/share/automake-1.13/am/ltlibrary.am: warning: 'mod_authz_svn_crowd.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/svn/Makefile.am:1: while processing Libtool library 'mod_authz_svn_crowd.la' src/svn/Makefile.am:6: warning: 'CFLAGS' is a user variable, you should not override it; src/svn/Makefile.am:6: use 'AM_CFLAGS' instead
    autoreconf: automake failed with exit status: 1

    [[email protected] mod_authnz_crowd-2.2.2]# ./configure configure: error: Could not locate Apache apxs binary

    [[email protected] mod_authnz_crowd-2.2.2]# makeenter code here make: *** No targets specified and no makefile found. Stop.

    [[email protected] mod_authnz_crowd-2.2.2]# su -c "make install"

    make: *** No rule to make target `install'. Stop.

Where did my apache module get installed

I'm trying to get Crowd Apache Connector working. I've installed the modules. If I do a yum info it tells me that it's installed. If I do httpd -M it's listed as a shared module. However, it's not in apache/modules/

When I try the LoadModule in the pre main include, I get the error that it cannot load it into the server because it doesn't exist.

The error after trying to load the module:

Configuration problem detected on line 1 of file /usr/local/apache/conf/includes/pre_main_global.conf.tmp:  : Cannot load /usr/local/apache/modules/mod_authnz_crowd.so into server: /usr/local/apache/modules/mod_authnz_crowd.so: cannot open shared object file: No such file or directory --- /usr/local/apache/conf/includes/pre_main_global.conf.tmp --- 1 ===> LoadModule authnz_crowd_module modules/mod_authnz_crowd.so <=== 2LoadModule authz_svn_crowd_module modules/mod_authz_svn_crowd.so --- /usr/local/apache/conf/includes/pre_main_global.conf.tmp ---

libtool: install: `mod_authnz_crowd.la’ is not a valid libtool archive

I'm trying to get the Crowd Apache Connector installed on our server (CentOS 5.11) according to this guide. But I'm getting the error below (and in the title) when running make install

libtool: install: `mod_authnz_crowd.la' is not a valid libtool archive

Anyone have any experience installing this or able to shed some light on the error other than the obvious "it's not a valid archive"?