Skip to Content.
Sympa Menu

shibboleth-dev - Compiling Shibboleth-2.1 on FreeBSD

Subject: Shibboleth Developers

List archive

Compiling Shibboleth-2.1 on FreeBSD


Chronological Thread 
  • From: Benjamin Bercovitz <>
  • To:
  • Subject: Compiling Shibboleth-2.1 on FreeBSD
  • Date: Sun, 8 Feb 2009 14:38:57 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=mH1Q0ohTcTkUdlcLXaHbt2JvCi5cKSqT7NfeM9HVyNHLQvcOplKnWUEyb/9KDMVlop BXLs8oNf+XCxt6VjFaB1wYT2MJt5lUDpdHLi2S0jMd6a+ZQrMfL2AkV++MUZ6tEAJYmg JrOwCcJiqs1t9h53zBAvK/IehwA5XqLWc87FI=

Hello all,

I have also been trying to compile Shibboleth on FreeBSD (amd64) from
source for a while. I have gotten very close with the help of Tristan
Waddington's post on his recent work:
http://emumarketing.uoregon.edu/tristan/2009/01/16/compiling-shibboleth-21-on-freebsd-70-from-source/

The gmake install for shibboleth fails and I'm not sure why because
there are no compile errors. I think something is needing porting in
the makefile.

Here is my output:

%gmake install
...
gmake[1]: Entering directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
rm -f paths.h.tmp
sed < ./paths.h.in > paths.h.tmp \
-e 's:@-PREFIX-@:/opt/shibboleth-sp:g' \
-e 's:@-PKGSYSCONFDIR-@:/opt/shibboleth-sp/etc/shibboleth:g' \
-e 's:@-PKGXMLDIR-@:/opt/shibboleth-sp/share/xml/shibboleth:g' \
-e
's:@-XMLTOOLINGXMLDIR-@:/opt/shibboleth-sp/share/xml/xmltooling:g'
\
-e 's:@-OPENSAMLXMLDIR-@:/opt/shibboleth-sp/share/xml/opensaml:g'
cmp -s paths.h paths.h.tmp || mv paths.h.tmp paths.h
rm -f paths.h.tmp
gmake install-am
gmake[2]: Entering directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
rm -f paths.h.tmp
sed < ./paths.h.in > paths.h.tmp \
-e 's:@-PREFIX-@:/opt/shibboleth-sp:g' \
-e 's:@-PKGSYSCONFDIR-@:/opt/shibboleth-sp/etc/shibboleth:g' \
-e 's:@-PKGXMLDIR-@:/opt/shibboleth-sp/share/xml/shibboleth:g' \
-e
's:@-XMLTOOLINGXMLDIR-@:/opt/shibboleth-sp/share/xml/xmltooling:g'
\
-e 's:@-OPENSAMLXMLDIR-@:/opt/shibboleth-sp/share/xml/opensaml:g'
cmp -s paths.h paths.h.tmp || mv paths.h.tmp paths.h
rm -f paths.h.tmp
gmake[3]: Entering directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
test -z "/opt/shibboleth-sp/lib" ||
/usr/home/benjamin/shibboleth-2.1/install-sh -d
"/opt/shibboleth-sp/lib"
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c
'libshibsp.la' '/opt/shibboleth-sp/lib/libshibsp.la'
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c
'libshibsp-lite.la' '/opt/shibboleth-sp/lib/libshibsp-lite.la'
gmake install-exec-hook
gmake[4]: Entering directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
for la in libshibsp.la libshibsp-lite.la ; do rm -f
/opt/shibboleth-sp/lib/$la ; done
gmake[4]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
test -z "/opt/shibboleth-sp/include/shibsp/attribute/filtering" ||
/usr/home/benjamin/shibboleth-2.1/install-sh -d
...
gmake[3]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
gmake[2]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
gmake[1]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
Making install in shibd
gmake[1]: Entering directory `/usr/home/benjamin/shibboleth-2.1/shibd'
gmake[2]: Entering directory `/usr/home/benjamin/shibboleth-2.1/shibd'
test -z "/opt/shibboleth-sp/sbin" ||
/usr/home/benjamin/shibboleth-2.1/install-sh -d
"/opt/shibboleth-sp/sbin"
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c
'shibd' '/opt/shibboleth-sp/sbin/shibd'
libtool: install: warning: `../shibsp/libshibsp.la' has not been
installed in `/opt/shibboleth-sp/lib'
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/shibd'
gmake[1]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/shibd'
Making install in util
gmake[1]: Entering directory `/usr/home/benjamin/shibboleth-2.1/util'
gmake[2]: Entering directory `/usr/home/benjamin/shibboleth-2.1/util'
test -z "/opt/shibboleth-sp/bin" ||
/usr/home/benjamin/shibboleth-2.1/install-sh -d
"/opt/shibboleth-sp/bin"
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c
'mdquery' '/opt/shibboleth-sp/bin/mdquery'
libtool: install: warning: `../shibsp/libshibsp.la' has not been
installed in `/opt/shibboleth-sp/lib'
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c
'resolvertest' '/opt/shibboleth-sp/bin/resolvertest'
libtool: install: warning: `../shibsp/libshibsp.la' has not been
installed in `/opt/shibboleth-sp/lib'
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/util'
gmake[1]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/util'
Making install in adfs
gmake[1]: Entering directory `/usr/home/benjamin/shibboleth-2.1/adfs'
gmake[2]: Entering directory `/usr/home/benjamin/shibboleth-2.1/adfs'
gmake install-exec-hook
gmake[3]: Entering directory `/usr/home/benjamin/shibboleth-2.1/adfs'
for la in adfs.la adfs-lite.la ; do rm -f
/opt/shibboleth-sp/lib/shibboleth/$la ; done
gmake[3]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/adfs'
test -z "/opt/shibboleth-sp/lib/shibboleth" ||
/usr/home/benjamin/shibboleth-2.1/install-sh -d
"/opt/shibboleth-sp/lib/shibboleth"
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c
'adfs.la' '/opt/shibboleth-sp/lib/shibboleth/adfs.la'
libtool: install: warning: relinking `adfs.la'
/usr/bin/ld: cannot find -lshibsp
libtool: install: error: relink `adfs.la' with the above command
before installing it
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c
'adfs-lite.la' '/opt/shibboleth-sp/lib/shibboleth/adfs-lite.la'
libtool: install: warning: relinking `adfs-lite.la'
/usr/bin/ld: cannot find -lshibsp-lite
libtool: install: error: relink `adfs-lite.la' with the above command
before installing it
gmake[2]: *** [install-pluginLTLIBRARIES] Error 1
gmake[2]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/adfs'
gmake[1]: *** [install-am] Error 2
gmake[1]: Leaving directory `/usr/home/benjamin/shibboleth-2.1/adfs'
gmake: *** [install-recursive] Error 1




Let me know if anyone sees something out of place.

From what I can decipher, the error from /usr/bin/ld says it cannot
find the library shibsp, which I suppose it resolves to
$prefix/lib/libshibsp.la

Which was installed:
-----------------------------------
gmake[3]: Entering directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
test -z "/opt/shibboleth-sp/lib" ||
/usr/home/benjamin/shibboleth-2.1/install-sh -d
"/opt/shibboleth-sp/lib"
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c
'libshibsp.la' '/opt/shibboleth-sp/lib/libshibsp.la'
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c
'libshibsp-lite.la' '/opt/shibboleth-sp/lib/libshibsp-lite.la'
gmake install-exec-hook
gmake[4]: Entering directory `/usr/home/benjamin/shibboleth-2.1/shibsp'
for la in libshibsp.la libshibsp-lite.la ; do rm -f
/opt/shibboleth-sp/lib/$la ; done
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
right before it was deleted again...

Maybe I am parsing this too finely.

Any suggestions would be greatly appreciated.

Regards,

Benjamin Bercovitz



  • Compiling Shibboleth-2.1 on FreeBSD, Benjamin Bercovitz, 02/08/2009

Archive powered by MHonArc 2.6.16.

Top of Page