/usr/share/doc/python-bibtex/README is in python-bibtex 1.2.5-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | -*- outline -*-
This python extension contains a BibTeX parser and a simple binding to
the GNU Recode library. They are intended to be used with pybliographer.
This module requires the following libraries to be installed:
- Glib-2.x (and its development headers)
- GNU Recode 3.5 (and its development headers)
* Compilation
Run the following command:
python setup.py build
For additional options:
python setup.py build --help
* Installation
python setup.py install
For additional options:
python setup.py install --help
* Troubleshooting
Here are listed some common problems while building the python-bibtex
module.
** Glib-2.0 is not in a standard place
Ensure that the path to glib-2.0.pc from your installation is
available in the environment variable PKG_CONFIG_PATH.
** GNU Recode is not in a standard place
To build, run:
python setup.py build_ext -I /path/to/recode/include -L /path/to/recode/lib
** The installation fails with one of the following errors:
*** "the _recode module is broken."
This means that you are using an inadequate version of GNU Recode. You
need to use either Recode 3.5, or Recode 3.6 with some extra patches.
* The stock version of Recode 3.6 from any GNU mirror DOES NOT WORK. *
*** "the recode library is probably broken."
This means that GNU Recode has been compiled with a buggy version of
gcc (gcc-3.3.2 seems to trigger this problem). You can recompile
recode with the following option for configure:
CFLAGS=-g ./configure --prefix=...
|