User Tools

Site Tools


fedora_compilation_howto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
fedora_compilation_howto [2017/02/02 11:01]
maefloresta created
fedora_compilation_howto [2017/08/05 11:04]
maefloresta [How to compile TupiTube Desk source code (Fedora 22)]
Line 3: Line 3:
 ;#; ;#;
  
-=====How to compile ​Tupi source code (Fedora 22)=====+=====How to compile ​TupiTube Desk source code (Fedora 22)=====
  
 1. Install Fedora packages 1. Install Fedora packages
- +<​code>​ 
-    ​* ​sudo dnf install ruby +sudo dnf install ruby 
-    ​* ​sudo dnf install make +sudo dnf install make 
-    ​* ​sudo dnf automake +sudo dnf automake 
-    ​* ​sudo dnf install gcc +sudo dnf install gcc 
-    ​* ​sudo dnf install gcc-c++ +sudo dnf install gcc-c++ 
-    ​* ​sudo dnf install zlib-devel +sudo dnf install zlib-devel 
-    ​* ​sudo dnf install libogg-devel +sudo dnf install libogg-devel 
-    ​* ​sudo dnf install libtheora-devel +sudo dnf install libtheora-devel 
-    ​* ​sudo dnf install yasm +sudo dnf install yasm 
 +</​code>​
 2. Compile & Install libav 2. Compile & Install libav
- +<​code>​ 
-    ​* ​wget https://​libav.org/​releases/​libav-9.18.tar.gz +wget https://​libav.org/​releases/​libav-9.18.tar.gz 
-    ​* ​tar xvfz libav-9.18.tar.gz +tar xvfz libav-9.18.tar.gz 
-    ​* ​cd libav-9.18 +cd libav-9.18 
-    ​* ​./configure --prefix=/​usr --enable-shared +./configure --prefix=/​usr --enable-shared 
-    ​* ​make +make 
-    ​* ​sudo make install +sudo make install 
- +</​code>​ 
-3. Install Qt5+3. Install Qt5 (version > 5.4)
  
     * Download the Qt installer from http://​www.qt.io/​download-open-source/​     * 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     * 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 +<​code>​ 
-      ​* ​./​qt-unified-linux-x64-2.0.2-2-online.run +chmod 755 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 +./​qt-unified-linux-x64-2.0.2-2-online.run 
-    * 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: +</​code>​ 
-      ​* ​% export PATH=/​home/​user/​Qt/​5.5/​gcc_64/​bin:​$PATH +    * Follow the wizard and pay attention to the path where Qt has been installed. In my case: /​home/​user/​Qt 
-    * To check that everything is ok, if you run the command "qmake -version"​ you will see an output like this in your console: +    * 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're compiling ​all the software required. In my case: 
-    ​* ​qmake -version+<​code>​ 
 +% export PATH=/​home/​user/​Qt/​5.5/​gcc_64/​bin:​$PATH 
 +</​code>​ 
 +    * To check that everything is ok, if you run the command "qmake -version"​ you'​ll ​see an output like this in your console: 
 +<​code>​ 
 +qmake -version
     QMake version 3.0     QMake version 3.0
     Using Qt version 5.5.0 in /​home/​user/​Qt/​5.5/​gcc_64/​lib     Using Qt version 5.5.0 in /​home/​user/​Qt/​5.5/​gcc_64/​lib
 +</​code>​
 4. Compile & Install Quazip\\ 4. Compile & Install Quazip\\
  
-- Download latest version of Quazip from http://​sourceforge.net/​projects/​quazip/​ +- Download ​the latest version of Quazip from http://​sourceforge.net/​projects/​quazip/​ 
- +<​code>​ 
-    ​* ​tar xvfz quazip-0.7.1.tar.gz +tar xvfz quazip-0.7.3.tar.gz 
-    ​* ​cd quazip-0.7.1 +cd quazip-0.7.3 
-    ​* ​qmake "​PREFIX=/​usr/​local"​ "​LIBS+=-lz"​ +qmake "​PREFIX=/​usr/​local"​ "​LIBS+=-lz"​ 
-    ​* ​make +make 
-    ​* ​sudo make install +sudo make install 
- +</​code>​ 
-5. Compile & Install ​Tupi +5. Compile & Install ​TupiTube 
-  +<​code>​ 
-    ​* ​git clone https://​github.com/​xtingray/​tupi.git -b devel +git clone https://​github.com/​xtingray/​tupitube.desk.git -b devel 
-    ​* ​cd tupi +cd tupi 
-    ​* ​./configure --prefix=/​usr/​local/​tupi --with-libav=/​usr --with-quazip=/​usr/​local +./configure --prefix=/​usr/​local/​tupitube.desk ​--with-libav=/​usr --with-quazip=/​usr/​local 
-    ​* ​make +make 
-    ​* ​sudo make install +sudo make install 
-    ​* ​/usr/local/tupi/bin/tupi +</​code>​ 
 +6. If everything goes well, run TupiTube Desk! 
 +<​code>​ 
 +/usr/local/tupitube.desk/bin/tupitube.desk ​
 +</​code>​
 ;#; ;#;
 [[developer_resources|Back to Developers Page]] [[developer_resources|Back to Developers Page]]
 ;#; ;#;
fedora_compilation_howto.txt · Last modified: 2017/08/05 11:04 by maefloresta