Difference between revisions of "Libmatheval"

From CBLFS
Jump to navigationJump to search
(Version bump.)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|}
 
|}
  
== 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.
+
{{Package-Introduction|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.|http://www.gnu.org/software/libmatheval}}
 
 
<b>Package Homepage:</b> http://www.gnu.org/software/libmatheval
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 15: Line 13:
 
=== Required ===
 
=== Required ===
 
* [[Guile]]
 
* [[Guile]]
 +
 +
== Configuration Information ==
 +
 +
{|style="text-align: left"
 +
|-
 +
|<i>--disable-shared:</i> 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 [http://cross-lfs.org/view/1.0.0/x86_64/final-system/flex-64bit.html instructions] except change the configuration instruction to include the -fPIC flag.  For example,
 +
 +
CC="gcc ${BUILD64} <font color=red>-fPIC</font>" ./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 ==
 
== Non-Multilib ==
Line 115: Line 126:
 
|is a library of functions to parse and evaluate symbolic expressions
 
|is a library of functions to parse and evaluate symbolic expressions
 
|}
 
|}
 +
 +
[[Category:Science_Engineering]]

Latest revision as of 10:27, 18 August 2008

Download Source: http://ftp.gnu.org/gnu/libmatheval/libmatheval-1.1.4.tar.gz

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