jwilk-archive/pdf2djvu

Binaries or compilation instructions for MacOS

aourednik opened this issue · 2 comments

This seems to be the only project still actively promoting the use of DJVU.
It would be very helpful to have basic compilation instructions.
How can I bring your tool to work on MacOS Monterey? I do have XCode and Homebrew installed.
Running the following commands:

cd path/to/unzipped/folder/from/this/repositoriy/pdf2djvu-master
make

Only returns an error:

Makefile:15: autoconf.mk: No such file or directory
make: *** No rule to make target `autoconf.mk'.  Stop.
jwilk commented

I do have XCode and Homebrew installed.

brew install pdf2djvu should just work (see #147).

Yep this worked, thanks!
I met one problem with the hombrew installation, though: the brew link cannot be created:

brew link pdf2djvu
Error: Could not symlink share/man/de/man1/pdf2djvu.1
/usr/local/share/man/de/man1 is not writable.

Solved like this:

sudo chown -R $USER /usr/local/share/man/de/man1

Then the command works:

pdf2djvu -o MyFile.djvu MyFile.pdf