libbytesize-1.4

Introduction to libbytesize

The libbytesize package is a library facilitates the common operations with sizes in bytes.

This package is known to build and work properly using an LFS-8.4 platform.

Package Information

libbytesize Dependencies

Required

PCRE-8.42

Optional

GTK-Doc-1.29, Python-2.7.15, six-1.12.0 (needed for tests and python bindings), pocketlint (python module for one test), and polib (python module for one test)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libbytesize

Installation of libbytesize

Install libbytesize by running the following commands:

./configure --prefix=/usr &&
make

If you have the optional python modules installed, the regression tests can be run with: make check. If only Python 3 is installed, one test has to be fixed with sed -i 's/python/&3/' tests/lbs_py_override_unittest.py. Another test needs to be fixed if systemd is not installed, with: sed -i '/busctl/s/=.*$/=lfs/' tests/canary_tests.sh.

Now, as the root user:

make install

Command Explanations

--without-python2: If Python 2 is installed, use this switch to prevent the use of Python 2. This may be required to run the tests, if some of the needed python modules have been installed for Python 3 only.

Contents

Installed Programs: None
Installed Library: libbytesize.so
Installed Directories: /usr/include/bytesize, /usr/share/gtk-doc/html/libbytesize, and /usr/lib/python{2.7,3.6}/site-packages/bytesize

Last updated on 2019-02-16 21:14:14 -0600