Dbox2:Development (Oldmake) obsolete
Development
- Allgemein
- Neutrino-HD-Entwicklung
- dbox2 Entwicklung
Inhaltsverzeichnis
General
Here you will find some important basic requirements for a development environment. For more various issues, e.g. image creation or CDK, take a look at the right sidebar.
Prerequistes
- cvs - autoconf >= 2.57a - automake >= 1.7 - libtool >= 1.4.2 - gettext >= 0.12.1 - make >= 3.79 - makeinfo (texinfo) - tar - bunzip2 (bzip2) - gunzip (gzip) - patch - infocmp (ncurses-bin / ncurses-devel) - gcc 2.95 or >= 3.0 - g++ 2.95 or >= 3.0 - flex - bison - pkg-config - wget - libpng2 or libpng3 (DirectFB)
Ensure that you have these programs installed and accessible on your system. Compare version numbers where applicable. Don't report any bugs before having verified that you are using the correct versions.
Getting the sources
- It is recommended to add a new user to your system, to prevent data loss.
If you do not have sufficient rights to do so, remember that everything you do happens at your own risk. Do never build as root. Don't even think of it! It will make your system go nuts and eat your cat!
- Login as the desired user.
- Enter the following commands:
you@pc:~$ mkdir $HOME/tuxbox-cvs you@pc:~$ cd $HOME/tuxbox-cvs you@pc:~/tuxbox-cvs$ export CVS_RSH=ssh you@pc:~/tuxbox-cvs$ cvs -danoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -P . anoncvs@cvs.tuxbox.org's password: anoncvs
Note: There is a dot at the end of the cvs command line and, yes, it actually belongs to the command.
- Remember that you do not ever have to fetch the complete cvs tree again, if you don't delete it. You can update the tree by typing:
you@pc:~/tuxbox-cvs$ export CVS_RSH=ssh you@pc:~/tuxbox-cvs$ cvs -danoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 up -dP anoncvs@cvs.tuxbox.org's password: anoncvs
Please do that, even if you have a broadband internet connection, to reduce our traffic costs. Thank you!
Generating the Makefiles
- Enter the following commands:
you@pc:~/tuxbox-cvs$ cd cdk you@pc:~/tuxbox-cvs/cdk$ ./autogen.sh you@pc:~/tuxbox-cvs/cdk$ ./configure --enable-maintainer-mode --prefix=$HOME/dbox2 --with-cvsdir=$HOME/tuxbox-cvs
Building the CDK
- Enter the following command (see Makefile.am for other make targets):
you@pc:~/tuxbox-cvs/cdk$ make all
- This step should always complete without errors. If it does not then please report at https://tuxbox.org/forum/
- If you want to try building additional programs which are usually not needed for using tuxbox applications, then enter
you@pc:~/tuxbox-cvs/cdk$ make extra
- These programs are hardly maintained, so they might sometimes fail to build.
If you encounter errors, then please report them to the address mentioned above, but do not expect to get the problems fixed quickly if you do not provide a solution to the problem.
- Note that you can skip single make targets by typing
you@pc:~/tuxbox-cvs/cdk$ touch .deps/package_name
Grundlagen - Installation - Debug-Mode - Hardware - CDK/Development
LCars - Neutrino - Enigma - Plugins - Spiele - Software - Tools - Howto - FAQ - Images
Hauptseite - News - Alle Artikel - Bewertungen - Gewünschte Seiten - Index - Neue Artikel - Impressum - Team
Hilfeportal - Seite bearbeiten - Bilder - Links - Tabellen - Textgestaltung