DerivCalc

From Ben's Writing

Jump to: navigation, search

Download

Current derivcalc-2.0.tar.gz (sha1sum: c6800d4733bad6beb02c25b56d3dd4403a2fd610)

Installation

To extract use the following:

# zcat DerivCalc-VERSION.tar.gz  | tar xvf -

or some other equivalent. Then, to build the project, simply run:

# cd DerivCalc-VERSION
# ./configure
# make -j

This will configure and build DerivCalc. Finally, like many GNU projects, you can install the software locally, using the following:

# make install

Patching flex

Unfortunately, the latest copy of flex does not yet support the latest C++ standard. As such, part of the DerivCalc update includes a patch to the latest flex release (as of this writing it is 2.5.4a).

  1. Download the latest version of flex from here or here.
  2. Using the diffs patch the files in the flex-VERISON directory.
# cd flex-VERISON
# patch flex.skl flex-skl.diff
# patch FlexLexer.h FlexLexer-h.diff

Alternatively, if you trust that I have not modified flex beyond the above criteria, then you can download my copy:

flex-2.5.4.tar.gz (sha1sum: 842c0ab57ec8dc044d0d8871b8481c756010bc8a)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox