With Fedora 28, rpc.h has been removed from glibc.
https://fedoraproject.org/wiki/Changes/SunRPCRemoval
It looks like you will have to install libtirpc-devel.x86_64 and
change the source code to look for tirpc/rpc/rpc.h instead of
rpc/rpc.h or add the -I/usr/include/tirpc compile line.
--Bob Soliday
On 05/14/2018 07:01 AM, Giacomo S. wrote:
Hello everyone.
I have downloaded synApps with
git clone https://github.com/EPICS-synApps/support.git
then executed
./support/assemble_synApps.sh
that cloned everything.
Then, following the instructions in
https://github.com/EPICS-synApps/support#download-the-synapps-modules
and
https://github.com/EPICS-synApps/support/blob/master/README
I edited the configure/RELEASE
and then I ran make
At one point I get this error:
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX
-Dlinux -O3 -g -Wall -mtune=generic -m64 -fPIC -I.
-I../O.Common -I. -I. -I../../asyn/drvAsynSerial/os/Linux
-I../../asyn/drvAsynSerial/os/default -I.. -I../../asyn/asynDriver
-I../../asyn/asynGpib -I../../asyn/drvAsynSerial
-I../../asyn/interfaces -I../../asyn/miscellaneous
-I../../asyn/asynPortDriver/exceptions -I../../asyn/asynPortDriver
-I../../asyn/asynPortClient -I../../asyn/devEpics
-I../../asyn/asynRecord -I../../asyn/vxi11 -I../../asyn/gsIP488
-I../../asyn/ni1014 -I../../asyn/devGpib -I../../include/compiler/gcc
-I../../include/os/Linux -I../../include
-I/home/giacomo/devel/epics/synApps/support/ipac-2-15/include
-I/home/giacomo/devel/epics/synApps/support/seq-2-2-5/include
-I/home/giacomo/devel/epics/base-3.16.1/include/compiler/gcc
-I/home/giacomo/devel/epics/base-3.16.1/include/os/Linux
-I/home/giacomo/devel/epics/base-3.16.1/include -c
vxi11core_xdr.c
In file included from vxi11core_xdr.c:6:0:
vxi11core.h:9:21: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
^
compilation terminated.
make[3]: ***
[/home/giacomo/devel/epics/base-3.16.1/configure/RULES_BUILD:231:
vxi11core_xdr.o] Error 1
make[3]: Leaving directory
'/archivi/devel/epics/synApps/support/asyn-R4-33/asyn/O.linux-x86_64'
make[2]: ***
[/home/giacomo/devel/epics/base-3.16.1/configure/RULES_ARCHS:58:
install.linux-x86_64] Error 2
make[2]: Leaving directory
'/archivi/devel/epics/synApps/support/asyn-R4-33/asyn'
make[1]: ***
[/home/giacomo/devel/epics/base-3.16.1/configure/RULES_DIRS:84:
asyn.install] Error 2
make[1]: Leaving directory
'/archivi/devel/epics/synApps/support/asyn-R4-33'
make: ***
[/home/giacomo/devel/epics/base-3.16.1/configure/RULES_DIRS:84:
/home/giacomo/devel/epics/synApps/support/asyn-R4-33.install] Error 2
I wonder which "rpc" package is expected.
I have currently installed
net-libs/libtirpc
i.e. the "transport independent RPC library (SunRPC replacement)
THanks for any advice to help me install synApps
Giacomo