Есть вопрос! — как скомпилировать eiskaltdcpp-2.2.0? [РЕШЕНО]
*******************************************************************************
Program Depends
*******************************************************************************
--------
:common:
--------
bzip2
zlib
iconv (libc on GNU/Linux)
----------------
:libeiskaltdcpp:
----------------
gettext
libssl (>= 0.9.8)
liblua5.1 (optional, see cmake keys)
libpcrecpp0 (optional, see cmake keys)
miniupnpc (optional, see cmake keys)
----------------
:eiskaltdcpp-qt:
----------------
libqtcore4, libqtgui4, libqt4-network, libqt4-xml (>= 4.4.0)
libqt4-script (>= 4.4.0) (optional, see cmake keys)
libqt4-dbus (>= 4.4.0) (optional, see cmake keys)
libaspell (optional, see cmake keys)
-----------------
:eiskaltdcpp-gtk:
-----------------
gettext
libpango
libgtk2 (>= 2.10)
libglib2 (>= 2.10)
libglade2 (>= 2.4)
libnotify (>= 0.4.1) (optional, see cmake keys)
libgnome2 (optional, see cmake keys)
*******************************************************************************
Optional Depends
*******************************************************************************
----------------
:eiskaltdcpp-qt:
----------------
sh (bash, dash, etc...)
see examples/ and eiskaltdcpp-qt/qtscripts/
php5-cli (or other version, check the compatibility by yourself)
see eiskaltdcpp-qt/examples/ and eiskaltdcpp-qt/qtscripts/
libqtscript4-core, libqtscript4-gui, libqtscript4-network, libqtscript4-xml
see eiskaltdcpp-qt/qtscripts/
-----------------
:eiskaltdcpp-gtk:
-----------------
...
*******************************************************************************
Build Depends
*******************************************************************************
--------
:common:
--------
gcc
zlib
bzip2
cmake (>= 2.6.0)
iconv (libc on GNU/Linux)
pkg-config
----------------
:libeiskaltdcpp:
----------------
gettext
libboost-dev (headers only) (optional, see cmake keys)
liblua5.1-dev (optional, see cmake keys)
libpcre3-dev (optional, see cmake keys)
miniupnpc (optional, see cmake keys)
----------------
:eiskaltdcpp-qt:
----------------
qt4 (>=4.4.0)
libaspell-dev (optional, see cmake keys)
-----------------
:eiskaltdcpp-gtk:
-----------------
libgtk2.0-dev
libglade2-dev
libnotify-dev (optional, see cmake keys)
libgnome2-dev (optional, see cmake keys)
*******************************************************************************
Installation in Linux and other UNIX-like systems
*******************************************************************************
mkdir -p builddir && cd builddir
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ../
make -j2
sudo make install
---------
# Note: you can get the lastest program sorces from git repository
git clone git://github.com/negativ/eiskaltdcpp.git
# or
wget -4 http://nodeload.github.com/negativ/eiskaltdcpp/tarball/master
*******************************************************************************
Keys for cmake
*******************************************************************************
----------------
:libeiskaltdcpp:
----------------
-DLOCAL_BOOST=ON/OFF (default: OFF)
use local boost headers
-DLUA_SCRIPT=ON/OFF (default: OFF)
lua scripts
-DPERL_REGEX=ON/OFF (default: OFF)
use pcre lib for regex in perl style (now it uses only in ADL Search)
----------------
:eiskaltdcpp-qt:
----------------
-DUSE_QT=ON/OFF (default: ON)
build EiskaltDC++ with Qt interface
-DUSE_ASPELL=ON/OFF (default: not set)
forced use or not use aspell
-DFREE_SPACE_BAR_C=ON/OFF (default: ON)
free space bar in status panel
-DDBUS_NOTIFY=ON/OFF (default: ON)
use or not use QtDBus module
-DUSE_JS=ON/OFF (default: OFF)
Enable/disable QtScript basic support
-DUSE_QT_QML=ON/OFF (default: OFF)
Enable/disable Qt Declarative Ui support. Work only with Qt >= 4.7.0
-DUSE_QT_SQLITE=ON/OFF (default: OFF)
Build with SQLite support. (This is experimental option)
-----------------
:eiskaltdcpp-gtk:
-----------------
-DUSE_GTK=ON/OFF (default: OFF)
build EiskaltDC++ with Gtk interface (based on FreeDC++ and LinuxDC++)
-DUSE_LIBGNOME2=ON/OFF (default: OFF)
Enable/disable sound notifications support in EiskaltDC++ Gtk
-DUSE_LIBNOTIFY=ON/OFF (default: ON)
Enable/disable popup notifications support in EiskaltDC++ Gtk
--------------------
:eiskaltdcpp-daemon:
--------------------
-DNO_UI_DAEMON=ON/OFF (default: OFF)
build daemon without any UI
--------
:common:
--------
-DWITH_EMOTICONS=ON/OFF (default: ON)
If ON install emoticons/
-DWITH_EXAMPLES=ON/OFF (default: ON)
If ON install examples/
-DWITH_LUASCRIPTS=ON/OFF (default: OFF)
If ON install luascripts/
-DUSE_MINIUPNP=ON/OFF (default: OFF)
use or not use miniupnpc lib
-DLOCAL_MINIUPNP=ON/OFF (default: OFF)
If ON use local miniupnpc lib (not set this in ON if you not set USE_MINIUPNP in ON)
-DWITH_SOUNDS=ON/OFF (default: OFF)
If ON install sounds/
-Dlinguas:STRING="needed translations, separator is whitespace" (default: *)
examples:
-Dlinguas="en ru" - install ru and en translations
-Dlingaus="*" - install all translations
-Dlinguas="" - don't install any translation
-DFORCE_XDG=ON/OFF (default: ON)
use or not use $XDG_CONFIG_HOME and $XDG_CONFIG_DOWNLOADS variables
see http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
-DCMAKE_INSTALL_PREFIX= (default: /usr/local)
.
-DLIBDIR= (default: lib)
install lib in /
examples:
-DLIBDIR=lib64 - install lib in /lib64
-DLIB_INSTALL_DIR= (default: lib)
see -DLIBDIR
-DESKTOP_ENTRY_PATH= (default: /usr/local/share/applications/)
.
-PIXMAPS_ENTRY_PATH= (default: /usr/local/share/pixmaps/)
.
-DCMAKE_BUILD_TYPE={Release, RelWithDebInfo, Debug, MinRelSize}
build type
.
Warning: builds with -DCMAKE_BUILD_TYPE=Debug now is broken
(due to some features of the DC++ kernel)
And other standart cmake keys...
---------
# Example of the complete assembly:
mkdir -p builddir && cd builddir
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DUSE_QT=ON -DUSE_GTK=ON -DUSE_JS=ON -DUSE_ASPELL=ON -DFREE_SPACE_BAR_C=ON -DCREATE_MO=ON -DLUA_SCRIPT=ON -DWITH_SOUNDS=ON -DWITH_LUASCRIPTS=ON -DUSE_MINIUPNP=ON -DLOCAL_MINIUPNP=ON ../
make
sudo make install
*******************************************************************************
Uninstall program
*******************************************************************************
sudo make uninstall
*******************************************************************************
*BSD specific notes
*******************************************************************************
mkdir -p builddir && cd builddir
cmake -DCMAKE_BUILD_TYPE=Release ../
gmake -j2
sudo gmake install
*******************************************************************************
Mac OS X specific notes
*******************************************************************************
# For generate native bundle on Mac OS X use:
cpack -G DragNDrop
*******************************************************************************
MS Windows specific notes
*******************************************************************************
Instructions are available in the file: win32/READ_ME.txt
Program Depends
*******************************************************************************
--------
:common:
--------
bzip2
zlib
iconv (libc on GNU/Linux)
----------------
:libeiskaltdcpp:
----------------
gettext
libssl (>= 0.9.8)
liblua5.1 (optional, see cmake keys)
libpcrecpp0 (optional, see cmake keys)
miniupnpc (optional, see cmake keys)
----------------
:eiskaltdcpp-qt:
----------------
libqtcore4, libqtgui4, libqt4-network, libqt4-xml (>= 4.4.0)
libqt4-script (>= 4.4.0) (optional, see cmake keys)
libqt4-dbus (>= 4.4.0) (optional, see cmake keys)
libaspell (optional, see cmake keys)
-----------------
:eiskaltdcpp-gtk:
-----------------
gettext
libpango
libgtk2 (>= 2.10)
libglib2 (>= 2.10)
libglade2 (>= 2.4)
libnotify (>= 0.4.1) (optional, see cmake keys)
libgnome2 (optional, see cmake keys)
*******************************************************************************
Optional Depends
*******************************************************************************
----------------
:eiskaltdcpp-qt:
----------------
sh (bash, dash, etc...)
see examples/ and eiskaltdcpp-qt/qtscripts/
php5-cli (or other version, check the compatibility by yourself)
see eiskaltdcpp-qt/examples/ and eiskaltdcpp-qt/qtscripts/
libqtscript4-core, libqtscript4-gui, libqtscript4-network, libqtscript4-xml
see eiskaltdcpp-qt/qtscripts/
-----------------
:eiskaltdcpp-gtk:
-----------------
...
*******************************************************************************
Build Depends
*******************************************************************************
--------
:common:
--------
gcc
zlib
bzip2
cmake (>= 2.6.0)
iconv (libc on GNU/Linux)
pkg-config
----------------
:libeiskaltdcpp:
----------------
gettext
libboost-dev (headers only) (optional, see cmake keys)
liblua5.1-dev (optional, see cmake keys)
libpcre3-dev (optional, see cmake keys)
miniupnpc (optional, see cmake keys)
----------------
:eiskaltdcpp-qt:
----------------
qt4 (>=4.4.0)
libaspell-dev (optional, see cmake keys)
-----------------
:eiskaltdcpp-gtk:
-----------------
libgtk2.0-dev
libglade2-dev
libnotify-dev (optional, see cmake keys)
libgnome2-dev (optional, see cmake keys)
*******************************************************************************
Installation in Linux and other UNIX-like systems
*******************************************************************************
mkdir -p builddir && cd builddir
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ../
make -j2
sudo make install
---------
# Note: you can get the lastest program sorces from git repository
git clone git://github.com/negativ/eiskaltdcpp.git
# or
wget -4 http://nodeload.github.com/negativ/eiskaltdcpp/tarball/master
*******************************************************************************
Keys for cmake
*******************************************************************************
----------------
:libeiskaltdcpp:
----------------
-DLOCAL_BOOST=ON/OFF (default: OFF)
use local boost headers
-DLUA_SCRIPT=ON/OFF (default: OFF)
lua scripts
-DPERL_REGEX=ON/OFF (default: OFF)
use pcre lib for regex in perl style (now it uses only in ADL Search)
----------------
:eiskaltdcpp-qt:
----------------
-DUSE_QT=ON/OFF (default: ON)
build EiskaltDC++ with Qt interface
-DUSE_ASPELL=ON/OFF (default: not set)
forced use or not use aspell
-DFREE_SPACE_BAR_C=ON/OFF (default: ON)
free space bar in status panel
-DDBUS_NOTIFY=ON/OFF (default: ON)
use or not use QtDBus module
-DUSE_JS=ON/OFF (default: OFF)
Enable/disable QtScript basic support
-DUSE_QT_QML=ON/OFF (default: OFF)
Enable/disable Qt Declarative Ui support. Work only with Qt >= 4.7.0
-DUSE_QT_SQLITE=ON/OFF (default: OFF)
Build with SQLite support. (This is experimental option)
-----------------
:eiskaltdcpp-gtk:
-----------------
-DUSE_GTK=ON/OFF (default: OFF)
build EiskaltDC++ with Gtk interface (based on FreeDC++ and LinuxDC++)
-DUSE_LIBGNOME2=ON/OFF (default: OFF)
Enable/disable sound notifications support in EiskaltDC++ Gtk
-DUSE_LIBNOTIFY=ON/OFF (default: ON)
Enable/disable popup notifications support in EiskaltDC++ Gtk
--------------------
:eiskaltdcpp-daemon:
--------------------
-DNO_UI_DAEMON=ON/OFF (default: OFF)
build daemon without any UI
--------
:common:
--------
-DWITH_EMOTICONS=ON/OFF (default: ON)
If ON install emoticons/
-DWITH_EXAMPLES=ON/OFF (default: ON)
If ON install examples/
-DWITH_LUASCRIPTS=ON/OFF (default: OFF)
If ON install luascripts/
-DUSE_MINIUPNP=ON/OFF (default: OFF)
use or not use miniupnpc lib
-DLOCAL_MINIUPNP=ON/OFF (default: OFF)
If ON use local miniupnpc lib (not set this in ON if you not set USE_MINIUPNP in ON)
-DWITH_SOUNDS=ON/OFF (default: OFF)
If ON install sounds/
-Dlinguas:STRING="needed translations, separator is whitespace" (default: *)
examples:
-Dlinguas="en ru" - install ru and en translations
-Dlingaus="*" - install all translations
-Dlinguas="" - don't install any translation
-DFORCE_XDG=ON/OFF (default: ON)
use or not use $XDG_CONFIG_HOME and $XDG_CONFIG_DOWNLOADS variables
see http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
-DCMAKE_INSTALL_PREFIX= (default: /usr/local)
.
-DLIBDIR= (default: lib)
install lib in /
examples:
-DLIBDIR=lib64 - install lib in /lib64
-DLIB_INSTALL_DIR= (default: lib)
see -DLIBDIR
-DESKTOP_ENTRY_PATH= (default: /usr/local/share/applications/)
.
-PIXMAPS_ENTRY_PATH= (default: /usr/local/share/pixmaps/)
.
-DCMAKE_BUILD_TYPE={Release, RelWithDebInfo, Debug, MinRelSize}
build type
.
Warning: builds with -DCMAKE_BUILD_TYPE=Debug now is broken
(due to some features of the DC++ kernel)
And other standart cmake keys...
---------
# Example of the complete assembly:
mkdir -p builddir && cd builddir
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DUSE_QT=ON -DUSE_GTK=ON -DUSE_JS=ON -DUSE_ASPELL=ON -DFREE_SPACE_BAR_C=ON -DCREATE_MO=ON -DLUA_SCRIPT=ON -DWITH_SOUNDS=ON -DWITH_LUASCRIPTS=ON -DUSE_MINIUPNP=ON -DLOCAL_MINIUPNP=ON ../
make
sudo make install
*******************************************************************************
Uninstall program
*******************************************************************************
sudo make uninstall
*******************************************************************************
*BSD specific notes
*******************************************************************************
mkdir -p builddir && cd builddir
cmake -DCMAKE_BUILD_TYPE=Release ../
gmake -j2
sudo gmake install
*******************************************************************************
Mac OS X specific notes
*******************************************************************************
# For generate native bundle on Mac OS X use:
cpack -G DragNDrop
*******************************************************************************
MS Windows specific notes
*******************************************************************************
Instructions are available in the file: win32/READ_ME.txt
пишу
mkdir -p builddir && cd builddir
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ../
появляется мол
eiskaltdcpp-2.2.0/builddir$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ../
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindBZip2.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:68 (find_package)
-- Configuring incomplete, errors occurred!
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindBZip2.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:68 (find_package)
-- Configuring incomplete, errors occurred!
далее пишу make а он мне
make: *** Не заданы цели и не найден make-файл. Останов.