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]> -- Андрей Рандрианасулу
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
ow. does autoreconf fixes this? https://stackoverflow.com/questions/27673292/ax-cxx-compile-stdcxx-11-macro-... 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
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
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. 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-...
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
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
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
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-...
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 >
On Saturday, April 9, 2022, Phyllis Smith <[email protected]> wrote:
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.
I checked new patch (from my memory) on Slackware and it worked. So yeah, I think this check in configure.ac is not needed anymore.
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 >> >
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.
I checked new patch (from my memory) on Slackware and it worked. So yeah, I think this check in configure.ac is not needed anymore.
Thank you -- I will check in the patch for cinelerra/Makefile soon. So this means that the following additional line in " check_cxx11_for_libdpx.diff" as shown below is not needed either? It does not seem to match anything else and I have not tested it.
@@ -1044,6 +1049,7 @@ FFMPEG_EXTRA_LDFLAGS="" if test "x$WANT_VAAPI" != "xno" -a "x$HAVE_VAAPI" = "xyes"; then FFMPEG_EXTRA_LDFLAGS+=' -lva' EXTRA_LIBS+=' -lva' *+ EXTRA_LIBS+=' `pkg-config --libs libva`'* WANT_VAAPI="yes" if test "x$HAVE_vaapi_x11" = "xyes"; then
On Saturday, April 9, 2022, Phyllis Smith <[email protected]> wrote:
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.
I checked new patch (from my memory) on Slackware and it worked. So yeah, I think this check in configure.ac is not needed anymore.
Thank you -- I will check in the patch for cinelerra/Makefile soon. So this means that the following additional line in " check_cxx11_for_libdpx.diff" as shown below is not needed either? It does not seem to match anything else and I have not tested it.
well, this is for my Slackware/i686 system where libva installed into non-standard location if you prefer you can just add this line as separare commit (even in unlikely case pkg-config returned nothing you still have original -lva.. error shows up quite lately during configuration of internal ffmpeg, if vaapi was enabled (default))
@@ -1044,6 +1049,7 @@ FFMPEG_EXTRA_LDFLAGS="" if test "x$WANT_VAAPI" != "xno" -a "x$HAVE_VAAPI" = "xyes"; then FFMPEG_EXTRA_LDFLAGS+=' -lva' EXTRA_LIBS+=' -lva' *+ EXTRA_LIBS+=' `pkg-config --libs libva`'* WANT_VAAPI="yes" if test "x$HAVE_vaapi_x11" = "xyes"; then
participants (2)
-
Andrew Randrianasulu -
Phyllis Smith