DerivCalc
From Ben's Writing
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).
- Download the latest version of
flexfrom here or here. - Using the diffs patch the files in the
flex-VERISONdirectory.- flex-skl.diff (sha1sum: 16f6b192993d74d5dccad63029483ac32411d277)
- FlexLexer-h.diff (sha1sum: ed4709e5e2bdbee103d48b5708fb1ede4d0669c8)
# 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: