ffmpeg.wasm icon indicating copy to clipboard operation
ffmpeg.wasm copied to clipboard

Build my own FFmpeg failure

Open stephenkingsley opened this issue 3 years ago • 3 comments

Describe the bug Build my own FFmpeg failure. Below here is the error message

 failed: [Errno 2] No such file or directory: './configure'
emconfigure: error: './configure --prefix=/Users/stephen.kingsley/Documents/code/test/ffmpeg.wasm-core/build --host=i686-gnu --enable-static --disable-cli --disable-asm "--extra-cflags=-O3 -I/Users/stephen.kingsley/Documents/code/test/ffmpeg.wasm-core/build/include -s USE_PTHREADS=1"' failed: [Errno 2] No such file or directory: './configure'

To Reproduce Steps to reproduce the behavior:

  1. $ git clone https://github.com/ffmpegwasm/ffmpeg.wasm-core
  2. $ git submodule update --init --recursive
  3. $ bash build-with-docker.sh

Screenshots 20211022165347

Desktop (please complete the following information):

  • OS: M1 mbp

stephenkingsley avatar Oct 22 '21 08:10 stephenkingsley

Check whether there is an empty directory under your third_party directory

tianji2018 avatar Jan 17 '22 08:01 tianji2018

I tried compiling in WSL2 on windows 10 and faced same issue. In my case the problem was that git was changing LF to CRLF line ending which made configure script work abnormally. Try disabling autocrlf with git config --global core.autocrlf input and clone this repo again.

Quasar-Kim avatar Jun 14 '22 18:06 Quasar-Kim

Same here, With W11/docker-WSL2 I need download the repo with the option --config core.autocrlf=input as suggested here

Adding *.sh text eol=lf to .gitattributes could solve the issue

erikyo avatar Sep 04 '22 13:09 erikyo