|
Packit Service |
f7c0e4 |
Introduction:
|
|
Packit Service |
f7c0e4 |
-------------
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
TODO
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
Compilation
|
|
Packit Service |
f7c0e4 |
------------
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
TODO
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
Working with the source code repository
|
|
Packit Service |
f7c0e4 |
---------------------------------------
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
dleyna-core can be downloaded, compiled and installed as
|
|
Packit Service |
f7c0e4 |
follows:
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
Clone repository
|
|
Packit Service |
f7c0e4 |
# git clone git://github.com/01org/dleyna-core.git
|
|
Packit Service |
f7c0e4 |
# cd dleyna-core
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
Configure and build
|
|
Packit Service |
f7c0e4 |
# ./autogen.sh
|
|
Packit Service |
f7c0e4 |
# make
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
Final installation
|
|
Packit Service |
f7c0e4 |
# sudo make install
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
These instructions are suitable for users who simply want to install
|
|
Packit Service |
f7c0e4 |
and run dleyna-core. However, developers wishing to contribute
|
|
Packit Service |
f7c0e4 |
to the project should follow a separate "Configure and build" step.
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
Configure and build
|
|
Packit Service |
f7c0e4 |
# ./bootstrap-configure
|
|
Packit Service |
f7c0e4 |
# make
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
The script "bootstrap-configure" cleans the repository, calls
|
|
Packit Service |
f7c0e4 |
autreconf and then invokes configure with proper settings for
|
|
Packit Service |
f7c0e4 |
development. These settings include the enabling of
|
|
Packit Service |
f7c0e4 |
maintainer mode and debugging.
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
Developers can remove autogenerated files with the following command
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
# make maintainer-clean
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
Configure Options:
|
|
Packit Service |
f7c0e4 |
------------------
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
--enable-werror
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
This option is disabled by default. To enable use --enable-werror.
|
|
Packit Service |
f7c0e4 |
When enabled, all warnings are treated as errors during compilation.
|
|
Packit Service |
f7c0e4 |
Should be enabled during development to ensure that errors do not
|
|
Packit Service |
f7c0e4 |
creep into the code base. This option is enabled by
|
|
Packit Service |
f7c0e4 |
bootstrap-configure.
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
--enable-debug
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
This option is disabled by default. To enable use
|
|
Packit Service |
f7c0e4 |
--enable-debug. When enabled, the make files produce debug builds.
|
|
Packit Service |
f7c0e4 |
This option is enabled by bootstrap-configure.
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
--enable-optimization
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
This option is enabled by default. To disable use
|
|
Packit Service |
f7c0e4 |
--disable-optimization. When enabled it turns on compiler
|
|
Packit Service |
f7c0e4 |
optimizations. Disable = -O0, enable = -O2.
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
--with-log-level
|
|
Packit Service |
f7c0e4 |
|
|
Packit Service |
f7c0e4 |
See logging.txt for more information about logging.
|