Popt

From CBLFS
Revision as of 18:42, 2 December 2006 by Kalessin (talk | contribs) (I added the package description from BLFS.)
Jump to navigationJump to search
Download Source: http://rpm.net.in/mirror/rpm-4.4.x/popt-1.10.4.tar.gz

Introduction to Popt

The popt package contains the popt libraries which are used by some programs to parse command-line options.

Dependencies

Non-Multilib

Compile the package:

sed -i -e "/*origOptString ==/c 0)" popt.c &&
autoreconf -f -i &&
sed -i "/MARK64=/s/^x/# &/" configure &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

sed -i -e "/*origOptString ==/c 0)" popt.c &&
autoreconf -f -i &&
sed -i "/MARK64=/s/^x/# &/" configure &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

sed -i -e "/*origOptString ==/c 0)" popt.c &&
autoreconf -f -i &&
sed -i "/MARK64=/s/^x/# &/" configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i -e "/*origOptString ==/c 0)" popt.c &&
autoreconf -f -i &&
sed -i "/MARK64=/s/^x/# &/" configure &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install