libqalculate-5.7.0

Introduction to libqalculate

The libqalculate package contains a library that provides functions for a multi-purpose calculator.

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

Package Information

libqalculate Dependencies

Required

cURL-8.15.0, ICU-77.1, and libxml2-2.14.5

Optional

Doxygen-1.14.0 and gnuplot

Installation of libqalculate

Install libqalculate by running the following commands:

./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/libqalculate-5.7.0 &&
make

To test the results, issue: make check. One set of tests, strings.batch, fails, but the log does not say why. Removing src/strings.batch allows all other tests to pass.

Now, as the root user:

make install

The libtool archive file from this package is referring to the libraries from ICU-77.1. Such a reference may cause packages depending on this package to be unnecessary linked against the ICU libraries and increase the burden to rebuild packages if ICU is updated to a new major version. As we've explained in Libtool archive (.la) files, these libtool archive files are unneeded anyway. So as the root user, remove the libtool archive file now:

rm -v /usr/lib/libqalculate.la

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: qalc
Installed Library: libqalculate.so
Installed Directories: /usr/include/libqalculate, /usr/share/doc/libqalculate-5.7.0, and /usr/share/qalculate

Short Descriptions

qalc

is a powerful and easy to use command line calculator

libqalculate.so

contains the libqalculate API functions