Error When running ./configure
Hello author , thanks for your contribution ! I'm interesting about this project , trying to compile your code on my Ubuntu 18.04LTS . I make sure I've installed required packages as directions show . But when I running . /configure , It shows :
./configure: line 16515: syntax error near unexpected token X264,'
./configure: line 16515: PKG_CHECK_MODULES(X264, x264)'
My questions are as follows :
- How do I solve this problem ?
- I see codes like " PKG_CHECK_MODULES (X264 , x264 ) " in configuration file , should I check that I've installed those packages ?
Thank a lot!
My reply may have come too late for the issue opener, but I hope the answer can be helpful for future reference.
The information @AaronXueNF provided in this issue is somewhat limited, which makes it difficult to determine the specific problem. From what I can gather, the issue may be caused by the absence of pkg-config, or it may be installed in a location that autoreconf cannot find, in which case, you need to specify the installation path.
Once you have confirmed the above step, you may use the pkg-config command to verify whether the library can be located.
Hope this advice proves useful.