Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 05-Oct-2021 | - | 50 | 46 | |
buildtools/ | H | 03-May-2022 | - | 253 | 183 | |
src/ | H | 05-Oct-2021 | - | 4,832 | 3,844 | |
.gitignore | H A D | 05-Oct-2021 | 563 | 37 | 36 | |
.travis.yml | H A D | 05-Oct-2021 | 344 | 30 | 22 | |
Doxyfile | H A D | 05-Oct-2021 | 105 KiB | 2,474 | 1,923 | |
LICENSE | H A D | 05-Oct-2021 | 27.7 KiB | 554 | 464 | |
Makefile.in | H A D | 05-Oct-2021 | 274 | 19 | 13 | |
README.MD | H A D | 05-Oct-2021 | 1.8 KiB | 66 | 42 | |
config.guess | H A D | 05-Oct-2021 | 43.2 KiB | 1,481 | 1,288 | |
config.sub | H A D | 05-Oct-2021 | 35.3 KiB | 1,802 | 1,661 | |
configure.ac | H A D | 03-May-2022 | 4.3 KiB | 200 | 180 | |
install-sh | H A D | 05-Oct-2021 | 5.5 KiB | 252 | 153 |
README.MD
1# libcircllhist 2 3[![Build Status](https://travis-ci.org/openhistogram/libcircllhist.svg?branch=master)](https://travis-ci.org/openhistogram/libcircllhist) 4 5An implementation of OpenHistogram log-linear histograms. 6 7## Requirements 8 9* C compiler (gcc, clang, etc.) 10* GNU Autoconf 11* GNU Make 12 13Additionally, to run tests and/or use the bindings: 14* [LuaJIT](http://luajit.org/luajit.html) 15* Python 2.7+ or 3.x (including `setuptools` and `cffi`) 16 17## Installing 18 19 autoconf 20 ./configure 21 make 22 make install 23 24To install to a directory prefix other than the default `/usr/local`, use the 25`--prefix=<path>` option with configure. 26 27## Tests 28 29 make tests 30 31## Documentation 32 33The circllhist API is documented in the header file [circllhist.h](src/circllhist.h). 34A html version can be generated using: 35 36 make docs 37 38This requires doxygen to be available on your system. 39 40## Python bindings 41 42This repository contains [Python bindings](/src/python) for libcircllhist. 43Build and install the C library as described above. Then use the following 44commands to install the python library. 45 46 cd src/python 47 python setup.py install 48 49## Lua bindings 50 51This repository contains [Lua bindings](/src/lua) for libcircllhist, which are 52built by default and will be installed by `make install` to the directory 53`(PREFIX)/share/lua/5.1/`. 54 55## FAQ 56 57### After the installation, libcircllhist.so can not be found by my program / the python bindings. How can I fix this? 58 59One possible source for this problem is that libcircllhist is not installed 60into a path where the linker can find it. The default prefix is `/usr/local`, 61which is in the default `ld.so` search path for UNIX and most Linux 62distributions. To specify an alternate library directory, use 63`--libdir=<path>` with configure. For example: 64 65 ./configure --libdir=/usr/local/lib64 66