These instructions are for RHEL/CentOS/Scientific Linux 6.x

Install supporting packages

yum install httpd httpd-devel libtool libcurl-devel 'perl(Apache::Test)' cmake

Get a current version of YAJL installed. SL 6.x only has 1.x

wget http://fedora.mirror.nexicom.net/linux/development/rawhide/source/SRPMS/y/yajl-2.0.4-3.fc20.src.rpm
rpmbuild --rebuild yajl-*.src.rpm
sudo yum install ~/rpmbuild/RPMS/`uname -i`/yajl-*.rpm

get mod_browserid assuming that this pull request has been merged : https://github.com/mozilla/mod_browserid/pull/15

git clone https://github.com/mozilla/mod_browserid.git
cd mod_browserid

build the configure file

autoreconf -iv

configure

./configure

create the RPM

make rpm

install the resulting RPM to confirm it works

yum install /root/rpmbuild/RPMS/x86_64/mod_auth_browserid-0.1-1.el6.x86_64.rpm