Installation and Upgrade - Klocwork

Installation and Upgrade

Klocwork Insight 10.0 Document version 1.0

Contents

Articles

Before you install

1

System requirements

1

Release Notes

10

About the Klocwork packages and components

21

Upgrading from a previous version

23

Upgrading from a previous version

23

Installing the Klocwork Server package on Windows -- Upgrade only

24

Installing the Klocwork Server package on Unix -- Upgrade only

25

Installing the Klocwork Server package on Mac -- Upgrade only

28

Get a license

30

Getting a license

30

Installing the Server package

33

Installing Klocwork Insight

33

Installing the Klocwork Server package on Windows

34

Installing the Klocwork Server package on Unix

37

Installing the Klocwork Server package on Mac

40

Viewing and changing Klocwork server settings

42

Downloading and deploying the desktop analysis plug-ins

45

kwupdate

46

Installing a desktop analysis plug-in or command line utility

48

Installing a desktop analysis plug-in

48

Installing the Klocwork plug-in from the Eclipse update site

51

Running a custom installation for new or upgraded IDEs

52

Installing the Distributed Analysis package

53

Installing the Distributed Analysis package

53

Configuring and starting the Klocwork servers

56

Viewing and changing Klocwork server settings

56

Starting the Klocwork Servers

58

Stopping the Klocwork Servers

60

kwservice

62

Testing your installation

66

Unattended installation on Windows

66

Testing your installation

68

What to communicate to the team

69

Troubleshooting

70

Error reading setup initialization file during installation

70

Repairing a Windows installation of Klocwork Insight

70

Find Klocwork Servers running on your LAN

71

Unable to start the Database Server because the path to the socket file is too long

72

Unable to start Klocwork Servers following Windows installation

72

Database connection error

73

Package Load Failure occurs in Visual Studio after I install patch

74

IntelliJ IDEA installation not detected; plugin not installed

74

Limitations for installation

75

Uninstalling

86

Uninstalling Klocwork Insight

86

Unable to start Klocwork Servers following Windows installation

89

References

Article Sources and Contributors

90

Image Sources, Licenses and Contributors

91

Article Licenses

License

92

1

Before you install

System requirements

Installing_Klocwork_Insight|Installation

Supported platforms

Both the Klocwork Server package and Desktop Analysis plug-ins are supported on the following operating systems (except where noted). This means that Klocwork has performed the full test suite on these operating systems with certain hardware and will provide technical support as specified in the Klocwork support policies. Note: It is not possible to use Klocwork tools with SELinux (Security-Enhanced Linux) enabled.

Processor Operating system

Sun SPARC Sun Solaris 10, 11

Intel and AMD

32 bit and 64 bit

Klocwork supports all Linux distributions such as Fedora, Open Suse, Red Hat Enterprise Linux, Ubuntu, CentOS and Debian running glibc 2.4 or greater (use getconf GNU_LIBC_VERSION to find out your version). If you have any questions about your distribution, please contact Customer Support.

Windows 8 Windows 7 Windows Vista Windows XP Professional Windows Server 2012 Windows Server 2008 Windows Server 2003

Mac OS X Lion (10.7) Mac OS X Snow Leopard (10.6)

IBM Power5 IBM AIX 5.3, TL 7 (Server package only) 64 bit

Operating system patches and packages

The following patches or packages are required for running Klocwork products (either server or user installations) on certain operating systems. They are in addition to the regular maintenance patches for your operating system.

If you are installing on... you need...

Solaris 10

The zlib package (not required if you are installing only the Klocwork developer tools). Check that the zlib package is installed. To check that the zlib package is installed, either run $ pkginfo |grep zlib or look for a file called libz.so under /usr/lib or /usr/local/lib. If the zlib package is installed, you will see the package SUNWzlib, or SMCzlib, or both packages.

System requirements

2

Linux x86, 64-bit

The 32-bit compatibility libraries must be installed. Klocwork Insight works on 64-bit platforms in 32-bit emulation mode, so in order for Klocwork Insight to work on Linux 64-bit platforms, you must ensure that the 32-bit libraries are installed. The way you check and install 32-bit libraries depends on your Linux distribution. For example, for Ubuntu, run the following command to install 32-bit compatibility libraries: $ sudo apt-get install ia32-libs

The 32-bit version of the libncursesw library must be installed. ? For Fedora Core and Redhat Enterprise Linux, run these commands:

$ sudo yum install glibc.i686

$ sudo yum install libgcc.i686

Any Linux distribution that does not install the X11 version of X Window by default

xorg-XFree86-deprecated-libs

Operating systems that support Flexera FLEXnet ID Dongles

A FLEXnet ID Dongle is a hardware key, also referred to as a dongle, used to lock software access to the machine on which it is physically installed. You can use FLEXnet ID Dongles in situations where you: ? cannot release any system information such as MAC addresses or IP addresses ? cannot share a license server between multiple sites There is more information on FLEXnet ID Dongles on the Flexera Web site. To use Flexera FLEXnet ID Dongles, use one of the following operating systems with the appropriate FLEXnet driver, with HOSTID_FLEXid9 using FLEXnet 11.10.1.0. You can obtain the appropriate driver for your operating system from Klocwork Customer Support.

Operating system

FLEXnet driver installer

Red Hat Enterprise Linux 5.x, 6.x aksusbd-redhat-1.8.1-3.i386.rpm

Windows 8 Windows 7 Windows Vista Windows XP Windows Vista (32 bit and 64 bit) Windows Server 2003

FLEXId_Dongle_Driver_Installer.exe (choose the FLEXid9 driver)

Notes:

? You must install Flexera FLEXnet ID Dongles at the root/Administrator privilege. For Unix, use su/sudo. For Windows, use an Administrator group.

? After installing Flexera FLEXnet ID Dongles on Windows, restart the Klocwork Servers. ? The Linux Red Hat Package Manager (RPM) installer emits an error message about checkpc. Ignore the error

message.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download