Configure the basic development environment gcc
GCC already exists in the newly installed system, but almost no GCC file can be compiled. Because some necessary header files are missing, install the build-essential software package:
Sudo apt-Get install build-essential
Install the GTK/gnome Development Environment
To install the GTK environment, you only need to install libgtk2.0-Dev. to install the gnome development environment, you need to install gnome-core-devel, which contains the GTK development kit.
But in general, we need an IDE development environment and a help file, so we install
Sudo apt-Get install gnome-devel gnome-Dev-Doc
Depending on the software package, other software packages may be dependent. Install the required software package according to the error message.
Sudo apt-Get install dpkg-dev DH-make debhelper fakeroot GnuPG pbuilder
Prepare Deb Software Package
Decompress the package and go to the source package directory.
./Configure
Make
Sudo checkinstall-d make install
Or (because the execution standards of the software package are different)
Dpkg-buildpackage-rfakeroot
After the execution is complete, the Deb software package will appear in this directory.
Appendix:
Checkinstall is a deb package. Install: sudo apt-Get install checkinstall
Usage: Generally, the program to be compiled is/. Configure; Make; make install.
Checkinstall is used in this makeinstall, instead of the actual installation, and is generated as the Deb package.
After./configure and make
Checkinstall
Then
The package documentation directory./doc-pak does not exist.
Shocould I create a default set of package docs? [Y]:
Prompt, select N, enter the Deb package description, and enter a blank line to end
Then
0-maintainer: [jarlyyn @ Home]
1-Summary: [package created with checkinstall 1.6.0]
2-Name: [syncevolution]
3-version: [0.4]
4-release: [1]
5-license: [GPL]
6-group: [checkinstall]
7-architecture: [i386]
8-source location: [syncevolution-0.4]
9-alternate source location: []
10-requires: []
Select a number as needed to edit the project you want to change. Of course, if you do not need to change anything, you can also
Enter the press enter to generate the Deb package.