Shibboleth 2.5.4-3.1 and Apache 2.4 on Amazon Linux AMI

Paul Nickerson pgn674 at gmail.com
Wed Mar 25 12:39:58 EDT 2015


I would like to run Apache 2.4 with Shibboleth on Amazon Linux AMI, a Linux
distribution originally based on RHEL or CentOS. A few weeks ago I followed
the instructions to do an SRPM build at
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPLinuxSRPMBuild,
and it worked. But I lost that Instance (my mistake) so I started it again
from my notes today. I noticed that every RPM at
http://shibboleth.net/downloads/service-provider/latest/SRPMS/
has since been updated, including
changing shibboleth-2.5.3-1.1.el5.src.rpm to shibboleth-2.5.4-3.1.src.rpm.

My problem occurs when I try to run rpmbuild --rebuild on the new
Shibboleth RPM. It quits with "error: Failed build dependencies:
httpd-devel(x86-64) is needed by shibboleth-2.5.4-3.1.x86_64". But on AWS
Linux AMI, httpd-devel in the amzn-main/latest repository is Apache 2.2.29.
To use Apache 2.4.12, I need to install the httpd24-devel package, which is
installed.

The previous version of that Shibboleth source RPM worked fine, and it
created shibboleth-2.5.3-1.1.amzn1.x86_64.rpm for me. In fact, I found that
older source RPM and just tried it again, and it still works. I've also
tried passing -D 'shib_options --without builtinapache' to rpmbuild with
the new source RPM, but it still fails with the same error.

Is there any way to get the new Shibboleth source RPM to recognize that
httpd24-devel is what it wants? Thanks for any help.

 ~ Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150325/61d0b48b/attachment.html 


More information about the users mailing list