Attr

From CBLFS
Revision as of 06:53, 2 October 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_2.4.32-1.tar.gz

Dependencies

Non-Multilib

Compile the package:

make

Install the package

make install install-dev install-lib

Multilib

32Bit

Create a libtool:

sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
aclocal -I m4 &&
autoconf &&
libtoolize

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ \
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib \
    --libexecdir=/usr/lib --includedir=/usr/include \
    --mandir=/usr/share/man --datadir=/usr/share &&
make top_builddir=$PWD

Install the package:

make top_builddir=$PWD install install-dev install-lib &&
chmod 755 -v /lib/libattr.so.1.1.0

N32

Create a libtool:

sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
aclocal -I m4 &&
autoconf &&
libtoolize

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ \
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib32 \
    --libexecdir=/usr/lib32 --includedir=/usr/include \
    --mandir=/usr/share/man --datadir=/usr/share &&
make top_builddir=$PWD

Install the package:

make top_builddir=$PWD install install-dev install-lib &&
chmod 755 -v /lib32/libattr.so.1.1.0

64Bit

Create a libtool:

sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
aclocal -I m4 &&
autoconf &&
libtoolize

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ \
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib64 \
    --libexecdir=/usr/lib64 --includedir=/usr/include \
    --mandir=/usr/share/man --datadir=/usr/share &&
make top_builddir=$PWD

Install the package:

make top_builddir=$PWD install install-dev install-lib &&
chmod 755 -v /lib64/libattr.so.1.1.0
Retrieved from "?title=Attr&oldid=2335"