ffmpeg-android
ffmpeg-android copied to clipboard
./libpng_build.sh: line 5: pushd: libpng-1.6.21: No such file or directory
Error compiling project due to the missing directory libpng-1.6.2.1 .
./libpng_build.sh: line 5: pushd: libpng-1.6.21: No such file or directory make: *** No rule to make target 'clean'. Stop. ./libpng_build.sh: line 17: ./configure: No such file or directory
The reason is the file libpng-1.6.21.tar.xz gives an error when downloading from ftp server because it doesn't exists (when running the command ./init_update_libs.sh)
Output from ftp server: ftp> pwd Remote directory: /pub/libpng/png/src/libpng16 ftp> ls -laht 229 Entering Extended Passive Mode (|||58906|) 150 Opening ASCII mode data connection for file list drwxr-sr-x 2 ftp ftp 12 Sep 1 03:45 . -rw-r--r-- 1 ftp ftp 819 Sep 1 03:45 lpng1625.7z.asc -rw-r--r-- 1 ftp ftp 819 Sep 1 03:45 libpng-1.6.25.tar.xz.asc -rw-r--r-- 1 ftp ftp 819 Sep 1 03:45 lpng1625.zip.asc -rw-r--r-- 1 ftp ftp 819 Sep 1 03:45 libpng-1.6.25.tar.gz.asc -rw-r--r-- 1 ftp ftp 4.8k Sep 1 03:41 libpng-1.6.25-LICENSE.txt -rw-r--r-- 1 ftp ftp 1.2k Sep 1 03:41 libpng-1.6.25-README.txt -rw-r--r-- 1 ftp ftp 1.4M Sep 1 03:41 libpng-1.6.25.tar.gz -rw-r--r-- 1 ftp ftp 724.4k Sep 1 03:41 lpng1625.7z -rw-r--r-- 1 ftp ftp 1.2M Sep 1 03:41 lpng1625.zip -rw-r--r-- 1 ftp ftp 959.2k Sep 1 03:41 libpng-1.6.25.tar.xz drwxrwsr-x 11 ftp ftp 13 Nov 25 2015 .. 226 Transfer complete ftp>
By the way, I solved by downloading the file from: wget -c http://downloads.sourceforge.net/libpng/libpng-1.6.21.tar.xz
Duplicate of this: https://github.com/WritingMinds/ffmpeg-android/issues/42 you can find the solution there