-
Notifications
You must be signed in to change notification settings - Fork 78
Home
kazuhisya edited this page Dec 29, 2012
·
18 revisions
Tested working (as sane as I could test for) on:
- RHEL 6.3 x86_64
- CentOS 5.8 x86_64
- Fedora 17 x86_64
- This spec is tested under el6 and el5 only. However, Fedora15 or later work. maybe.
# yum install rpm-build rpmdevtools openssl-devel zlib-devel redhat-rpm-config
# rpmdev-setuptree
# spectool -g -R nodejs.spec
# rpmbuild -ba nodejs.spec
# yum install ~/rpmbuild/RPMS/x86_64/nodejs-0.8.XX-1.x86_64.rpm --nogpgcheck
when you try to build on el5, must enable the EPEL repository.
# rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# rpmdev-setuptree
# spectool -g -R nodejs.spec
# yum install rpm-build rpmdevtools openssl-devel zlib-devel python26
# cp node-js.centos5.configure.patch ~/rpmbuild/SOURCES/
# rpmbuild -ba nodejs.spec
# yum install ~/rpmbuild/RPMS/x86_64/nodejs-0.8.XX-1.x86_64.rpm --nogpgcheck