CentOS安装BeyondCompare

首先在官网下载软件包(TAR.GZ format)

http://www.scootersoftware.com/download.php

下载后解压

[root] # tar -zxvf bcompare-version-num.tar.gz
[root] # cd bcompare-version-num [root] # ./install.sh

这时会出现错误

kde4-config: command not found

解决方法是安装kde库

[root] # yum install kdelibs

kde库安装完成后,再次运行./install.sh,这一次可以正常安装.安装完成后,运行bcompare程序,又出现错误了

[root] # bcompare
Some Shared Libraries were not found
    linux-gate.so.1 =>  (0x00d92000)
    libz.so.1 => not found
    libqtc.so.1 => /usr/lib/beyondcompare/libqtc.so.1 (0x00142000)
    libX11.so.6 => not found
    librt.so.1 => /lib/librt.so.1 (0x00a2b000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00e8a000)
    libdl.so.2 => /lib/libdl.so.2 (0x00947000)
    libc.so.6 => /lib/libc.so.6 (0xf756d000)
    libqt-mt.so.3 => /usr/lib/beyondcompare/libqt-mt.so.3 (0xf6e5a000)
    libXext.so.6 => not found
    libX11.so.6 => not found
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00658000)
    libm.so.6 => /lib/libm.so.6 (0x00dfc000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x008ef000)
    /lib/ld-linux.so.2 (0x00796000)
    libXrender.so.1 => not found
    libXrandr.so.2 => not found
    libXcursor.so.1 => not found
    libXinerama.so.1 => not found
    libXft.so.2 => not found
    libfreetype.so.6 => not found
    libfontconfig.so.1 => not found
    libXext.so.6 => not found
    libX11.so.6 => not found
    libSM.so.6 => not found
    libICE.so.6 => not found

解决方法是安装32位的QT3, 64位的需要注意,系统默认安装的QT是64位版本,仍然需要安装32的QT

[root] # yum -y install qt3.i686

OK,再运行bcompare就成功的弹出窗口界面(快捷方式在Application->Programming中)。

最后附上一枚key

jp1e8CgYjJ4zf0KhAe8QTR25SFOyWGshdxeqq1esijXleGGAT-Sr0LeFQTvBkeMSRfqNx32mm8oiqLyaoaV5R+

 

 

 

 

 

你可能感兴趣的:(CentOS安装BeyondCompare)