Libuser

From CBLFS
Revision as of 13:01, 28 October 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://mirrors.dotsrc.org/fedora/development/source/SRPMS/libuser-0.54.7-2.src.rpm

Extracting the RPM

An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/libuser-0.54.7.tar.gz

Make sure that you have rpm2cpio and Cpio installed. This is not the only way to extract the tarball. If you know of a better way that has almost no dependencies, By all means add it.

rpm2cpio libuser-0.54.7-2.src.rpm | cpio -d -i

The above command will create 2 files. libuser-0.54.7.tar.gz and libuser.spec. It is safe to delete libuser.spec

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install