Replies: 2 comments
-
I would recommend checking build logs of CUPS in your distro and use the configure options which Ubuntu uses. I expect there are other configuration options need to be set, or AppArmor can influence the matter. However this is what works for me in Fedora, f.e.:
so at least creating a printer works. But beware, if you want to install CUPS from source on Linux and make it completely working as it works from packaging, you have to compile and install cups-filters stack from source as well (libcupsfilters, libppd and cups-filters), otherwise CUPS will accept and send only Postscript and Raster files. |
Beta Was this translation helpful? Give feedback.
-
Its not work for ubuntu. |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm reading information in install.md and trying to build on Ubuntu 24. I've run the following commands:
./configure --prefix=/usr
make
make install
However, it doesn't work. The problem may be with the path, possibly related to libraries (lib, lib64).
If I install to a test folder and write a script with linked libraries and run cupsd with the command -F -c path/config/name.conf, I get errors when trying to add a printer, and errors with the entire system. It only works if installed from a snap. (If I install without specifying a prefix, everything will be installed locally, and I'll have two versions of CUPS: the old one and the one from the source, which won't work together.)
How can I build and install CUPS from source on Ubuntu or another Linux distribution?
Beta Was this translation helpful? Give feedback.
All reactions