< Previous | Contents | Next >
6.38.1. Installation of Expat
First fix a problem with the regression tests in the LFS environment:
sed -i 's|usr/bin/env |bin/|' run.sh.in
sed -i 's|usr/bin/env |bin/|' run.sh.in
Prepare Expat for compilation:
./configure --prefix=/usr
./configure --prefix=/usr
--disable-static
--docdir=/usr/share/doc/expat-2.2.7
--disable-static
--docdir=/usr/share/doc/expat-2.2.7
Compile the package:
make
make
To test the results, issue:
make check
make check
Install the package:
make install
make install
If desired, install the documentation:
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.2.7
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.2.7