Popt: Difference between revisions
From CBLFS
Jump to navigationJump to search
I added the package description from BLFS. |
I added the "Contents" section from BLFS. |
||
| Line 72: | Line 72: | ||
make install | make install | ||
= Contents = | |||
{| style="text-align: left;" | |||
|-valign="top" | |||
! Installed Programs: | |||
| None | |||
|-valign="top" | |||
! Installed Libraries: | |||
| libpopt.{so,a} | |||
|-valign="top" | |||
! Installed Directories: | |||
| /usr/share/doc/popt-1.10.4 | |||
|} | |||
=== Short Descriptions === | |||
{| style="text-align: left;" | |||
|-valign="top" | |||
! libpopt.{so,a} | |||
| is used to parse command-line options. | |||
|} | |||
Revision as of 16:08, 9 December 2006
| 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
Contents
| Installed Programs: | None |
|---|---|
| Installed Libraries: | libpopt.{so,a} |
| Installed Directories: | /usr/share/doc/popt-1.10.4 |
Short Descriptions
| libpopt.{so,a} | is used to parse command-line options. |
|---|