Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

#1310 closed Bug (fixed)

Compilation problem under Fedora 28

Reported by: Pavel Demin Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

The RPC and XDR code is removed from the glibc library provided by Fedora 28:

https://fedoraproject.org/wiki/Changes/SunRPCRemoval

As a consequence, the compilation of DelphesPileUpReader, DelphesPileUpWriter and DelphesSDTEHPReader doesn't work under Fedora 28:

https://circleci.com/gh/delphes/delphes/61

The error message is the following:

In file included from classes/DelphesPileUpWriter.cc:28:
./classes/DelphesPileUpWriter.h:31:10: fatal error: rpc/types.h: No such file or directory
 #include <rpc/types.h>

I think that this can be fixed by adding the XDR code to the external libraries bundled with Delphes.

Change History (3)

comment:1 by Pavel Demin, 7 years ago

Description: modified (diff)

comment:2 by Pavel Demin, 7 years ago

I've added DelphesXDRReader and DelphesXDRWriter and updated DelphesPileUpReader, DelphesPileUpWriter and DelphesSDTEHPReader:
171693349ed45060a9eafc5e891b5beaaf35c1e1/git

Now, the compilation of DelphesPileUpReader, DelphesPileUpWriter and DelphesSDTEHPReader works under Fedora 28:
https://circleci.com/gh/delphes/delphes/74

comment:3 by Pavel Demin, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.