alfalfa icon indicating copy to clipboard operation
alfalfa copied to clipboard

Error When running ./configure

Open cucNaifuXue opened this issue 5 years ago • 1 comments

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 :

  1. How do I solve this problem ?
  2. I see codes like " PKG_CHECK_MODULES (X264 , x264 ) " in configuration file , should I check that I've installed those packages ?

Thank a lot!

cucNaifuXue avatar Oct 25 '20 03:10 cucNaifuXue

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.

FredricLau avatar Apr 04 '23 04:04 FredricLau