Now that HarfBuzz-12.1.0 has been installed, it is time to recompile this package again. This is the second pass.
Reuse the directory you built the first pass from, or else you will have to prepare the source tree for compilation again as showed in FreeType-2.14.1 - Pass 1.
Clean the directory:
make distclean
Install FreeType2 by running the following commands:
./configure --prefix=/usr \ --enable-freetype-config \ --disable-static && make
Now, as the root
user:
make install
Install lib32-FreeType2 by running the following commands:
make distclean && CC="gcc -m32" CXX="g++ -m32" \ PKG_CONFIG_PATH=/usr/lib32/pkgconfig \ ./configure --prefix=/usr \ --libdir=/usr/lib32 \ --host=i686-pc-linux-gnu \ --enable-freetype-config \ --disable-static && make
Now, as the root
user:
make DESTDIR=$PWD/DESTDIR install && cp -vr DESTDIR/usr/lib32/* /usr/lib32 && rm -rf DESTDIR && ldconfig
Run ./configure --help for a full list of options.
--enable-freetype-config
:
This switch ensure that the man page for freetype-config is
installed.
--without-harfbuzz
: If harfbuzz is
installed prior to freetype without freetype support, use this
switch to avoid a build failure.
--disable-static
: This
switch prevents installation of static versions of the libraries.