Skip to content

Commit

Permalink
Fix install instructions and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidvanErkelens committed Jul 23, 2019
1 parent 9358842 commit 124a298
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ To install SMART-TPL you'll need the following dependencies
* boost-regex
* openssl
* libjit
* timelib (as shared object file)

Both lemon and flex can usually be found in your distro repositories. Libjit however is often missing, you clone it from http://git.savannah.gnu.org/cgit/libjit.git/
Installing it however does require yacc (often packaged as bison), texi2html/texinfo. If libjit is in the repository of your distro you won't need these.
Although use of libjit from your distro repository is probably rather outdated so use of those is discouraged.

Timelib can be downloaded and installed from https://github.com/CopernicaMarketingSoftware/timelib, from which installing is done by `make` and `make install`.

After you have all the required dependencies a simple make and make install should be enough.
6 changes: 3 additions & 3 deletions src/builtin/parsedtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ class ParsedTime

/**
* Get the internal representation
* @return timelib_time *
* @return timelib_tzinfo *
*/
const timelib_tzinfo *internal() const { return _info; }

/**
* Cast to the internal structur
* @return timelib_tzinfo
* Cast to the internal structure
* @return timelib_tzinfo *
*/
operator const timelib_tzinfo * () const { return _info; }
};
Expand Down

0 comments on commit 124a298

Please sign in to comment.