Problems compiling Shibboleth 2.4.3
csross
cross at hccs.com
Thu Aug 30 11:47:15 EDT 2012
Hi. I use this script Solaris 10, Sun CC 12.2 for Shib 2.2 and 2.4.3. Using
Sun's Openssl. I use a separate compile script which is below and then just
"make install". Very clean install. This installs all in /usr/local.
# more ConfigureShibboleth
#!/bin/sh
# Built on Solaris 10
# Using Shibboleth recommended options
# Requires GNU make
# Requires packages: log4shib-1.0 xerces-c-2.8.0
# xml-security-c-1.4.0 xmltooling-1.0 opensaml-2.0
# 9/10/2009 - make changes for apache 2.2
# --enable-apache-22 enable the Apache 2.2 module
# --with-apxs22=FILE Specifies where to find the Apache 2.2 apxs script
# --with-apr1=PATH where apr-1-config is installed
PATH=/usr/sfw/bin:/opt/SUNWspro/bin:/usr/bin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/usr/sbin;
export PATH
env CC=cc CXX=CC \
CFLAGS="-xO2 -D_sparc_" \
CXXFLAGS="-xO2 -D_sparc_ -library=Cstd,Crun" \
LDFLAGS="-lz" \
INSTALL=/usr/ucb/install \
./configure \
--enable-apache-22 \
--with-log4shib=/usr/local \
--with-xerces=/usr/local \
--with-xmlsec=/usr/local \
--with-xmltooling=/usr/local \
--with-openssl=/usr/sfw \
--with-saml=/usr/local \
--with-apxs22=/usr/local/apache2/bin/apxs \
--with-apr1=/usr/local/apache2/bin/apr-1-config \
--with-apu1=/usr/local/apache2/bin/apu-1-config
# LDFLAGS="-R/usr/sfw/lib"
#!/end
COMPILE SCRIPT
# more CompileShibboleth
#!/bin/sh
LD_RUN_PATH=/usr/local/apache2/lib:/usr/sfw/lib:/usr/local/lib; export
LD_RUN_PATH
# DBGFLAGS=-g; export DBGFLAGS
exec make "$@"
#!/end
#
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/Problems-compiling-Shibboleth-2-4-3-tp7581515p7581537.html
Sent from the Shibboleth - Users mailing list archive at Nabble.com.
More information about the users
mailing list