This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
build:install_2.6 [2011/04/25 18:36] mean [Requirement list (debian/ubuntu)] |
build:install_2.6 [2015/06/07 11:15] mean [Target] |
||
---|---|---|---|
Line 28: | Line 28: | ||
* **core:** Build core | * **core:** Build core | ||
* **plugins:** Build plugins | * **plugins:** Build plugins | ||
+ | |||
+ | **Example** | ||
+ | Build .deb for debian/ubuntu, core + Qt4 + plugins | ||
+ | bash bootStrap.bash --deb | ||
+ | |||
+ | Build .deb for debian/ubuntu, core + Qt5 + plugins | ||
+ | bash bootStrap.bash --deb --enable-qt5 | ||
+ | |||
+ | Build .deb for debian/ubuntu, core + Qt5 + plugins + cli | ||
+ | bash bootStrap.bash --deb --enable-qt5 --with-cli | ||
+ | |||
+ | | ||
+ | If you dont use --deb or --rpm, the result will be in the *install* folder. You can copy its content to /usr later. | ||
+ | |||
+ | Do not install it elsewhere, it will not work. If you want to install it to /usr/local or /opt or ..., please edit the bootStrap.sh script. | ||
+ | Note that the bootstrap script does not install anything by itself and does not require root privilege. | ||
===== Requirement list (debian/ubuntu) ===== | ===== Requirement list (debian/ubuntu) ===== | ||
For core modules | For core modules | ||
- | sudo apt-get install libxml2-dev gcc g++ make cmake pkg-config libpng12-dev fakeroot yasm | + | sudo apt-get install gcc g++ make cmake pkg-config libpng12-dev fakeroot yasm libsqlite3-dev build-essential |
- | For GTK+ | + | |
- | sudo apt-get install libgtk3.0-dev | + | |
For Qt(nbsp)4 | For Qt(nbsp)4 | ||
sudo apt-get install libqt4-dev | sudo apt-get install libqt4-dev | ||
+ | | ||
+ | For Qt(nbsp)5 | ||
+ | sudo apt-get install libqt4-dev | ||
+ | | ||
+ | | ||
For common plugins | For common plugins | ||
sudo apt-get install libaften-dev libmp3lame-dev libx264-dev libfaad-dev libfaac-dev | sudo apt-get install libaften-dev libmp3lame-dev libx264-dev libfaad-dev libfaac-dev | ||
| | ||
+ | **Warning** | ||
+ | If you want to create .debs, the cmake version bundled with some versions of ubuntu is buggy. Please build cmake from source (latest version) | ||
+ | | ||
===== Requirement list for Qt4 version(Fedora 14) ===== | ===== Requirement list for Qt4 version(Fedora 14) ===== | ||
+ | Core | ||
+ | yum install pkgconfig fakeroot yasm | ||
+ | yum install libpng zlib zlib-devel patch rpm-build | ||
+ | yum install libsql3x-devel | ||
+ | Qt4 | ||
+ | yum install qt4 qt4-devel | ||
- | yum install pkgconfig fakeroot | + | Then |
- | yum install libpng zlib zlib-devel patch rpm-build | + | bash bootStrap.bash --rpm |
- | yum install qt4 qt4-devel | + | |
- | + | ||
- | bash bootStrap.bash --rpm | + | |
You must be sudoer | You must be sudoer |