Changes between Version 183 and Version 184 of CompilationGuide/Ubuntu


Ignore:
Timestamp:
Sep 9, 2022, 10:47:06 AM (4 years ago)
Author:
David von Oheimb
Comment:

Add hints on config.log and misleading configure error messages

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Ubuntu

    v183 v184  
    373373}}}
    374374
     375{{{
     376#!div style="border: 1px solid #c7e5c7; margin: 1em; background-color: #ddffdd;"
     377'''Tip:''' The `configure` error message ''XYZ not found using pkg-config'' is often misleading, namely when the library was found but,for instance, test compilation went wrong.[[BR]]
     378In case of trouble with `configure`, it may be helpful have a look at the log file it produces: `ffbuild/config.log` which contains a lot of detail.
     379}}}
     380
     381
    375382Due to an unresolved x265 bug/feature with threads library (see https://bitbucket.org/multicoreware/x265_git/issues/371/x265-not-found-using-pkg-config) sometimes it's needed to add
    376383{{{
    377384--extra-libs="-lpthread"
    378385}}}
    379 switch to ''configure'' script. Otherwise ''ERROR: x265 not found using pkg-config'' might pop out.
     386switch to the `configure` script, as suggested above. Otherwise ''ERROR: x265 not found using pkg-config'' might pop out.
    380387
    381388Now re-login or run the following command for your current shell session to recognize the new `ffmpeg` location: