File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ License: GPLv3
88URL: https://github.com/nmsprime/async-snmp-poller
99Source: https://raw.githubusercontent.com/nmsprime/async-snmp-poller/master/src/%{name }.c
1010
11- Requires: net-snmp-libs libpq
12- BuildRequires: gcc net-snmp-devel libpq -devel
11+ Requires: net-snmp-libs postgresql16-libs
12+ BuildRequires: gcc net-snmp-devel postgresql16 -devel
1313
1414%description
1515This asynchronous snmp poller solves the issue with Cacti when monitoring several
@@ -18,7 +18,7 @@ its monitoring data by using hundreds of concurrent php workers which handle eac
1818small batch of devices sequentially. This blocks the CPU and scales pretty poorly.
1919
2020%build
21- gcc -s -L $( pg_config --libdir) -l netsnmp -l pq -o %{name } %{_sourcedir }/%{name }.c
21+ gcc -s -I $( /usr/pgsql-16/bin/pg_config --includedir ) - L $( /usr/pgsql-16/bin/ pg_config --libdir) -l netsnmp -l pq -o %{name } %{_sourcedir }/%{name }.c
2222
2323%install
2424install -Dm755 %{name } %{buildroot }%{_bindir }/%{name }
You can’t perform that action at this time.
0 commit comments