You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile CUPS print server for the latest OpenWrt (v21)
Sources
https://github.com/TheMMcOfficial/cups-for-openwrt
Deps https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
Single package https://openwrt.org/docs/guide-developer/toolchain/single.package
http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/
https://openwrt.org/docs/guide-developer/toolchain/using_the_sdk
https://openwrt.org/ru/doc/howto/build
https://github.com/syb999/openwrt-musl-cups/tree/master/x86_64
Run on Linux machine
git clone https://github.com/lede-project/source
cdsourceecho"src-git cups https://github.com/TheMMcOfficial/lede-cups.git">> feeds.conf.default
./scripts/feeds update -a && ./scripts/feeds install -a
make menuconfig
### Set the target system to your router's "Platform" and set Network -> Printing -> cups as "M"
make tools/install && make toolchain/install
# ???# ./scripts/feeds install cups
make package/cups/compile
# make package/cups/install
find ./ -name \*ipk
Hello you are the result on google so I'm leaving this here.
For a newer version of CUPS and also the ability to use gutenprint which is needed for Canon printers (and why would you be doing this otherwise? p910nd works with other brands), use this feed.
For those of you on Turris like me, here's the INCOMPLETE walkthru cause ultimately I suck at this and gave up, but didn't want to leave what I did accomplish unshared:
git clone https://gitlab.nic.cz/turris/os/build.git
cd build
echo'src-git printing https://github.com/logicplace/openwrt-printing-packages.git'>> feeds.conf
# Open LuCI and look at your Firmware Version under System on the Dashboard. It'll say, for example, TurrisOS 6.1.0# Checkout the tag for that version
git checkout v6.1.0
# Make a build dir
mkdir build
cd build
# Prepare everything. You can check which device you have from the same System box in the Dashboard where it says Model# Mine's an Omnia so I put omnia here. If it's something else, you can check for the other target names available with:# ls ../configs
../compile_pkgs prepare -t omnia
# Everything is selected to be installed by default, but if you want to remove some feel free to:# make menuconfig# You will not need to adjust the Target/Subtarget/Target Profile
../compile_pkgs prepare_tools -t omnia
# I had to do this to get cups to compile but I did it before making my own feed, so you may or may not need some:
rm feeds/packages/libs/libcups/Makefile
make package/gnutls/compile
make package/openssl/compile
# Compile gutenprint, cups, etc
make package/cups/compile
# TODO: I gave up here, but if anyone figures it out lmk
make package/gutenprint/compile
I don't know, like my post says it's incomplete and I gave up. Do not attempt unless you're confident you can actually fix the issues and contribute the full tutorial.
@logicplace, just like you, I saved my experience and shared it with everyone who is searching for a solution.
Without any logs or error text, distro family where you're compiling this, I can't even imagine what went wrong.
thi is the lines i´m using, because I´m trying to use CUPS with gutenprint for a canon printer:
git clone https://github.com/lede-project/source
cd source
echo 'src-git printing https://github.com/logicplace/openwrt-printing-packages.git' >> feeds.conf.default
./scripts/feeds update -a && ./scripts/feeds install -a
make menuconfig
make package/cups/compile
Currently, I have an openSUSE Leap 15.4 on my laptop. So the result of the execution command make menuconfig was like this:
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... failed.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... failed.
Checking 'ncurses.h'... failed.
Checking 'git'... ok.
...
This will show you the components that your system does not have (Checking ... failed), so you need to find the package name that contains that component and install it.
Hello you are the result on google so I'm leaving this here.
For a newer version of CUPS and also the ability to use gutenprint which is needed for Canon printers (and why would you be doing this otherwise? p910nd works with other brands), use this feed.
For those of you on Turris like me, here's the INCOMPLETE walkthru cause ultimately I suck at this and gave up, but didn't want to leave what I did accomplish unshared: