You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks so much for uploading this script. I managed to get a static version of ffmpeg built in a FreeNAS jail.
I ran into an error when building pkg-config, unfortunately I didn't save the full log, but the specific line was:
error: m4_copy: won't overwrite defined macro: glib_DEFUN
I worked around the error by applying this patch before running autogen.sh for pkg-config. Sorry it's not a pull request, as I'm not sure if others had this error or not, and I ended up building ffmpeg with libass support - I understand this script wasn't aiming for libass support.
diff --git a/glib/m4macros/glib-gettext.m4 b/glib/m4macros/glib-gettext.m4
index 5217fd8..9f39b5f 100644
--- a/glib/m4macros/glib-gettext.m4
+++ b/glib/m4macros/glib-gettext.m4
@@ -36,8 +36,8 @@ dnl We go to great lengths to make sure that aclocal won't
dnl try to pull in the installed version of these macros
dnl when running aclocal in the glib directory.
dnl
-m4_copy([AC_DEFUN],[glib_DEFUN])
-m4_copy([AC_REQUIRE],[glib_REQUIRE])
+m4_copy_force([AC_DEFUN],[glib_DEFUN])
+m4_copy_force([AC_REQUIRE],[glib_REQUIRE])
dnl
dnl At the end, if we're not within glib, we'll define the public
dnl definitions in terms of our private definitions.
Hope it helps.
The text was updated successfully, but these errors were encountered:
Thanks so much for uploading this script. I managed to get a static version of ffmpeg built in a FreeNAS jail.
I ran into an error when building pkg-config, unfortunately I didn't save the full log, but the specific line was:
error: m4_copy: won't overwrite defined macro: glib_DEFUN
I worked around the error by applying this patch before running autogen.sh for pkg-config. Sorry it's not a pull request, as I'm not sure if others had this error or not, and I ended up building ffmpeg with libass support - I understand this script wasn't aiming for libass support.
Hope it helps.
The text was updated successfully, but these errors were encountered: