Front: Git itself with the diff tool is not good, generally consider replacing the Git diff tool with KDIFF3. GITK is accompanied by git installation, but not normal use, missing gitk since the wish package.
Operation: 1, installation qt4.7
http://download.qt.io/archive/qt/4.7/
qt-everywhere-opensource-src-4.7.3.tar.gz "Download QT package, pay attention to watch, do not download win or Mac version of:"
./configure
O
Yes
Gmake//takes about 3-4 hours to consume
Gmake All
2, kdiff3-0.9.95.tar.gz online a lot, not difficult to download.
./configure Qt4
Make
Make install
#注意此时生成的kdiff3包, you can copy directly to the/usr/bin directory and avoid adding KDIFF3 path for each user. Make needs to rely on Step 1 at this point.
#注意点: If your environment has already deployed QT, the version may be low, kdiff3 need to find the QT library, you might prefer to install locally. At this point, modify Ld_library_path to add the QT library to the front of the variable:
such as Ld_library_path=/usr/lib: $LD _library_path
3, tk8.5.10-src.tar.gz download address: http://download.qt-project.org/archive/qt/4.7/
Installation steps with 2. The main generated package needs to be copied to the development location;
Install the TK package, execute GITK, will be prompted to find the TCL package, use Find in the installation of the TK directory to find. The effect is as follows: