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
cannot build rpm on OpenSUSE #1915
Comments
Try with the patch referenced above. |
Hi Daniel @miconda diff --git a/src/modules/db_postgres/Makefile b/src/modules/db_postgres/Makefile
index 2663ee751..eff11fd3a 100644
--- a/src/modules/db_postgres/Makefile
+++ b/src/modules/db_postgres/Makefile
@@ -14,7 +14,7 @@ LIBPQL_BUILDER = $(shell \
if pkg-config --exists libpq; then \
echo 'pkg-config libpq'; \
fi)
-ifneq ($(LIBPQ_BUILDER),)
+ifeq ($(LIBPQ_BUILDER),)
DEFS += $(shell $(LIBPQL_BUILDER) --cflags)
LIBS += $(shell $(LIBPQL_BUILDER) --libs)
endif |
Why did you have to change ifneq in ifeq? The purpose there was to use pkg-config if found, so that variable is not empty. |
Noticed that I had some variables there with LIBPQ_BUILDER and some with LIBPQL_BUILDER. I just pushed a commit to fix them. Can you try again with latest master? |
yes,that is working. |
Relevant commit is 49a34c8 |
Backported. |
I see backport for |
Just noted that the cherry-pick failed, I will backport manually later today. |
- GH kamailio#1915 (cherry picked from commit b23e8e4)
Description
Cannot build postgres module on openSUSE Tumbleweed
Troubleshooting
Reproduction
Package kamailio on openSUSE Tumbleweed.
Debugging Data
N/A
Log Messages
SIP Traffic
N/A
Possible Solutions
Add ability to use pkgconfig file from Makefile
Additional Information
Current master
The text was updated successfully, but these errors were encountered: