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

  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./' 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' installing './config.guess' installing './config.sub' installing './install-sh' installing './missing' automake: warnings are treated as errors /usr/share/automake-1.13/am/ warning: '': linking libtool libraries using a non-POSIX /usr/share/automake-1.13/am/ archiver requires 'AM_PROG_AR' in '' src/ while processing Libtool library '' src/ installing './depcomp' src/ warning: 'CFLAGS' is a user variable, you should not override it; src/ use 'AM_CFLAGS' instead parallel-tests: installing './test-driver' /usr/share/automake-1.13/am/ warning: '': linking libtool libraries using a non-POSIX /usr/share/automake-1.13/am/ archiver requires 'AM_PROG_AR' in '' src/svn/ while processing Libtool library '' src/svn/ warning: 'CFLAGS' is a user variable, you should not override it; src/svn/ 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/ into server: /usr/local/apache/modules/ 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/ <=== 2LoadModule authz_svn_crowd_module modules/ --- /usr/local/apache/conf/includes/pre_main_global.conf.tmp ---

libtool: install: `’ 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: `' 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"?