Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic disabling by configure for Avahi and DBus on OS X requested #4698

Closed
michaelrsweet opened this issue Aug 26, 2015 · 8 comments
Closed
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 2.1rc1
CUPS.org User: pipitas

Just so you know: the auto-disabling of avahi does not seem to work.

  1. I'm on current Git (most recent commit was
    dd3fdd2, which post-dates commit
    7470f0c that supposedly fixed the avahi issue).
  2. I did run "make clean" and the "./configure" step WITHOUT the "--disable-avahi"
    param.
  3. "make" errored out, again mentioning avahi.

After I included "--disable-avahi" in the configure step a new error message
appeared, mentioning "dbus".

After I included "--disable-dbus" the build process completed.

So it looks like an automatic disabling of dbus support on OS X is also required
and/or (as long as it is not implemented) an appropriate note in the INSTALL.txt
should be made.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Please attach the config.log file (when run without the --disable-xxx options) and the output from the configure script.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: pipitas

Files are attached tarball.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Did you remember to run "autoconf" to re-build the configure script?

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: pipitas

Yes, I did. Just to be sure I did run autoconf again now, and also cleaned everything before re-building.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Most people won't have DBUS or Avahi headers/libraries on their OS X system - I certainly don't - and so this configuration does not get any testing.

When I do a clean build (autoconf -f; ./configure) I no longer see Avahi being tested at all. Can you try running "autoconf" with the "-f" (force) option, in case its built-in dependency checking isn't picking up on the changes to config-scripts/cups-dnssd.m4?

I've checked in a change to disable DBUS on OS X as well. Try with "autoconf -f" once the config-scripts/cups-common.m4 change gets pushed...

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Ping

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: pipitas

Avahi came with MacPorts (I think as a dependency of some KDE application I tested).

Sorry, I can't test at this time -- have to wait till my MacBook is back from repair.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

OK, ping me if you still experience issues after you get your MacBook back and I can re-open this bug...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant