[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation failures on RHEL 8

From: Michael Watters
Subject: Re: Compilation failures on RHEL 8
Date: Fri, 21 Jun 2019 13:25:38 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

After enabling the Codeready repo and installing the texinfo package I
was able to build the cvs SRPM from Fedora 30.

On 6/21/19 2:10 AM, Petr Pisar wrote:
> On Thu, Jun 20, 2019 at 03:28:45PM -0400, Michael Watters wrote:
>> I am attempting to build cvs on a server running RHEL 8 however there
>> are errors causing the build to fail as follows.
>> gcc -DHAVE_CONFIG_H -I. -I.. -I../src     -g -O2 -MT getline.o -MD -MP -MF 
>> .deps/getline.Tpo -c -o getline.o getline.c
>> In file included from getline.c:25:
>> getline.h:15:3: error: conflicting types for ‘getline’
>>    getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
>>    ^~~~~~~
> You need this
> <https://src.fedoraproject.org/rpms/cvs/raw/master/f/cvs-1.11.23-getline64.patch>
> patch.
> Maybe you could try building Fedora RPM package
> <https://src.fedoraproject.org/rpms/cvs/> on the RHEL 8. Your chances would be
> higher since the two distributions are very similar.
> -- Petr

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]