|
|
Cygwin
How to build pdf2djvu on Cygwin
See also: WindowsGUI
Prerequisites
Via Cygwin's setup.exe, install the following packages:
- gcc-g++,
- libfontconfig-devel,
- libfreetype2-devel,
- libjpeg-devel,
- make.
DjVuLibre
Build and install a recent (> 3.5.20-5) version of DjVuLibre :
./configure make make install
poppler
Build and install poppler [1]:
./configure --enable-xpdf-headers make make install
[1] See BuildDepends for list of co-operative poppler versions.
pstreams
Install pstreams:
install -m644 pstream.h /usr/local/include/pstreams/
pdf2djvu
Finally, build a recent (≥ 0.4.6) version of pdf2djvu:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make LDLIBS="-lfreetype -lfontconfig -ljpeg"
Sign in to add a comment
