From subsecret
Jump to: navigation, search

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