libtasn1 is a highly portable C library that encodes and decodes DER/BER data following an ASN.1 schema.
Development versions of GLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.19.0.tar.gz
Install libtasn1 by running the following commands:
./configure --prefix=/usr --disable-static && make
To test the results, issue: make check.
Now, as the root
user:
make install
If you did not pass the --enable-gtk-doc
parameter to the configure script, you can install
the API documentation using the following command as the
root
user:
make -C doc/reference install-data-local
--disable-static
: This
switch prevents installation of static versions of the libraries.
--enable-gtk-doc
: This parameter is
normally used if GTK-Doc is
installed and you wish to rebuild and install the API
documentation. It is broken for this package due to the use of a
long deprecated gtk-doc program that is no longer available.
Clean the directory by running the following command:
make distclean
Install lib32-libtasn1 by running the following commands:
CC="gcc -m32" CXX="g++ -m32" \ PKG_CONFIG_PATH=/usr/lib32/pkgconfig \ ./configure --prefix=/usr \ --libdir=/usr/lib32 \ --host=i686-pc-linux-gnu \ --disable-static && make
Now as the root
user:
make DESTDIR=$PWD/DESTDIR install cp -vr DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR ldconfig