On Wed, 25 Dec 2024 22:34:45 +0100 Alexander Strasser via ffmpeg-user <ffmpeg-user@ffmpeg.org> wrote:
> On 2024-12-25 22:40 +0900, kozaick via ffmpeg-user wrote: > > On Wed, 25 Dec 2024 21:07:44 +0900 > > Masaru Nomiya <nom...@lake.dti.ne.jp> wrote: > > > [...] > > > [kozaick] == kozaick via ffmpeg-user <ffmpeg-user@ffmpeg.org> has written: > > > > > > kozaick> Hello. > > > kozaick> I am trying to compile ffmpeg with libass included for windows > > > in ubuntu container (docker). > > > kozaick> But I get an error when running the configure file. > > > kozaick> To check, I placed the following command in the > > > test_pkg_config() method of the configure file. > > > kozaick> --- > > > kozaick> echo “Checking package: $pkg_version” > > > kozaick> pkg-config --exists --print-errors $pkg_version > > > kozaick> echo “pkg-config exit code: $?” > > > kozaick> --- > > > kozaick> And display like this. > > > kozaick> --- > > > kozaick> Checking package: libass >= 0.11.0 > > > kozaick> pkg-config exit code: 0 > > > kozaick> ERROR: libass >= 0.11.0 not found using pkg-config > > > [...] > > > > > > This says that libass.pc cannot be found. Your compilation method > > > should have created libass.pc, but since /usr/local/lib/pkgconfig is > > > missing, it is probably not installed. > > > > > > How about this? > > > > > > 1. $ sudo mkdir /usr/local/lib/pkgconfig > > > > > > 2. $ sudo cp somewhere/libass.pc /usr/local/lib/pkgconfig > > > > > > Best Reagrs & お休みなさい. > > > > > > --- > > > ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp > > > ┃\/彡 > > > ┗━━┛ "Reading widely about things that don't seem immediately or > > > practically useful, in the hope that what you learn now may prove > > > meaningful later―that's pretty much the definition of a liberal- > > > arts education. Who knew that one of its best defenders would > > > turn > > > out to be a computer scientist?" > > > > > > -- "What Does It Really Mean to Learn?" THE NEW > > > YORKER -- > > > _______________________________________________ > > > ffmpeg-user mailing list > > > ffmpeg-user@ffmpeg.org > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > To unsubscribe, visit link above, or email > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > Thank you for quick reply. > > > > First, I forgot to mention that I have set the following my environment > > variables, > > PKG_CONFIG_LIBDIR="/usr/local/x86_64-w64-mingw32/lib/pkgconfig:$PKG_CONFIG_LIBDIR” > > PKG_CONFIG_PATH="/usr/local/x86_64-w64-mingw32/lib/pkgconfig:$PKG_CONFIG_PATH” > > The setting you mentioned to put the .pc file in /usr/local/lib/pkgconfig > > does not work in my environment when I do this, and pkg-config returns 1. > > I think the error is probably related to the configure file itself.? > > > > Second, I forgot to attach the config.log file, Sorry. > > So, I attached this. > > Thanks for let me know. > > > > Finally, My container envrioment is ubuntu 24.04 x86_64, ffmpeg release 7.1 > > from github, gcc 13, g++-mingw-w64-x86-64. > > > > ありがとう & お休みなさい. > > I think this your problem at hand: > > WARNING: x86_64-w64-mingw32-pkg-config not found, library detection may > fail. > > You should also see it somewhere in the output, but I took this line > from your `config.log`. > > It means ffmpeg cannot run the pkg-config executable it expects to and > instead uses `false` which will always give a negative (non-zero) exit > status. > > > Best regards, > Alexander > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". Thank you very much for your reply. It seems I was right on that your point. I made the change using --pkg-config and ffmpeg was recognized. I am so embarrassed... Thank you all very much. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".