difficulty building shibboleth SP from source on RHEL6 for Apache 2.4
Paul Beckett (ITCS)
P.Beckett at uea.ac.uk
Thu Sep 13 10:56:38 EDT 2012
Looking at the configure script, the section that is failing is:
v=`$httpd -v|$SED -n -e 's/.*Apache\/\.*//p'`
case $v in
1.3*) enable_apache_13=yes
with_apxs=$xs
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 1.3" >&5
$as_echo "1.3" >&6; }
;;
2.0*) enable_apache_20=yes
with_apxs2=$xs
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.0" >&5
$as_echo "2.0" >&6; }
;;
2.2*) enable_apache_22=yes
with_apxs22=$xs
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.2" >&5
$as_echo "2.2" >&6; }
;;
*) as_fn_error $? "unusable apache versions: $v. Try setting --with-apxs" "$LINENO" 5
It appears the case statement doesn't support 2.4.
Cheers,
Paul
>-----Original Message-----
>From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net]
>On Behalf Of Cantor, Scott
>Sent: Thursday, September 13, 2012 3:11 PM
>To: Shib Users
>Subject: Re: difficulty building shibboleth SP from source on RHEL6 for
>Apache 2.4
>
>On 9/13/12 9:58 AM, "Paul Beckett (ITCS)" <P.Beckett at uea.ac.uk> wrote:
>>
>>But it still fails, with a fairly similar error message:
>>
>>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
>>error: Bad exit status from /var/tmp/rpm-tmp.0qfXFV (%build)
>
>I'll have to review the script, that doesn't look quite right to me.
>
>>I'm a bit suspicious about "checking if default apache needed... yes",
>is
>>it trying to use the OS apache (which doesn't exist)?
>
>No.
>
>>The main reason I built openSSL from source, was so that I could have
>the
>>newer TLSv1.2 protocols available (which aren't supported in the
>earlier
>>RHEL6 version).
>
>Ok.
>
>There's not much I can say other than you'll have to file a bug and
>attach
>your log (just use the original source build) and I'll review it when I
>have a chance. If I can find a bug I'll fix it, or I'll mark it invalid
>and identify the problem.
>
>If you post back with a link to a configure log from this set of options
>then perhaps somebody else might also be able to take a look before I
>can
>get to it.
>
>-- Scott
>
>
>--
>To unsubscribe from this list send an email to users-
>unsubscribe at shibboleth.net
More information about the users
mailing list