[Snort-users] Make error compiling Snort on Fedora 28 - rpc/rpc.h

ROBERTS Paul * DAS Paul.ROBERTS at oregon.gov
Thu Sep 27 17:37:18 EDT 2018

I guess should have been more specific.  So, I need to compile Snort on Fedora release 28.  All packages updated as of 09/27.  Still failing.

'./configure' has no warnings or errors.

'make' runs for a bit and ends with the fatal error:  sp_rpc_check.c:32:10 fatal error: rpc/rpc.h: No such file or directory #include <rpc/rpc.h>

I do see the referenced header here: usr/include/tirpc/rpc/rpc.h

I assume maybe just a path issue?  I tried (probably incorrectly) to include the path of the header with some command line options but nothing worked.  Any ideas how to get 'make' to recognize that rpc.h is actually there?  Or could some package be missing even though the header appears to be present?


-----Original Message-----
From: Russ [mailto:rucombs at cisco.com] 
Sent: Sunday, September 23, 2018 11:49 PM
To: ROBERTS Paul * DAS <Paul.ROBERTS at oregon.gov>; snort-users at lists.snort.org
Subject: Re: [Snort-users] Make error compiling Snort on Fedora 28 - rpc/rpc.h

FYI - tirpc is working with Snort 3.

On 9/19/18 8:20 PM, ROBERTS Paul * DAS wrote:
> Hi,
> I can't get Snort to compile on Fedora 28.  Configure runs without error.  Make fails.
> The error: fatal error: rpc/rpc.h: No such file or directory 
> Compilation terminated
> I finally determined that installing package libtirpc-devel would give 
> me the rpc.h file.  It now appears in the path: 
> /usr/include/tirpc/rpc/rpc.h
> I've tried to include that path in various ways in 'configure' and 'make' but I just can't get past the error.
> Does anyone know what's up?  I could only dig up about three Internet posts for this error and none helped me get by this 'make' failure.
> Thanks.
> _______________________________________________
> Snort-users mailing list
> Snort-users at lists.snort.org
> Go to this URL to change user options or unsubscribe:
> https://lists.snort.org/mailman/listinfo/snort-users
> 	To unsubscribe, send an email to:
> 	snort-users-leave at lists.snort.org
> Please visit http://blog.snort.org to stay current on all the latest Snort news!
> Please follow these rules: 
> https://snort.org/faq/what-is-the-mailing-list-etiquette

More information about the Snort-users mailing list