From subsecret
Jump to: navigation, search
(Created page with "==attr== Extract tar.gz and patches from source RPM rpm2cpio attr-2.4.44-6.fc14.src.rpm | cpio -idmv tar xf attr-2.4.44.src.tar.gz mv attr*.patch attr-2.4.44/ cd attr-2.4...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==attr==
==attr==
Extract tar.gz and patches from source RPM
Extract tar.gz and patches from source RPM
rpm2cpio attr-2.4.44-6.fc14.src.rpm | cpio -idmv
  tar xf attr-2.4.46.src.tar.gz
  tar xf attr-2.4.44.src.tar.gz  
  cd attr-2.4.46/
mv attr*.patch attr-2.4.44/
  cd attr-2.4.44/
patch -p1 < attr-2.4.32-build.patch
patch -p1 < attr-2.4.43-leak.patch
patch -p1 < attr-2.4.44-bz587516.patch
patch -p1 < attr-2.4.44-bz650539.patch
patch -p1 < attr-2.4.44-bz660613.patch
patch -p1 < attr-2.4.44-bz660619.patch
patch -p1 < attr-2.4.44-tests.patch
patch -p1 < attr-2.4.44-warnings.patch
  ./configure --prefix=/tools  
  ./configure --prefix=/tools  
  make -j 12
  make -j 8
   
   
Since "make install" is broken, we manually copy files
Since "make install" is broken, we manually copy files
Line 28: Line 18:
  cd ..
  cd ..
  cd ..
  cd ..


==coreutils==
==coreutils==
  tar xf coreutils-8.10.tar.gz
  tar xf coreutils-8.21.tar.xz
  cd coreutils-8.10
  cd coreutils-8.21
  ./configure --without-gmp --without-selinux --prefix=/tools/
  ./configure --with-gmp=/tools --without-selinux --prefix=/tools/
  make -j 12
  make -j 8
  make install
  make install
  cd ..
  cd ..
   
   
We are now ready for next step
We are now ready for next step

Latest revision as of 14:57, 21 April 2013

attr

Extract tar.gz and patches from source RPM

tar xf attr-2.4.46.src.tar.gz
cd attr-2.4.46/
./configure --prefix=/tools 
make -j 8

Since "make install" is broken, we manually copy files

cd libattr
cd .libs
cp *.la /tools/lib/
cp *.so* /tools/lib/
cd ..
cd ..
cd include
mkdir /tools/include/attr
cp attributes.h  error_context.h  libattr.h  xattr.h /tools/include/attr
cd ..
cd ..

coreutils

tar xf coreutils-8.21.tar.xz
cd coreutils-8.21
./configure --with-gmp=/tools --without-selinux --prefix=/tools/
make -j 8
make install
cd ..

We are now ready for next step