11 Comments

  1. Ed

    Hi!

    Thx for the howto. Im running Centos 6.2 x64.
    Ive gotten AirVideoServer working as far as it can stream movies to my ipad.
    But i didnt manage to compile mpeg4ip. And yes i applied the patch mentioned above đŸ˜›
    When i ran make it stopped at
    #########
    rtphint.cpp:1288: warning: deprecated conversion from string constant to ‘char*’
    make[2]: *** [rtphint.lo] Error 1
    make[2]: Leaving directory `/usr/src/libmp4v2-1.5.0.1′
    make[1]: Leaving directory `/usr/src/libmp4v2-1.5.0.1′
    make[1]: *** [all-recursive] Error 1
    #########
    Didnt give any more particular information.

    Did u manage to compile and get mpeg4ip working?

  2. Ed

    Hi again!

    I figured it out.. Centos 6.2 come with a compiler that is to new.

    make clean

    ** Install **
    yum install gcc34
    yum install gcc++34

    ** set Environment Variables **
    # export CC=gcc34
    # export CXX=g++34

    ** Compile again **
    ./bootstrap -–disable-mp4live -–disable-player
    make
    make install

    Conversion with mp4creator now works đŸ™‚

  3. Gilbo

    Hi Ed,

    Thanks for the compiler tip. I was having massive issues getting it compiled until I saw your post.

    Couple of things I discovered, though. If you’re using the native base repo version of nasm (2.07 at this time) then you may need to edit the configure file, search for the first line containing BINSNASM and change the flag from -r to -v. I got a looping error without this change.

    Also, in my CentOS 6.2 those older compiler packages are called compat-gcc-34 and compat-gcc-34-c++.

    Thanks!

  4. simon

    Cool – good to know. I haven’t done this on CentOS 6 yet, but this will help when I do.

Leave a Reply