• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H05-Oct-2021-5046

buildtools/H03-May-2022-253183

src/H05-Oct-2021-4,8323,844

.gitignoreH A D05-Oct-2021563 3736

.travis.ymlH A D05-Oct-2021344 3022

DoxyfileH A D05-Oct-2021105 KiB2,4741,923

LICENSEH A D05-Oct-202127.7 KiB554464

Makefile.inH A D05-Oct-2021274 1913

README.MDH A D05-Oct-20211.8 KiB6642

config.guessH A D05-Oct-202143.2 KiB1,4811,288

config.subH A D05-Oct-202135.3 KiB1,8021,661

configure.acH A D03-May-20224.3 KiB200180

install-shH A D05-Oct-20215.5 KiB252153

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