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

--with-libmongo-client option does not have auto choice. #83

Closed
mitzkia opened this issue Feb 19, 2014 · 3 comments · Fixed by #84
Closed

--with-libmongo-client option does not have auto choice. #83

mitzkia opened this issue Feb 19, 2014 · 3 comments · Fixed by #84
Assignees
Labels

Comments

@mitzkia
Copy link
Contributor

mitzkia commented Feb 19, 2014

And it's default parameter is internal(aka git submodule), which is not fortunate if you are a distro packager. (mostly you want to use the system libmongo-client library).

@bazsi
Copy link
Collaborator

bazsi commented Feb 20, 2014

Are we sure we want to accommodate distro packagers over individuals compiling syslog-ng? Wouldn't we need the same default for all submodules?

Just asking, I have no objections if you have a strong opinion here. In case you do just go ahead and merge it.

Thanks

@algernon
Copy link
Contributor

It actually helps individuals more than distro packagers (distro packagers have been using --with-libmongo-client=system since day one, pretty much), because they don't need to wonder why it's not picking up the system library. The change also makes the behaviour less confusing. And finally: promoting the use of system libraries is a Good Thing.

I do agree that we should do something similar with the other submodules too, where we can. I'll submit a separate pull request that does it for ivykis.

The third submodule we have is rabbitmq-c, where we don't support using the system library at all, so that'll remain as it is.

@bazsi
Copy link
Collaborator

bazsi commented Feb 22, 2014

Are we sure we want to accommodate distro packagers over individuals compiling syslog-ng? Wouldn't we need the same default for all submodules?

Just asking, I have no objections if you have a strong opinion here. In case you do just go ahead and merge it.

Thanks

gdani pushed a commit to gdani/syslog-ng that referenced this issue May 30, 2014
Make --with-libmongo-client support an "auto" setting, and make that the
default. This fixes syslog-ng#83.

Reported-by: Andras Mitzki <micek@balabit.hu>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants