Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 17 of 17
  1. #16
    Registered User
    Join Date
    Jun 2009
    Posts
    1

    Default

    okay everyone.. I am new to this, so please bear with me.

    I have a script called phpfox and I need to install ffmpeg, mplayer, ,etc...

    and I guess I need to install subversion to make this work.

    The install directions I have are this:

    Following are the steps to install FFmpeg + FFmpeg-PHP + Mplayer + Mencoder + flv2tool + LAME MP3 Encoder + Libog on a Linux server or VPS Hosting Manually. There are many automated scripts available which install these but its better to do it manually as in case of an error occuring during the installation process, we can stop the installation and fix them. These steps also include the common fixes for such errors.

    Quote:
    cd /usr/local/src/

    DOWNLOAD MODULES

    wget www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
    wget rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
    wget easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
    wget superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.1.tbz2
    wget downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
    wget downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz

    EXTRACT MODULES

    tar zxvf lame-3.97.tar.gz
    tar zxvf libogg-1.1.3.tar.gz
    tar zxvf libvorbis-1.1.2.tar.gz
    tar zxvf flvtool2_1.0.5_rc6.tgz
    tar jxvf essential-20061022.tar.bz2
    tar jxvf ffmpeg-php-0.5.1.tbz2

    mkdir /usr/local/lib/codecs/

    yum install gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran subversion ruby ncurses-devel -y

    DOWNLOAD FFMPEG and MPLAYER

    svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
    svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
    cd /usr/local/src/mplayer

    svn update

    cd /usr/local/src/
    mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/
    chmod -R 755 /usr/local/lib/codecs/

    LAME:

    cd /usr/local/src/lame-3.97
    ./configure
    make && make install

    LIBOGG

    cd /usr/local/src/
    cd /usr/local/src/libogg-1.1.3
    ./configure --enable-shared && make && make install
    PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
    export PKG_CONFIG_PATH

    LIBVORBIS

    cd /usr/local/src/
    cd /usr/local/src/libvorbis-1.1.2
    ./configure && make && make install

    FLVTOOL2

    cd /usr/local/src/
    cd /usr/local/src/flvtool2_1.0.5_rc6/
    ruby setup.rb config
    ruby setup.rb setup
    ruby setup.rb install

    MPLAYER

    cd /usr/local/src/
    cd /usr/local/src/mplayer
    ./configure && make && make install

    cd /usr/local/src/

    FFMPEG:

    cd /usr/local/src/ffmpeg/
    ./configure --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared
    make
    make install

    export LD_LIBRARY_PATH=/usr/local/lib/

    ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
    ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
    ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
    ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
    ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51

    FFMPEG-PHP:

    cd /usr/local/src/
    cd /usr/local/src/ffmpeg-php-0.5.1/
    phpize
    ./configure
    make
    make install


    NOTICE: Make sure this is the correct php.ini for the box!!

    echo 'extension=ffmpeg.so' >> /usr/local/Zend/etc/php.ini

    NOTICE: Make sure this is the correct php.ini for the box!!

    RESTART APACHE

    service httpd restart

    **********************************************************

    Now when I try to install subversion (yum install subversion) I get this error:

    root@deezal [~]# yum install subversion
    Loading "fastestmirror" plugin
    Loading mirror speeds from cached hostfile
    * base: pubmirrors.reflected.net
    * updates: mirror.skiplink.com
    * addons: chi-10g-1-mirror.fastsoft.net
    * extras: mirror.raystedman.net
    base 100% |=========================| 1.1 kB 00:00
    updates 100% |=========================| 951 B 00:00
    addons 100% |=========================| 951 B 00:00
    extras 100% |=========================| 1.1 kB 00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Parsing package install arguments
    Resolving Dependencies
    --> Running transaction check
    ---> Package subversion.i386 0:1.4.2-4.el5 set to be updated
    --> Processing Dependency: libneon.so.25 for package: subversion
    --> Processing Dependency: perl(URI) >= 1.17 for package: subversion
    --> Processing Dependency: neon >= 0.25.5-6.el5 for package: subversion
    --> Running transaction check
    ---> Package neon.i386 0:0.25.5-10.el5 set to be updated
    ---> Package subversion.i386 0:1.4.2-4.el5 set to be updated
    --> Processing Dependency: perl(URI) >= 1.17 for package: subversion
    --> Finished Dependency Resolution
    Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion

    *********************************************************

    So what do I ned to do first, then what?

    Please help, I can not find what I need to do, and want to be sure I am doing this correct, since I am learning..

    Thanks in advance,

    vonneffdobermans

  2. #17
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    779

    Default

    Hmmm.... I am receiving the following from the 1.6.6 install:

    configure: WARNING: we have configured without BDB filesystem support


    You don't seem to have Berkeley DB version 4.0.14 or newer
    installed and linked to APR-UTIL. We have created Makefiles which
    will build without the Berkeley DB back-end; your repositories will
    use FSFS as the default back-end. You can find the latest version of
    Berkeley DB here:
    Oracle Berkeley DB Downloads

    I've installed it anyhow but it appears it may not be linked to APR-UTIL. What a headache.


    Even using:

    ./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache/bin/apr-1-config --with-apr-util=/home/cpeasyapache/src/httpd-2.2.14/srclib/apr-util --with-ssl --without-berkeley-db


    results in the same error.

    Tried installing apr-util perl module via WHM and received a flood of:

    [ error] Can't find dir ''
    Please provide the location of the Apache directory:
    [ error] Can't find dir ''
    Please provide the location of the Apache directory:
    [ error] Can't find dir ''

    installed via [/usr/src/apr-util-1.3.9]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/

    and then received:
    checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.

    wth?

    Tried via RPM then in WHM.
    apr-util.x86_64

    Package apr-util-1.2.7-7.el5_3.2.x86_64 already installed and latest version
    Nothing to do
    Install Complete

    lol what?!


    **** Just a heads up.. looks like you can ignore the error and continue with the install anyhow. ****
    Last edited by Solokron; 11-02-2009 at 08:41 PM.
    ULTRA Website Hosting - 8 Years Hosting
    Shared | Reseller | Dedicated | Colocation

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 11-13-2011, 07:08 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube