Libmatheval
Download Source: | http://ftp.gnu.org/gnu/libmatheval/libmatheval-1.1.4.tar.gz |
---|
Contents
Introduction to Libmatheval
GNU libmatheval is a C and Fortran callable library to parse and evaluate symbolic expressions input as text. In addition to parsing and evaluation, libmatheval can also compute symbolic derivatives and output expressions to strings.
Project Homepage: http://www.gnu.org/software/libmatheval
Dependencies
Required
Configuration Information
--disable-shared: do not build the shared libmatheval library. |
Libmatheval will complain about libfl, the Flex library, not being built with -fPIC if attempting to build the shared library. Rebuild Flex in accordance with the CLFS instructions except change the configuration instruction to include the -fPIC flag. For example,
CC="gcc ${BUILD64} -fPIC" ./configure --prefix=/usr --libdir=/usr/lib64
The shared libmatheval library will build against libfl after this and the --disable-shared may be removed from the following instructions.
Non-Multilib
Compile the package:
./configure --prefix=/usr --disable-shared && make
Install the package:
make install
Install the documentation if desired:
make pdf && make html && install -v -m755 -d /usr/share/doc/libmatheval/html && cp -v doc/libmatheval.pdf /usr/share/doc/libmatheval cp -v doc/libmatheval.html/*.html /usr/share/doc/libmatheval/html
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --disable-shared && make
Install the package:
make install
Install the documentation if desired:
make pdf && make html && install -v -m755 -d /usr/share/doc/libmatheval/html && cp -v doc/libmatheval.pdf /usr/share/doc/libmatheval cp -v doc/libmatheval.html/*.html /usr/share/doc/libmatheval/html
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 --disable-shared && make
Install the package:
make install
Install the documentation if desired:
make pdf && make html && install -v -m755 -d /usr/share/doc/libmatheval/html && cp -v doc/libmatheval.pdf /usr/share/doc/libmatheval cp -v doc/libmatheval.html/*.html /usr/share/doc/libmatheval/html
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 --disable-shared && make
Install the package:
make install
Install the documentation if desired:
make pdf && make html && install -v -m755 -d /usr/share/doc/libmatheval/html && cp -v doc/libmatheval.pdf /usr/share/doc/libmatheval cp -v doc/libmatheval.html/*.html /usr/share/doc/libmatheval/html
Contents
Installed Directories: | None |
---|---|
Installed Programs: | None |
Installed Libraries: | libmatheval.la, libmatheval.a |
Short Descriptions
libmatheval | is a library of functions to parse and evaluate symbolic expressions |
---|