[Cin] libdpx c++ check

Phyllis Smith phylsmith2017 at gmail.com
Sat Apr 9 01:18:52 CEST 2022


I booted ubuntu 16 and it has gcc 5.4.  This patch worked just fine.

Please let me know if check_cxx11_for_libdpx.diff is no longer needed ???
and if I should check in the above.

On Thu, Apr 7, 2022 at 12:56 PM Andrew Randrianasulu <
randrianasulu at gmail.com> wrote:

> try this on machine with gcc 5.5 or earlier g++ compiler? (note there is
> typo in patch filename - must be libdpx)
>
> On Thursday, April 7, 2022, Andrew Randrianasulu <randrianasulu at gmail.com>
> wrote:
>
>>
>>
>> On Thursday, April 7, 2022, Phyllis Smith <phylsmith2017 at gmail.com>
>> wrote:
>>
>>>
>>> That is a better solution so I will wait to see what you come up with.
>>> The first patch, which had problems, would cause problems for many more
>>> people and we really, really want as many people to be able to build
>>> themselves without having to add new requirements that might not even work
>>> for older systems like ubuntu 16.
>>>
>>
>> I think we can add this specific m4 macro from autoconf archive to our
>> own m4 directory in source tree, but I'll test both ideas. New compiler
>> defaults to new c++ mode anyway, but I guess old ones  also migh have some
>> bugs in c++ support, so changing compilation mode for whole program sounds
>> more dangerous than just for one file.
>>
>>>
>>> also, while watching paint dry.. err, watching cin compile on emulated
>>>> powerpc I noticed we already override cxx standard for fileexr (look for
>>>> c++11 in cinelerra/Makefile) so hopefully same can be done for filedpx
>>>>
>>>>
>>>>
>>>> On Tuesday, April 5, 2022, Andrew Randrianasulu <
>>>> randrianasulu at gmail.com> wrote:
>>>>
>>>>> ow.
>>>>>
>>>>> does autoreconf fixes this?
>>>>>
>>>>>
>>>>> https://stackoverflow.com/questions/27673292/ax-cxx-compile-stdcxx-11-macro-not-found
>>>>>
>>>>> autoreconf --install --force
>>>>>
>>>>> if not - look for aditional autoconf-archive package? (not sure about
>>>>> fedora's packaging)
>>>>>
>>>>> On Tuesday, April 5, 2022, Phyllis Smith <phylsmith2017 at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> When applied, this patch immediately stops the build on Fedora 32
>>>>>> with the following error:
>>>>>> checking whether we are using the GNU C++ compiler... yes
>>>>>> checking whether g++ accepts -g... yes
>>>>>> checking dependency style of g++... none
>>>>>> ./configure: line 4828: syntax error near unexpected token `11,'
>>>>>> ./configure: line 4828: `AX_CXX_COMPILE_STDCXX(11, noext, optional)'
>>>>>> make: *** No targets specified and no makefile found.  Stop.
>>>>>> mv: cannot stat 'Makefile': No such file or directory
>>>>>>
>>>>>> On Tue, Apr 5, 2022 at 2:14 AM Andrew Randrianasulu via Cin <
>>>>>> cin at lists.cinelerra-gg.org> wrote:
>>>>>>
>>>>>>> also add pkg-config based check for libva's location
>>>>>>>
>>>>>>> alsoI think my patches for aborting compile if withzmpeg = no and
>>>>>>> v4l2/dvb = yes need  || test case for xauto...
>>>>>>>
>>>>>>> ---------- Forwarded message ----------
>>>>>>> From: *Андрей Рандрианасулу* <randrik at mail.ru>
>>>>>>> Date: Tuesday, April 5, 2022
>>>>>>> Subject: libdpx c++ check
>>>>>>> To: randrianasulu <randrianasulu at gmail.com>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Андрей  Рандрианасулу
>>>>>>>
>>>>>>> --
>>>>>>> Cin mailing list
>>>>>>> Cin at lists.cinelerra-gg.org
>>>>>>> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>>>>>>
>>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220408/445f0fe0/attachment.htm>


More information about the Cin mailing list