Re: [gtk-osx-users] Question about CUPS module




On Jan 12, 2017, at 12:34 PM, G 3 <programmingkidx gmail com> wrote:

While running '~/.local/bin/jhbuild build meta-gtk-osx-bootstrap meta-gtk-osx-core', I noticed several 
permission errors while the CUPS module was building. Here they are:

install: chmod 755 /System/Library/LaunchDaemons: Operation not permitted
Installing LaunchDaemons configuration files...
install: /System/Library/LaunchDaemons/org.cups.cupsd.plist: Permission denied
install: /System/Library/LaunchDaemons/org.cups.cups-lpd.plist: Permission denied
install: chmod 755 /System/Library/StartupItems/PrintingServices: Operation not permitted
install: /System/Library/StartupItems/PrintingServices/PrintingServices: Permission denied
install: /System/Library/StartupItems/PrintingServices/StartupParameters.plist: Permission denied
W: Ignoring uninstalled package: cups

Since Mac OS X already comes with CUPS, how do I disable this 
module?_______________________________________________

The way you disable any other module: Add it to the skip list in your ~/.jhbuildrc-custom.

However, you don't want to do that because the version of CUPS supplied with Tiger is too old to work with 
several Gnome libraries.

The permission errors can be fixed by adding the following to ~/.jhbuildrc-custom:
module.append_autogenargs("cups", "--without-php --with-rcdir=${prefix}/libexec --with-cupsgroup=foo"), where 
foo is whatever group your regular userid is in (use the command `groups` to find out).

jhbuild will duly crash when it finishes installing due to a misfeature where it tries to tell `make install` 
to install to a hidden directory and then when that finishes copies the hidden directory to $PREFIX. Two 
packages, cups and openssl, ignore the instruction to make install, so jhbuild crashes when it finishes. You 
can patch Source/jhbuild/jhbiuild/modules/autogen.py to not do that (comment out lines 312-314) or you can 
just let it crash and restart jhbuild with --start-at=libpng and keep going.

Regards,
John Ralls




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]