Opened 9 years ago

Closed 4 years ago

#50207 closed defect (fixed)

shibboleth @2.5.5_0 fails to create mod_shib_24.so

Reported by: shailesh.hemdev@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: scantor (Scott Cantor)
Port: shibboleth

Description (last modified by mf2k (Frank Schima))

I am trying to install NativeSPMacInstall using MacPorts. I ran the following commands as per the documentation

port install curl +ssl
port install shibboleth

During shibboleth install, it fails with error during the build of mod_shib_24.sso. I have OSX EI Capitan v10.11.2 and I have checked that the default Apache is 2.4 i386 x86_64

Am attaching the error log file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_shibboleth/shibboleth/main.log

Attachments (1)

main.log (2.5 MB) - added by shailesh.hemdev@… 9 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_shibboleth/shibboleth/main.log

Change History (9)

Changed 9 years ago by shailesh.hemdev@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_shibboleth/shibboleth/main.log

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: scantor@… added
Owner: changed from macports-tickets@… to snc@…
Port: shibboleth added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers shibboleth), if any.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 9 years ago by nerdling (Jeremy Lavergne)

From the log:

:info:build In file included from mod_shib_24.cpp:70:
:info:build ./mod_shib.cpp:71:10: fatal error: 'httpd.h' file not found
:info:build #include <httpd.h>
:info:build          ^

Likely needs to depend on Apache.

Last edited 9 years ago by nerdling (Jeremy Lavergne) (previous) (diff)

comment:4 Changed 9 years ago by scantor (Scott Cantor)

An Apache variant is not objectionable, but the purpose of this port was to support Apple's Apache because that's what people in the Shibboleth community expected, so it's working as intended.

comment:5 Changed 9 years ago by nerdling (Jeremy Lavergne)

I'm unable to replicate this issue. The user's Shibboleth appears to be unable to find the system's Apache httpd.h even though it correctly has -I/usr/include/apache2.

:info:build Making all in apache
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_shibboleth/shibboleth/work/shibboleth-sp-2.5.5/apache'
:info:build /bin/sh ../libtool --silent  --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I../shibsp   -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -D_THREAD_SAFE -pthread -Wall -pipe -Os -arch x86_64 -stdlib=libc++ -O2 -DNDEBUG -I/opt/local/include -I/opt/local/include  -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -I/usr/include/apr-1   -I/usr/include/apr-1  -I/usr/include/apache2 -Wall -pipe -Os -arch x86_64 -stdlib=libc++ -O2 -DNDEBUG -MT

comment:6 Changed 9 years ago by shailesh.hemdev@…

Wanted to add that I haven't modified the Apache that comes with Mac. Also I did try clean all and then port install shibboleth but got the same error

comment:7 Changed 4 years ago by scantor (Scott Cantor)

This was addressed in the V3 changes that moved to basing things on the Apache port, and a recent fix for 3.2 addresses finding the right apxs script.

comment:8 Changed 4 years ago by scantor (Scott Cantor)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.