Topic: Did you stop development of this?

Removing old source
Initialized empty Git repository in /usr/src/ffmpegscript/ffmpeg/.git/
ERROR: libx264 not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
Makefile:2: config.mak: No such file or directory
Makefile:43: /common.mak: No such file or directory
Makefile:80: /libavutil/Makefile: No such file or directory
Makefile:146: /doc/Makefile: No such file or directory
Makefile:147: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Makefile:2: config.mak: No such file or directory
Makefile:43: /common.mak: No such file or directory
Makefile:80: /libavutil/Makefile: No such file or directory
Makefile:146: /doc/Makefile: No such file or directory
Makefile:147: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Makefile:2: config.mak: No such file or directory
Makefile:43: /common.mak: No such file or directory
Makefile:80: /libavutil/Makefile: No such file or directory
Makefile:146: /doc/Makefile: No such file or directory
Makefile:147: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
cp: cannot stat `tools/qt-faststart': No such file or directory
ffmpeg.sh: line 55: /usr/bin/ffmpeg: No such file or directory
Installation of FFMPEG ....... Completed


   FFMPEG installation Failed sad , please visit the forum

Re: Did you stop development of this?

Well,

Please note , this is a free script and opensource script . we won't force any one to use it.  You can see the reason for the failure  from the  above log itself ,
----------
ERROR: libx264 not found
--------

This script download and install a lot of packages from different vendors and  those developers change the packages as they wish , so sometimes you need to check those packages and make the changes in the installer script

We provide commercial support for the installation if you need . It is like you are against all free software scripts that is bad.

Syslint Technologies | 24x7 Server Management | Outsourced Support | Software Development - (0091) 471-3273-211

Re: Did you stop development of this?

FFMPEG wouldn't be failing if x264 was installed.

x264 is not installing...I've identified the error, but unable to correct it as of yet.

Easy fix probably be is to remove x264 from installing it, unless you need it then we have to find a fix.

cd ffmpeginstaller.7.0/
nano ffmpeg.sh
ctrl+w

Search: --enable-libx264

Remove that line.

ctrl+x and then 'y' for yes to save.

sh ffmpeg.sh

If Success:

sh mplayer.sh
sh mp4box.sh
sh post.sh

--

After doing some searching, I found something with a -DPREFIX could be causing an issue in yasm, but after looking at the shell scripts, didn't find that in there so that can't be it.

Another cause I've read could be an outdated libc, but this is a newly fresh install with everything updated, so I don't know.

Here's the error on install of x264, does it on git and source.

root@server [/usr/src/ffmpegscript/x264]# make -j4
gcc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o libx264.a  -lm -lpthread -Wl,-Bsymbolic
libx264.a(cpu.o): In function `x264_cpu_num_processors':
cpu.c:(.text+0x31): undefined reference to `CPU_COUNT'
collect2: ld returned 1 exit status
make: *** [x264] Error 1

Pastie: http://pastie.org/pastes/2286157/text

Hope this can be resolved.

Issue does it on a VPS, I've tested on and a dedicated box within the same time and now someone else appears to be having this issue, so I don't know what's causing it, use to work flawlessly, might not be necessarily your script, probably something outdated causing it not to compile.

After Searching with yum: glibc-utils was not installed, installed, but ended up still failing...so I don't know, hopefully this information can help find a fix.

4 (edited by Cory 2011-07-29 07:27:18)

Re: Did you stop development of this?

Ok, I found a working fix.

cd /usr/src/ffmpeginstaller.7.0/
rm -rf x264.sh
wget http://pastie.org/pastes/2288403/download
mv download x264.sh
mv pastie-2288403.sh x264.sh
chmod +x x264.sh
./install

Basically, Goes into your source directory, If it's different from above then just go to the directory with ffmpeginstaller.7.0/ which has all the shell scripts.

Removes the original x264.sh has the git clone has some kind of bug or something on our servers is preventing us from compiling it.

I went back to a snapshot as far as April and it was successful, but that's version 114 and 115 is required with FFMPEG, so I'm using the June 1st snapshot and works successfully.

The above downloads a new x264.sh, renames it (pastie downloads the file as download) to x264.sh and sets the proper permissions and then you can start the install all over again, hopefully this time without any issues as of right now, my install just completed with any issues.

If you don't want to download that file you can edit the file manually.

Open: x264.sh

nano x264.sh

ctrl+w

Search: git clone git://git.videolan.org/x264.git

Add: # before git, like so.

#git clone git://git.videolan.org/x264.git

After, git clone git://git.videolan.org/x264.git - put a space

#git clone git://git.videolan.org/x264.git

Now add these lines of code:

wget ftp://ftp.videolan.org/pub/videolan/x26 … le.tar.bz2
tar xvjf x264-snapshot-20110601-2245-stable.tar.bz2
mv x264-snapshot-20110601-2245-stable x264

ctrl+x (save) and then 'y' for yes.

Now do;

./install

or remove the file yourself, create a new x264.sh, copy and paste this code:

#!/bin/bash
#FFMPEG installation script

#  Copyright (C) 2007-2010 Sherin.co.in. All rights reserved.
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
RED='\033[01;31m'
RESET='\033[0m'
INSTALL_SDIR='/usr/src/ffmpegscript'
SOURCE_URL='http://mirror.ffmpeginstaller.com/source/x264'
INSTALL_DDIR='/usr/local/cpffmpeg'
export cpu=`cat "/proc/cpuinfo" | grep "processor"|wc -l`
export TMPDIR=$HOME/tmp
_package='x264'
clear
sleep 2
echo -e $RED"Installation of $_package ....... started"$RESET
ldconfig
cd $INSTALL_SDIR
echo "Removing old source"
   rm -vrf $INSTALL_SDIR/x264-snapshot*
        #git clone git://git.videolan.org/x264.git
        wget ftp://ftp.videolan.org/pub/videolan/x26 … le.tar.bz2
        tar xvjf x264-snapshot-20110601-2245-stable.tar.bz2
        mv x264-snapshot-20110601-2245-stable x264       
        cd x264/
        ./configure  --prefix=$INSTALL_DDIR --enable-shared --disable-asm
        make -j$cpu
        make install

echo -e $RED"Installation of $_package ....... Completed"$RESET
sleep 2

chmod +x x264.sh and then run ./install

Hope this helps.