%general-entities; ]> expat &expat-version;
&expat-url;
Expat-&expat-version; Expat <para>The Expat package contains a stream oriented C library for parsing XML.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&expat-ch6-sbu;</seg> <seg>&expat-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>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 Prepare Expat for compilation: ./configure --prefix=/usr \ --disable-static \ --docdir=/usr/share/doc/expat-&expat-version; Compile the package: make To test the results, issue: make check Install the package: make install If desired, install the documentation: install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version; Installation of Expat - 32-bit Clean previous build but keep precompiled doc because it cannot be rebuilt in this stage of the system: sed -e "/^am__append_1/ s/doc//" -i Makefile make clean Prepare Expat for compilation: CC="gcc -m32" ./configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --host=i686-pc-linux-gnu Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR Installation of Expat - x32-bit Clean previous build: sed -e "/^am__append_1/ s/doc//" -i Makefile make clean Prepare Expat for compilation: CC="gcc -mx32" ./configure \ --prefix=/usr \ --libdir=/usr/libx32 \ --host=x86_64-pc-linux-gnux32 Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/libx32/* /usr/libx32 rm -rf DESTDIR Contents of Expat Installed program Installed libraries Installed directory xmlwf libexpat.so /usr/share/doc/expat-&expat-version; Short Descriptions xmlwf Is a non-validating utility to check whether or not XML documents are well formed xmlwf libexpat Contains API functions for parsing XML libexpat