Changes between Version 4 and Version 5 of HowtoCDBS


Ignore:
Timestamp:
Jun 12, 2009, 5:15:11 AM (15 years ago)
Author:
Thanatermesis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowtoCDBS

    v4 v5  
    6767Before to compile you need to see if you have all the dependencies for the compilation, for that, just run the command '''dpkg-checkbuilddeps'''
    6868
    69 When you have installed all the needed dependencies, run the command '''fakeroot dpkg-buildpackage'''
     69It is very possible that you will need to add more dependencies, see if the build give you a compilation error and install the remaining needed dependencies, this step is a bit a pain but it is extremely important to add all the needed dependencies to the '''control.in'' file, if not, when you will ''apt-get source enna'' to compile it yourself, it will not compile.
    7070
    71 '''Note:''' A good combo of command to do tests trying to build the package between you edit the control.in file is: ''fakeroot debian/rules clean ; dpkg-checkbuilddeps && fakeroot dpkg-buildpackage -b''
     71So, the steps are:
     72 * Every time a new dependency is needed/found, add it to the control.in file
     73 * Install the dependency
     74 * Run the combo command: ''fakeroot debian/rules clean ; dpkg-checkbuilddeps && fakeroot dpkg-buildpackage -b''
     75
     76When you have finally builded the package, is time to build a real one (with source packages and such): run the command '''fakeroot dpkg-buildpackage'''
    7277
    7378You have it !