On Sat, Mar 24, 2018 at 9:17 AM, Amarjeet Singh <[email protected]> wrote:
> Nick, > > I tried taking the fresh code from GIT and got the following error :- > > > ./configure: line 13570: syntax error near unexpected token `AVCODEC,' > ./configure: line 13570: ` PKG_CHECK_MODULES(AVCODEC, libavcodec,, > have_libavcodec=no);' > > > Make sure you're checking out the code into a clean working directory, not into the same one you're already using for something else. If this continues to happen on the same system then something is probably wrong with the build environment on the system. Make sure that the autoreconf -fi command is succeeding and not throwing errors anywhere along the way - my experience with the error you're seeing there is that one of the development packages (maybe m4 or libtool/libtoolize) is missing and you should see something in one of the earlier commands that indicates a problem. -Nick
