On 06/21/2023 02:16 AM, Dominic Hopf wrote:
So I don't have any CentOS 7 system up and running somewhere. Can you check if this ominous Red Hat Developer Toolset can be found on your CentOS 7 machine and what the package name is?
If so, that still doesn't have to mean that the build servers in the Fedora infrastructure responsible for building EPEL packages have the same package available, but I can try, at least.

Regards,
Dominic

On Wed, Jun 21, 2023 at 2:57 AM H via Users <users@lists.geany.org> wrote:
On 06/20/2023 08:29 PM, Lex Trotman via Users wrote:
> On Wed, 21 Jun 2023 at 09:14, H via Users <users@lists.geany.org> wrote:
>> On 06/20/2023 04:10 AM, Lex Trotman via Users wrote:
>>> I accidently took us off list, added us back.
>>>
>>> On Mon, 19 Jun 2023 at 23:11, Dominic Hopf <dmaphy@googlemail.com> wrote:
>>>> So I did a quick try to build Geany 1.38 for EPEL7, right now the problem is that `./configure` already fails with this message:
>>>>
>>>> configure: error: *** A compiler with support for C++17 language features is required.
>>>> error: Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
>>>>     Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
>>>>
>>> Ok, thats not one that is fixable in a practical sense, Scintilla
>>> versions after the 3.x.x stable versions do require C++17, and the
>>> changes between the old version and the new versions (two major
>>> versions after all) have too many changes to be practical to support
>>> both.
>>>
>>>> I'm afraid this is not possible to build without immense effort unless anyone else has an idea?
>>>> Does one of you guys know if it's possible to install flatpaks on CentOS 7? Probably that could be an idea then?
>>>>
>>> Well, I guess Flatsnaps, dockers or other containerised mechanisms
>>> would maybe allow for a newer C++ compiler to build against a newer
>>> runtime.  Docker is used to do the Windows cross compiles and CI now.
>>> Would need to run in the container too so the newer C++ runtime
>>> library was available I guess.  But I am no container expert.
>>>
>>> Cheers
>>> Lex
>>>
>>>> Regards,
>>>> Dominic
>>>>
>>>> On Mon, Jun 19, 2023 at 12:36 PM Lex Trotman <elextr@gmail.com> wrote:
>>>>> On Mon, 19 Jun 2023 at 19:10, Dominic Hopf <dmaphy@googlemail.com> wrote:
>>>>>> No need to ask in the RedHat Bugzilla at all as I'm reading here as well. ;)
>>>>>> I remember there were issues building Geany 1.38 for CentOS 7, but I don't remember what issues that was in detail, though.
>>>>>> I'll retry as soon as I can and will let you know. Either I can tell you what the issue is or probably there will be an update.
>>>>>>
>>>>> Thank you, if its a dependency thats too olde I guess there won't be
>>>>> much we can do, but its good to know what the problem is.
>>>>>
>>>>> Cheers
>>>>> Lex
>>>>>
>>>>>> Regards,
>>>>>> Dominic
>>>>>>
>>>>>> On Mon, Jun 19, 2023 at 3:09 AM Lex Trotman via Users <users@lists.geany.org> wrote:
>>>>>>>> Lex, is there anything I can do if you want to look into this? I would love to have 1.38 - and hopefully 1.39 - available for CentOS 7.
>>>>>>> You could ask on Centos bugzilla what the problem was.
>>>>>>>
>>>>>>> I don't want to sound negative, so lets call it being pragmatic ;-P
>>>>>>>
>>>>>>> Centos 7 has one year of maintenance updates left, IIUC maintenance
>>>>>>> updates mean security and bugfixes, no new versions, so 1.38 or 1.39
>>>>>>> doesn't seem likely to happen.
>>>>>>>
>>>>>>> We try to keep Geany git working on Ubuntu LTS (that is what Github CI
>>>>>>> uses) but no guarantees on older things and without any info about
>>>>>>> what failed we can't do much.
>>>>>>>
>>>>>>> Cheers
>>>>>>> Lex
>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Users mailing list -- users@lists.geany.org
>>>>>>>> To unsubscribe send an email to users-leave@lists.geany.org
>>>>>>> _______________________________________________
>>>>>>> Users mailing list -- users@lists.geany.org
>>>>>>> To unsubscribe send an email to users-leave@lists.geany.org
>>> _______________________________________________
>>> Users mailing list -- users@lists.geany.org
>>> To unsubscribe send an email to users-leave@lists.geany.org
>> But does not Red Hat Developer Toolset 10.x support C/C++17? See https://access.redhat.com/documentation/en-us/red_hat_developer_toolset/12/html-single/user_guide/index#sect-GCC-CPP-Compatibility. Although I myself have an earlier version of the Developer Toolset installed on my own computer, it seems that the latest release, Developer Toolset 12 even supports C/C++20?
> "Red Hat Developer Toolset is a Red Hat offering for developers on the
> Red Hat Enterprise Linux platform." so is it available for Centos 7,
> and is it supported to build software for the Centos 7 repository?
>
> Cheers
> Lex
>
>> If my reading is correct, it would seem the compiler requirement can be met?
Yes, I have been using an earlier version on my CentOS 7 system. CentOS and RHEL are ABI compatible. The same repositories are used for software to be downloaded.
_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-leave@lists.geany.org

It seems Developer Toolset 7 through 11 are available freely on https://www.softwarecollections.org/en/scls/rhscl/ (I believe I have Developer Toolset 7 installed on my computer).

I have not found Developer Toolset 12 there yet but since it seems version 11 supports C/C++ 17 it ought to be sufficient.

Perhaps compiling geany could be done using docker using a CentOS 7 image?