Hi to the list,
Just FYI, it might be interesting for the project…..
Today, just for testing, I've installed an Oracle Linux 10 x86_64 from scratch, followed by the repo's updates and the known prerequisites to install Xymon.
Then I've cloned the Xymon 4.3.30 github from
https://github.com/xymon-monitoring/xymon (hope it's the right one....)
Running configure
did throw me that error as first:
Checking for PCRE ...
test-pcre.c:1:10: fatal error: pcre.h: No such file or directory
1 | #include <pcre.h>
| ^~~~~~~~
compilation terminated.
make: *** [Makefile.test-pcre:4: test-compile] Error 1
ERROR: Cannot compile using PCRE library.
/usr/bin/ld: cannot find test-pcre.o: No such file or directory
/usr/bin/ld: cannot find -lpcre: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile.test-pcre:7: test-link] Error 1
ERROR: Cannot link with PCRE library.
Missing PCRE include- or library-files. These are REQUIRED for xymond
PCRE can be found at
http://www.pcre.org/
If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib DIR"
options to configure to specify where they are.
Google’ing around, I found this site:
https://dl.marmotte.net/rpms/redhat/el10/x86_64/pcre-8.45-1.el10.8/
From there, I've downloaded:
pcre-8.45-1.el10.8.src.rpm
pcre-8.45-1.el10.8.x86_64.rpm
pcre-cpp-8.45-1.el10.8.x86_64.rpm
pcre-cpp-debuginfo-8.45-1.el10.8.x86_64.rpm
pcre-debuginfo-8.45-1.el10.8.x86_64.rpm
pcre-debugsource-8.45-1.el10.8.x86_64.rpm
pcre-devel-8.45-1.el10.8.x86_64.rpm
pcre-doc-8.45-1.el10.8.noarch.rpm
pcre-static-8.45-1.el10.8.x86_64.rpm
pcre-tools-8.45-1.el10.8.x86_64.rpm
pcre-tools-debuginfo-8.45-1.el10.8.x86_64.rpm
pcre-utf16-8.45-1.el10.8.x86_64.rpm
pcre-utf16-debuginfo-8.45-1.el10.8.x86_64.rpm
pcre-utf32-8.45-1.el10.8.x86_64.rpm
pcre-utf32-debuginfo-8.45-1.el10.8.x86_64.rpm
…and installed:
rpm -i pcre-8.45-1.el10.8.x86_64.rpm \
pcre-devel-8.45-1.el10.8.x86_64.rpm \
pcre-utf16-8.45-1.el10.8.x86_64.rpm \
pcre-utf32-8.45-1.el10.8.x86_64.rpm \
pcre-cpp-8.45-1.el10.8.x86_64.rpm \
pcre-tools-8.45-1.el10.8.x86_64.rpm
After this, with the next
configure, the next error came to me:
Checking for RRDtool ...
Found RRDtool < 1.9.0 via pkg-config
Not RRDtool 1.0.x, checking for 1.2.x
test-rrd.c: In function ‘main’:
test-rrd.c:32:36: error: passing argument 2 of ‘rrd_graph’ from incompatible pointer type [-Wincompatible-pointer-types]
32 | result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax);
| ^~~~~~~
| |
| char **
In file included from test-rrd.c:3:
/usr/include/rrd.h:185:5: note: expected ‘const char **’ but argument is of type ‘char **’
185 | const char **,
| ^~~~~~~~~~~~~
make: *** [Makefile.test-rrd:4: test-compile] Error 1
ERROR: Cannot compile with RRDtool.
ERROR: Linking with RRDtool fails
RRDtool include- or library-files not found.
These are REQUIRED for trend-graph support in Xymon, but Xymon can
be built without them (e.g. for a network-probe only installation.
RRDtool can be found at
http://oss.oetiker.ch/rrdtool/
If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR"
options to configure to specify where they are.
Continuing with all trend-graph support DISABLED
Now I’m stuck at this stage.
But this is just to let you guys know what happened to me on Oracle Linux 10.
Regards
Christian