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 < [email protected]> 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 <[email protected]> > wrote: > >> >> >> On Thursday, April 7, 2022, Phyllis Smith <[email protected]> >> 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 < >>>> [email protected]> 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 <[email protected]> >>>>> 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 < >>>>>> [email protected]> 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: *Андрей Рандрианасулу* <[email protected]> >>>>>>> Date: Tuesday, April 5, 2022 >>>>>>> Subject: libdpx c++ check >>>>>>> To: randrianasulu <[email protected]> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Андрей Рандрианасулу >>>>>>> >>>>>>> -- >>>>>>> Cin mailing list >>>>>>> [email protected] >>>>>>> https://lists.cinelerra-gg.org/mailman/listinfo/cin >>>>>>> >>>>>>
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin

