Changes between Version 4 and Version 5 of HowtoCDBS
- Timestamp:
- Jun 12, 2009, 5:15:11 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowtoCDBS
v4 v5 67 67 Before to compile you need to see if you have all the dependencies for the compilation, for that, just run the command '''dpkg-checkbuilddeps''' 68 68 69 When you have installed all the needed dependencies, run the command '''fakeroot dpkg-buildpackage''' 69 It 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. 70 70 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'' 71 So, 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 76 When you have finally builded the package, is time to build a real one (with source packages and such): run the command '''fakeroot dpkg-buildpackage''' 72 77 73 78 You have it !