How to compile in fedora 4

crotalus
2006-01-06
2013-04-24
  • crotalus
    crotalus
    2006-01-06

    There are 3 problems:

    First change the name of directory
      xvidcap-1.1.3-p7 to xvidcap-1.1.3p7
      to be easier to generate an rpm later:

      tar -zxvf xvidcap-1.1.3-p7.tar.gz
      mv xvidcap-1.1.3-p7 xvidcap-1.1.3p7
      tar -zcvf xvidcap-1.1.3p7.tar.gz
                ./xvidcap-1.1.3p7

    Second copy common.h to ffmpeg:
      cd xvidcap-1.1.3p7/ffmpeg/libavcodec
      cp common.h ..

    Third, use "CC" and NOT "cc" for compiling ffmeg:
      cd ffmpeg
      in file "configure" change:
      echo "CC=$cc" >> config.mak
                TO
      echo "CC=$CC" >> config.mak

    Then use:
      setenv CC gcc32
      or configure passing CC=gcc32

      configure --with-forced-embedded-ffmpeg \      --enable-static-libs=avcodec \      --with-gtk2 CC=gcc32
      make
      make install

    That should do the job!! Sound and video working
    as they should.

    PS: I made an spec file if anyone is interested.

    /Paulo Roma.

     
    • If you check out ffmpeg as of April 24 2005, then you can use standard tools on Fedora core 4 (updated as of Jan 30 2006).
      steps:
      Go into the xvid directory xvidcap-1.1.4pre2.
      To check out ffmpeg use,
      cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co "-D" "24 Apr 2005" ffmpeg

      to configure ffmpeg,
      ./configure  --disable-ffserver   --disable-ffplay  --enable-mp3lame
      and then build using
      make
      then save the exiting ffmpeg headers and libraries ( if you have a newer version installed) and copy the libraries/headers from this build.
      Now you can configure xvid using
      ./configure --with-gtk2 --with-forced-embedded-ffmpeg
      and the build using
      make gvidcap
      it will be placed in src directory.