Page 1 of 1

Printing on Rpi4 with a Brother

Posted: Sun Dec 15, 2019 7:13 pm
by TheRoark
First, I am running Manjaro -- not Arch -- on my Rpi4. I hope that folks aren't quite as strict about that on this forum. Especially since my question is about installing packages.

That said, I'm trying to get a Brother HL-2140 to print from my Rpi4 and having a hell of a time.

There is this github repository for brother laser printer drivers https://github.com/pdewacht/brlaser. I tried to compile the package on my Rpi4, after installing the

Code: Select all

libcups
package, which appears to have the same contents as the debian -dev packages (see https://www.archlinux.org/packages/extr ... 4/libcups/).

But I'm getting this error regrading the CUPS development packages at the

Code: Select all

cmake
stage.

Code: Select all

CMake Error at CMakeLists.txt:94 (message):
  <cups/raster.h> header not found.  Are the CUPS development packages
  installed?
Help?

Re: Printing on Rpi4 with a Brother

Posted: Sun Dec 15, 2019 7:18 pm
by fruitoftheloom
TheRoark wrote:
Sun Dec 15, 2019 7:13 pm
First, I am running Manjaro -- not Arch -- on my Rpi4. I hope that folks aren't quite as strict about that on this forum. Especially since my question is about installing packages.

That said, I'm trying to get a Brother HL-2140 to print from my Rpi4 and having a hell of a time.

There is this github repository for brother laser printer drivers https://github.com/pdewacht/brlaser. I tried to compile the package on my Rpi4, after installing the

Code: Select all

libcups
package, which appears to have the same contents as the debian -dev packages (see here).

But I'm getting this error at the

Code: Select all

cmake
stage.

Code: Select all

CMake Error at CMakeLists.txt:94 (message):
  <cups/raster.h> header not found.  Are the CUPS development packages
  installed?
Help?

https://superuser.com/questions/1485925 ... rm-and-ras

Re: Printing on Rpi4 with a Brother

Posted: Sun Dec 15, 2019 8:03 pm
by TheRoark
Appreciate the help . . . but the issue is that I get the error noted in my OP at the cmake . stage (about half way down the list of the instructions on the link you provided). Specifically:

Code: Select all

-- Looking for C++ include cups/raster.h
-- Looking for C++ include cups/raster.h - not found
CMake Error at CMakeLists.txt:94 (message):
  <cups/raster.h> header not found.  Are the CUPS development packages
  installed?


-- Configuring incomplete, errors occurred!
See also "/home/user/Downloads/brlaser/CMakeFiles/CMakeOutput.log".
See also "/home/user/Downloads/brlaser/CMakeFiles/CMakeError.log".