Having a problem getting http://www.aleksey.com/xmlsec/ to work? try using the below configuration string change the openssl path as needed.

./configure --with-openssl=/usr/local/php5 --disable-apps-crypto-dl --disable-crypto-dl

This is mainly for those who dislike Darwin ports and/or prefer to do there own compiling.. you will need the openssl library for this use case.