From charlesreid1

(Created page with "GiNaC, which stands for ''Ginac is Not a Computer algebra system'', is a C++ package which provides a set of objects to perform symbolic mathematical operations. You can think o...")
 
Line 21: Line 21:
The <code>PKG_CONFIG</code> and <code>PKG_CONFIG_PATH</code> environmental variables are required as a part of the <code>pkg-config</code> utility required to install Ginac.
The <code>PKG_CONFIG</code> and <code>PKG_CONFIG_PATH</code> environmental variables are required as a part of the <code>pkg-config</code> utility required to install Ginac.


== Build ==
The build process is the usual, with some additional steps/targets:
<syntaxhighlight lang="bash">
$ ./configure  # <-- or, your configure wrapper script
$ make
$ make install
$ make check  # <-- confirm that Ginac was built correctly
$ make html  # <-- make html documentation
$ make dvi    # <-- make dvi documentation
$ make ps    # <-- make postscript documentation
$ make pdf    # <-- make PDF documentation
</syntaxhighlight>


= References =
= References =

Revision as of 20:36, 6 October 2010

GiNaC, which stands for Ginac is Not a Computer algebra system, is a C++ package which provides a set of objects to perform symbolic mathematical operations. You can think of it as a C++ core that can be used by

Installation

Dependencies

In order to install Ginac, the pkg-config utility is required. It is available from http://pkg-config.freedesktop.org/ . In addition, Doxygen, while not required, can be used to generate the reference manual yourself.

Configure

You can build Ginac using the following configure line:

export PKG_CONFIG=/sw/bin/pkg-config
export PKG_CONFIG_PATH=:/Users/charles/pkg/cln-1.3.1/lib/pkgconfig:/sw/lib/pkgconfig:/usr/local/lib/pkgconfig

./configure \
    --prefix=/path/to/ginac

The PKG_CONFIG and PKG_CONFIG_PATH environmental variables are required as a part of the pkg-config utility required to install Ginac.

Build

The build process is the usual, with some additional steps/targets:

$ ./configure  # <-- or, your configure wrapper script
$ make
$ make install

$ make check  # <-- confirm that Ginac was built correctly

$ make html   # <-- make html documentation
$ make dvi    # <-- make dvi documentation
$ make ps     # <-- make postscript documentation
$ make pdf    # <-- make PDF documentation

References

Ginac main page - http://www.ginac.de/