User Tools

Site Tools


fedora_compilation_howto

This is an old revision of the document!


;#; Back to Developers Page ;#;

How to compile Tupi source code (Fedora 22)

1. Install Fedora packages

  • sudo dnf install ruby
  • sudo dnf install make
  • sudo dnf automake
  • sudo dnf install gcc
  • sudo dnf install gcc-c++
  • sudo dnf install zlib-devel
  • sudo dnf install libogg-devel
  • sudo dnf install libtheora-devel
  • sudo dnf install yasm

2. Compile & Install libav

3. Install Qt5

  • Download the Qt installer from http://www.qt.io/download-open-source/
  • In my case, the installer file is called: qt-unified-linux-x64-2.0.2-2-online.run
    • chmod 755 qt-unified-linux-x64-2.0.2-2-online.run
    • ./qt-unified-linux-x64-2.0.2-2-online.run
  • Follow the wizard and take note of the path where Qt has been installed. In my case: /home/user/Qt
  • To ensure that your system is using this Qt version, and not other, you have to redefine your PATH variable from the console where you are going to compile all the software required. In my case:
    • % export PATH=/home/user/Qt/5.5/gcc_64/bin:$PATH
  • To check that everything is ok, if you run the command “qmake -version” you will see an output like this in your console:
  • qmake -version

QMake version 3.0

  Using Qt version 5.5.0 in /home/user/Qt/5.5/gcc_64/lib

4. Compile & Install Quazip

- Download latest version of Quazip from http://sourceforge.net/projects/quazip/

  • tar xvfz quazip-0.7.1.tar.gz
  • cd quazip-0.7.1
  • qmake “PREFIX=/usr/local” “LIBS+=-lz”
  • make
  • sudo make install

5. Compile & Install Tupi

  • cd tupi
  • ./configure –prefix=/usr/local/tupi –with-libav=/usr –with-quazip=/usr/local
  • make
  • sudo make install
  • /usr/local/tupi/bin/tupi &

;#; Back to Developers Page ;#;

fedora_compilation_howto.1486051297.txt.gz · Last modified: 2017/03/11 23:22 (external edit)