Difference between revisions of "Building gLExec from src rpm gLite era"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 13: | Line 13: | ||
</pre> | </pre> | ||
− | *Installed extra packages | + | *Installed extra packages (<tt>rpm -i</tt>) |
[http://eticssoft.web.cern.ch/eticssoft/repository/vdt/globus/4.0.3-VDT-1.6.0/rhel4_ia32_gcc346/vdt_globus_essentials-VDT1.6.0x86_rhas_4-1.i386.rpm vdt_globus_essentials-VDT1.6.0x86_rhas_4-1.i386.rpm] | [http://eticssoft.web.cern.ch/eticssoft/repository/vdt/globus/4.0.3-VDT-1.6.0/rhel4_ia32_gcc346/vdt_globus_essentials-VDT1.6.0x86_rhas_4-1.i386.rpm vdt_globus_essentials-VDT1.6.0x86_rhas_4-1.i386.rpm] | ||
[http://eticssoft.web.cern.ch/eticssoft/repository/org.glite/org.glite.build.common-cpp/3.2.1/slc4_ia32_gcc346/org.glite.build.common-cpp-3.2.1-2.slc4.i386.rpm org.glite.build.common-cpp-3.2.1-2.slc4.i386.rpm] | [http://eticssoft.web.cern.ch/eticssoft/repository/org.glite/org.glite.build.common-cpp/3.2.1/slc4_ia32_gcc346/org.glite.build.common-cpp-3.2.1-2.slc4.i386.rpm org.glite.build.common-cpp-3.2.1-2.slc4.i386.rpm] | ||
Line 32: | Line 32: | ||
</pre> | </pre> | ||
− | * installed | + | * installed (<tt>rpm -i</tt>) |
[http://etics-repository.cern.ch:8080/repository/download/registered/org.glite/org.glite.security.glexec/0.6.8/src/glite-security-glexec-0.6.8-3.src.rpm glite-security-glexec-0.6.8-3.src.rpm] | [http://etics-repository.cern.ch:8080/repository/download/registered/org.glite/org.glite.security.glexec/0.6.8/src/glite-security-glexec-0.6.8-3.src.rpm glite-security-glexec-0.6.8-3.src.rpm] | ||
Revision as of 15:55, 30 September 2009
How to build gLExec from a .src.rpm
Different versions can be used, this is a working example and work in progress...
- Platform: Centos-4
- Yum Installed
rpm-build gcc gcc-c++ make libtool
- Installed extra packages (rpm -i)
vdt_globus_essentials-VDT1.6.0x86_rhas_4-1.i386.rpm org.glite.build.common-cpp-3.2.1-2.slc4.i386.rpm glite-security-voms-api-c-1.8.12-1.slc4.i386.rpm glite-security-voms-api-cpp-1.8.12-1.slc4.i386.rpm glite-security-lcas-interface-1.3.6-3.slc4.i386.rpm glite-security-lcas-1.3.7-2.slc4.i386.rpm glite-security-lcmaps-1.4.3-4.slc4.i386.rpm
- Installed from tarball into /opt/globus:
globus-4.0.3-VDT-1.6.1-5.tar.gz
- Created /etc/ld.so.conf.d/glite.conf and /etc/ld.so.conf.d/globus.conf:
echo /opt/glite/lib > /etc/ld.so.conf.d/glite.conf echo /opt/globus/lib > /etc/ld.so.conf.d/globus.conf ldconfig
- installed (rpm -i)
glite-security-glexec-0.6.8-3.src.rpm
- edit /usr/src/redhat/SPECS/glite-security-glexec.spec
--- /usr/src/redhat/SPECS/glite-security-glexec.spec.orig 2009-09-30 12:10:03.000000000 +0200 +++ /usr/src/redhat/SPECS/glite-security-glexec.spec 2009-09-30 16:48:57.000000000 +0200 @@ -35,7 +35,7 @@ %install rm -rf $RPM_BUILD_ROOT - make DESTDIR=$RPM_BUILD_ROOTinstall + make install find $RPM_BUILD_ROOT/%{prefix} -name '*.la' -exec rm -rf {} \; %clean
- Create rpm:
cd /usr/src/redhat rpmbuild -bb SPECS/glite-security-glexec.spec