How to build and package mod_browserid

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

  1. Install supporting packages
    yum install httpd httpd-devel libtool libcurl-devel 'perl(Apache::Test)' cmake
    
  2. 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
    
  3. 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
    
  4. build the configure file
    autoreconf -iv
    
  5. configure
    ./configure
    
  6. create the RPM
    make rpm
    
  7. 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
    
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.