https://github.com/openhistogram/libcircllhist
A C implementation of OpenHistogram log-linear histograms
https://github.com/openhistogram/libcircllhist
hacktoberfest
Last synced: 6 months ago
JSON representation
A C implementation of OpenHistogram log-linear histograms
- Host: GitHub
- URL: https://github.com/openhistogram/libcircllhist
- Owner: openhistogram
- License: apache-2.0
- Created: 2016-06-28T21:30:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-09-04T12:53:02.000Z (10 months ago)
- Last Synced: 2025-11-27T17:42:06.995Z (8 months ago)
- Topics: hacktoberfest
- Language: C
- Homepage:
- Size: 462 KB
- Stars: 115
- Watchers: 14
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# libcircllhist
[](https://travis-ci.org/openhistogram/libcircllhist)
An implementation of OpenHistogram log-linear histograms.
## Requirements
* C compiler (gcc, clang, etc.)
* GNU Autoconf
* GNU Make
Additionally, to run tests and/or use the bindings:
* [LuaJIT](http://luajit.org/luajit.html)
* Python 2.7+ or 3.x (including `setuptools` and `cffi`)
## Installing
autoconf
./configure
make
make install
To install to a directory prefix other than the default `/usr/local`, use the
`--prefix=` option with configure.
## Tests
make tests
## Documentation
The circllhist API is documented in the header file [circllhist.h](src/circllhist.h).
A html version can be generated using:
make docs
This requires doxygen to be available on your system.
## Python bindings
This repository contains [Python bindings](/src/python) for libcircllhist.
Build and install the C library as described above. Then use the following
commands to install the python library.
cd src/python
python setup.py install
## Lua bindings
This repository contains [Lua bindings](/src/lua) for libcircllhist, which are
built by default and will be installed by `make install` to the directory
`(PREFIX)/share/lua/5.1/`.
## FAQ
### After the installation, libcircllhist.so can not be found by my program / the python bindings. How can I fix this?
One possible source for this problem is that libcircllhist is not installed
into a path where the linker can find it. The default prefix is `/usr/local`,
which is in the default `ld.so` search path for UNIX and most Linux
distributions. To specify an alternate library directory, use
`--libdir=` with configure. For example:
./configure --libdir=/usr/local/lib64