rpc/rpc.h missing - building dovecot for RHEL 8.1

Latest response

I am attempting to build the dovecot package from the source code provided for RHEL 8.1. All of the dependencies have been met for the build. While compiling I get the following error. I have queried yum to see what provided /usr/include/rpc/rpc.h and it didn't return any package. From my google searches other seem to have similar issues.

Does anyone know what RHEL package has rpc/rpc.h?

rquota_xdr.c:2:10: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
^~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:763: rquota_xdr.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from quota-fs.c:28:
rquota.h:9:10: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
^~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:763: quota-fs.lo] Error 1
make[4]: Leaving directory '/home/mikel/rpmbuild/BUILD/dovecot-2.2.36/src/plugins/quota'
make[3]: *** [Makefile:472: all-recursive] Error 1
make[3]: Leaving directory '/home/mikel/rpmbuild/BUILD/dovecot-2.2.36/src/plugins'
make[2]: *** [Makefile:497: all-recursive] Error 1
make[2]: Leaving directory '/home/mikel/rpmbuild/BUILD/dovecot-2.2.36/src'
make[1]: *** [Makefile:621: all-recursive] Error 1
make[1]: Leaving directory '/home/mikel/rpmbuild/BUILD/dovecot-2.2.36'
make: *** [Makefile:465: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.IwV7of (%build)

Responses