Subject: | Compile issue w/ Quota-1.7.2 on RHEL8 beta? |
Date: | Sun, 20 Jan 2019 16:06:49 -0500 |
To: | bug-Quota [...] rt.cpan.org |
From: | Michael Stauber <mstauber [...] blueonyx.it> |
Hello,
I'm currently trying to build an RPM of perl-Quota v1.7.2 on a RHEL8
beta in preparation of our release of BlueOnyx for CentOS8.
I've run into the following interesting problem during compile:
-----------------------------------------------
[...]
Warning (mostly harmless): No library found for -lrpcsvc
[...]
In file included from linuxapi.c:13:
myconfig.h:18:10: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:343: linuxapi.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from Quota.xs:11:
myconfig.h:18:10: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
-----------------------------------------------
In the past rpc/rpc.h was provided by "glibc-headers" like shown here on
CentOS 7:
[root@5209r ~]# rpm -ql glibc-headers|grep "rpc/rpc.h"
/usr/include/rpc/rpc.h
On RHEL8 that isn't the case:
[root@5210r]# rpm -ql glibc-headers|grep "rpc"
/usr/include/rpc
/usr/include/rpc/netdb.h
There isn't a glibc-compat yet, so I'm kind of puzzled how to proceed.
Any ideas?
Many thanks!
--
With best regards
Michael Stauber
http://www.blueonyx.it