Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Can't build on Ubuntu 14.04 #2

Open
pcolmer opened this issue Jun 13, 2016 · 2 comments
Open

Can't build on Ubuntu 14.04 #2

pcolmer opened this issue Jun 13, 2016 · 2 comments

Comments

@pcolmer
Copy link

pcolmer commented Jun 13, 2016

On a clean Ubuntu 14.04 machine:

sudo apt-get install git
git clone https://github.com/fgimian/cwdapache.git
cd cwdapache/
sudo apt-get install automake
aclocal
sudo apt-get install libtool
libtoolize
autoheader
automake --force-missing --add-missing
autoreconf

That last step fails with:

configure.ac:4: error: required file './config.guess' not found
configure.ac:4: 'automake --add-missing' can install 'config.guess'
configure.ac:4: error: required file './config.sub' not found
configure.ac:4: 'automake --add-missing' can install 'config.sub'
/usr/share/automake-1.14/am/ltlibrary.am: warning: 'mod_authnz_crowd.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.14/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:8: warning: 'CFLAGS' is a user variable, you should not override it;
src/Makefile.am:8: use 'AM_CFLAGS' instead
/usr/share/automake-1.14/am/ltlibrary.am: warning: 'mod_authz_svn_crowd.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.14/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

If I edit configure.ac and add AM_PROG_AR then re-run automake and autoreconf, that phase completes. However, running ./configure gives me this error:

checking for apr_pool_pre_cleanup_register in -lapr-1... no
configure: error: apr_pool_pre_cleanup_register was not found in libapr-1

So I'm still stuck trying to get this to build.

@pcolmer pcolmer changed the title I could be missing libraries, but shouldn't it tell me? Can't build on Ubuntu 14.04 Jun 16, 2016
@pcolmer
Copy link
Author

pcolmer commented Jun 16, 2016

The following packages are required to be installed manually: libapr1-dev, libcurl4-openssl-dev, libcurl4-gnutls-dev, libxml2-dev, apache2-dev, libsvn-dev.

@goedecke
Copy link

goedecke commented Mar 21, 2017

#:~/mod_authnz_crowd-2.2.2# apt-get install libcurl4-gnutls-dev libxml2-dev apache2-dev libsvn-dev libcurl4-openssl-dev libapr1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapr1-dev is already the newest version.
libapr1-dev set to manually installed.
libcurl4-gnutls-dev is already the newest version.
libxml2-dev is already the newest version.
libsvn-dev is already the newest version.
apache2-dev is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libcurl4-gnutls-dev : Conflicts: libcurl4-openssl-dev but 7.38.0-4+deb8u5 is to be installed
libcurl4-openssl-dev : Conflicts: libcurl4-gnutls-dev but 7.38.0-4+deb8u5 is to be installed
E: Unable to correct problems, you have held broken packages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants