Sunday, November 1, 2009

Pain Deep Inside Upper Arm

How to compile on Debian and Ubuntu Aegisub

Nothing is certain in this life, and that I learned in my experience as a Linux user. The same thing happened with "The Blog of Light ~, which for lack of money, had to close its doors, leaving users of Ubuntu Aegisub and adrift. Fortunately Google's cache might help a little, and then I could rescue the build instructions for Aegisub, so I've made some changes and decided to make them available to the public.



pre-compilation instructions:
If you use Debian, I recommend adding Debian repositories Multimedia

. If you use Ubuntu, the packages we have in the repositories will be sufficient. In this case our friends debianeros take more advantage. If you can upgrade your version Debian testing / unstable, the better. Let's get the latest tarball from the following address:
http://www.mahou.org/ ~ see / Aegisub /
's install ffmpeg with
  1. sudo apt-get install ffmpeg
  2. launch it from a terminal.
  3. There
    ffmpeg we can see the version of libavcodec, libavformat, libavutil libswscale and we have installed. That information will need to make our hacks.
     Aegisub Unpack the tarball and open the configure file with any text editor (nano, gedit, kate, kwrite, mousepad). 
    Locate the following line:
  4. $ as_echo_n "checking for libavcodec ... "> &6;}
     
  5. check the version of libavcodec we have. If we have libavcodec version is less than that shows the file set, change that version of the file in all lines. The same will be for libavformat, libswscale and libavutil. That's my "hack" so to speak that allows Aegisub can be compiled with older units Ubuntu, but with some benefits less. If you use Debian testing repositories with Debian Multimedia, no need to do this "hack."
  6. Locate the following line:
  7. LUA_LDFLAGS = "-llua"
     
    and substitute this:
  8. LUA_LDFLAGS = "-llua5.1"
  9. Build Instructions:
     
    's install the necessary dependencies:
     sudo apt-get install build-essential intltool libtool libglib2.0-dev imagemagick gawk libwxbase2.8 libwxgtk2.8-dev-dev libavcodec-dev libpostproc-dev libavformat-dev-dev libswscale liblua5.1 freeglut3-dev-0-dev-dev libopenal portaudio19-dev libfreetype6-dev libfontconfig1-dev libhunspell-dev dh-make 
  10. Let
liblua5 symlinks. 1 so that Ubuntu will recognize:
    sudo ln-s / usr/include/lua5.1 / {lauxlib.h, luaconf.h, lua.h, lua.hpp, lualib.h} / usr / include /
  1. Now enter
     
    Aegisub directory and configure the following:

  2. . / configure - without-provider-ffmpegsource - with-provider-ffmpeg - with-player-audio = OpenAL
     If your distro has the latest FFMPEG packages, can be compiled with support for FFMpegSource. For more information I recommend looking at the help file "configure". 
  3. If all is well, we can compile. We check that the set of recognized Aegisub FFMPEG. Compiled with the statement:
  4. make
     
    If the compilation is correct, then install it with: sudo make install

  5.  Let us open and continue our hobby of fansubbers with: 
    Aegisub-2.1
  6.  Esperoque this tutorial I have used. If you need help, feel free to contact me. 

0 comments:

Post a Comment