[JIRA] Commented: (SSPCPP-500) configure fails against Apache 2.4
ryzxkckembdb7mcblxbqp+grel0=@https://login.uea.ac.uk/entity (JIRA)
noreply at shibboleth.net
Thu Sep 13 12:09:21 EDT 2012
[ https://issues.shibboleth.net/jira/browse/SSPCPP-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385#comment-14385 ]
ryzxkckembdb7mcblxbqp+grel0=@https://login.uea.ac.uk/entity commented on SSPCPP-500:
------------------------------------------------------------------------------------
Fixing that case statement allowed my configure to proceed further.... however I then encountered another problem:
checking for user-specified Apache 2.4 apxs name/location... "/usr/local/apache/bin/apxs"
checking to see if Apache 2.4 apxs was located... /usr/local/apache/bin/apxs
checking for apr-1-config... ./configure: line 21124: -q: command not found
no
configure: error: Unable to locate apr-1-config, may need --with-apr1 option.
If I further modify the configure script, replacing:
21092 # If we haven't done this work already for Apache 2.2
21093 if test "$WANT_APACHE_22" != "yes" ; then
21094 # APR1 settings
with:
21092 # If we haven't done this work already for Apache 2.2
21093 if test "$WANT_APACHE_24" != "yes" ; then
21094 # APR1 settings
I've no idea whether this is really ok, but doing so results in my configure completing, although I get scary looking warning:
==================================================================
WARNING: You have chosen to compile Apache-2.4 modules with a different
compiler than the one used to compile Apache.
Current compiler: gcc
Apache's compiler: gcc -std=gnu99
This could cause problems.
==================================================================
Do you know if this is really likely to be a problem? If so, any idea how I solve it?
I can then run the make which results in mod_shib_24.so , which I can successfully include in my Apache config with the LoadModule line. I haven't got as far as trying to configure the Apache to actually use it yet though - so don't know whether it really functions.
> configure fails against Apache 2.4
> ----------------------------------
>
> Key: SSPCPP-500
> URL: https://issues.shibboleth.net/jira/browse/SSPCPP-500
> Project: Shibboleth SP - C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 2.5.0
> Environment: RHEL 6.2, Apache 2.4.3, OpenSSL 1.0.1c
> Reporter: ryzxkckembdb7mcblxbqp+grel0=@https://login.uea.ac.uk/entity
> Assignee: Scott Cantor
> Attachments: config_2.log, configure.ac.patch
>
>
> Dependencies installed via yum repositories:
> yum install log4shib.x86_64 opensaml.x86_64 xerces.x86_64 xml-security.x86_64 xmltooling.x86_64 rpm-build libxerces-c-devel.x86_64 libxml-security-c-devel.x86_64 libxmltooling-devel.x86_64 libsaml-devel.x86_64 xmltooling-schemas.x86_64 opensaml-schemas.x86_64
> Configuring Shibboleth SP 2.5.0:
> ./configure --with-apxs24=/usr/local/apache/bin/apxs --enable-apache-24 --with-openssl=/usr/local/openssl
> Configure fails, concluding with:
> checking if default apache needed... yes
> checking for apxs2... no
> checking for apxs... /usr/local/apache/bin/apxs
> checking default apache version... configure: error: unusable apache versions: . Try setting --with-apxs
> config.log attached.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list