TheRoark
Posts: 15
Joined: Sun Feb 11, 2018 4:17 pm

Printing on Rpi4 with a Brother

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 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?
Last edited by TheRoark on Sun Dec 15, 2019 8:06 pm, edited 2 times in total.

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Printing on Rpi4 with a Brother

Sun Dec 15, 2019 7:18 pm

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
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

TheRoark
Posts: 15
Joined: Sun Feb 11, 2018 4:17 pm

Re: Printing on Rpi4 with a Brother

Sun Dec 15, 2019 8:03 pm

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".

Return to “Arch”