difficulty building shibboleth SP from source on RHEL6 for Apache 2.4
Paul Beckett (ITCS)
P.Beckett at uea.ac.uk
Thu Sep 13 06:21:27 EDT 2012
Scott,
Thanks for the reply. Sorry I didn't realise there was an --enable-apache-24, I'd just adapted my configure line from the options in the example on https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPLinuxSourceBuild
My apache install is the only copy of Apache on the server. The OS (yum / rpm repo's) of httpd and httpd-devel are not installed.
I've re-run the configure with:
./configure --with-log4shib=/usr/local/shibboleth-sp --prefix=/usr/local/shibboleth-sp --with-apr=/usr/local/apache/bin/apr-1-config --with-apu=/usr/local/apache/bin/apu-1-config --with-apxs=/usr/local/apache/bin/apxs --enable-apache-24 --with-openssl=/usr/local/openssl
This still fails, concluding with:
checking default apache version... configure: error: unusable apache versions: . Try setting --with-apxs
The config.log can be viewed at: http://www.uea.ac.uk/~s167/config.log , this seems to contain several errors, but I don't really understand what most of the mean or how I can resolve them.
Thanks,
Paul
>-----Original Message-----
>From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net]
>On Behalf Of Cantor, Scott
>Sent: Wednesday, September 12, 2012 5:07 PM
>To: Shib Users
>Subject: Re: difficulty building shibboleth SP from source on RHEL6 for
>Apache 2.4
>
>On 9/12/12 12:01 PM, "Paul Beckett (ITCS)" <P.Beckett at uea.ac.uk> wrote:
>>./configure --with-log4shib=/usr/local/shibboleth-sp
>>--prefix=/usr/local/shibboleth-sp --enable-apache-20
>>--with-apxs=/usr/local/apache/bin/apxs
>>--with-apr=/usr/local/apache/bin/apr-1-config
>>--with-apu=/usr/local/apache/bin/apu-1-config
>
>As a starting point, you're telling it to build for Apache 2.0, not 2.4.
>Fix that and see what happens. I'd also scour the config log and make
>sure
>it's using the Apache dev files you want it to. Probably making sure the
>built-in httpd-dev module isn't there would be good.
>
>As a rule, don't build from source. Install RPMs for everything but the
>SP
>part and then use rpmbuild to rebuild the RPM against your Apache. The
>wiki has some material on that I think, as does the list archive.
>
>-- Scott
>
>
>--
>To unsubscribe from this list send an email to users-
>unsubscribe at shibboleth.net
More information about the users
mailing list