Hi everyone,
I was able to do an RPM build of Firefox 3.6.13 (and the corresponding xulrunner) for YDL for CUDA.
You can use the normal SRPMs from your favorite CentOS mirror:
xulrunner-1.9.2.13-3.el5.src.rpm
firefox-3.6.13-2.el5.centos.src.rpm
Just use:
rpmbuild --rebuild xulrunner-1.9.2.13-3.el5.src.rpm
install/update the resultant xulrunner and xulrunner-devel rpms, then
rpmbuild --rebuild firefox-3.6.13-2.el5.centos.src.rpm
and install the resultant firefox rpm.
One caveat. There appears to be some missing information in the spec file for xulrunner - the rpmbuild command above will terminate with a "installed (but unpackaged) file(s) found" error.
So - after I executed the command above, I had to edit the xulrunner.spec file like this. Search for %files, and where you see:
- Code: Select all
%files
%defattr(-,root,root,-)
%{_bindir}/xulrunner
%{_libdir}/mozilla
%{_datadir}/mozilla
change it to
- Code: Select all
%files
/usr/lib64/xulrunner-1.9.2/libfreebl3.chk
/usr/lib64/xulrunner-1.9.2/libnssdbm3.chk
/usr/lib64/xulrunner-1.9.2/libsoftokn3.chk
%defattr(-,root,root,-)
%{_bindir}/xulrunner
%{_libdir}/mozilla
%{_datadir}/mozilla
Then I used:
rpmbuild -ba xulrunner.spec
to build the xulrunner and xulrunner-devel rpms from my edited spec file.
Let me know if you're interested in the RPMs for this. I don't plan on posting them unless people want them.
Cheers,
Paul