[Solved] ./configure error: pr command not found

1.2.Installing coreutils

Please check whether there is pr.exe under ${mingwdir}/msys/1.0/bin (the default is C:/MinGW/msys/1.0/bin). If not, an error will be reported when executing./configure during libav compilation: PR command not found

Download coreutils-win32-5.3.0-bin.zip, unzip and copy the contents in the bin directory to ${mingwdir}/msys/1.0/bin (the default is C:/MinGW/msys/1.0/bin)

Attached download address: http://gnuwin32.sourceforge.net/packages/coreutils.htm

1.3.Install yasm.exe

Yasm.exe is required to compile libav. If there is no yasm.exe in your system, an error will be reported when you execute./configure: yasm not found . Download the windows 32-bit version of yasm.exe (if using a 64 bit system, download the 64 bit yasm.exe)

After downloading, rename yasm.exe and copy it to ${mingwdir}/msys/1.0/bin (the default is C:/MinGW/msys/1.0/bin)

So far, the compilation environment has been built

 

Similar Posts: