adlr / sane-backends

Private clone of the sane-backends project
Other
1 stars 1 forks source link

Cannot compile, #2

Open michael-ts opened 5 years ago

michael-ts commented 5 years ago

I actually am just trying to compile the scanimage front end. But I can't seem to do this without compiling the whole project, which is failing. I have run configure and make but it always dies in the scani subdirectory:

nacl_usb.cc:7:10: fatal error: ppapi/cpp/module.h: No such file or directory

include "ppapi/cpp/module.h"

      ^~~~~~~~~~~~~~~~~~~~

compilation terminated. Makefile:399: recipe for target 'nacl_usb.lo' failed

I have installed libusb-dev and even trying libsane-dev, to no effect.

I tried just compiling scanimage from the sub-directory after running configure, but it fails because there are several .la files missing (why can't I just link them to my existing installed sane libraries anyway???!!!), and when I tried to just manually compile it by itself I discovered that for some mysterious reason, practically the whole file is hidden behind #if 0 statements.

michael-ts commented 5 years ago

I have no issue compiling this version: http://www.sane-project.org/snapshots/sane-backends-1.0.27-533-g46e98476-dirty.tar.gz, so I assume this repo is just out of date?