System requirements

From current

Installation > System requirements

Supported platforms

Both the Klocwork Server and User packages 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 9 and 10
Intel and AMD
32 bit and 64 bit
Red Hat Enterprise Linux 4.x, 5.x, 6.x
SUSE Enterprise 10 (32-bit only), 11
In addition Klocwork supports all recent Linux distributions such as Fedora, Open Suse, Ubuntu, CentOS and Debian running glibc 2.3 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 7
Windows Server 2008
Windows Server 2003
Windows XP Professional
Windows Vista
Mac OS X Snow Leopard (10.6)
Mac OS X Lion (10.7)
IBM Power5
64 bit

IBM AIX 5.3, TL 7 (Server package only)

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 9 GTK
Note: The minimum version required to run Klocwork Desktop, part of the Klocwork Desktop Command Line in the User Package, is GTK 2.2.1.
To install GTK, perform the following steps:
Switch to super user:
$ su -
Make sure the pkg-get tool is installed.
Update your local copy of the catalog (optional):
# pkg-get -U
Download and install GTK and all its dependencies automatically:
# pkg-get -i gtk
Switch back to the normal user:
# exit
Note: pkg-get installs all software to /opt/csw. Export the LD_LIBRARY_PATH environment variable to /opt/csw/lib before running GTK.
Solaris 9 or 10 The patches required for Java 1.6. Klocwork installs and uses Java 1.6. The requirements for Java are listed in the Sun release notes:
http://java.sun.com/javase/6/webnotes/install/jre/install-solaris.html#requirements
This page also provides a link for downloading recommended and required patches.

The zlib package (not required if you are installing only Klocwork Architect or 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.

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 ncurses-libs.i686 (or your distribution’s equivalent)
    This library is optional and only required if you need to run the mySQL command line tools.
    $ sudo yum install glibc.i686
    $ sudo yum install libgcc.i686
  • For Ubuntu (except v8.04), run this command:
    $ sudo apt-get install lib32ncursesw5
  • For Ubuntu 8.04:
    Download a .deb file from http://packages.ubuntu.com/jaunty/lib32ncursesw5
    Run this command:
    $ sudo dpkg --install lib32ncursesw5_5.7+20090207-1ubuntu1_amd64.deb
Any Linux distribution that does not install the X11 version of X Window by default xorg-XFree86-deprecated-libs
Red Hat Enterprise Linux (RHEL) 4 libpng10-1.0.13-8.i386.rpm
Ubuntu 6.06 libxp-dev

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 4.x, 5.x, 6.x
aksusbd-redhat-1.8.1-3.i386.rpm
  • Windows 2000 Professional
  • Windows Server 2003
  • Windows XP Professional
FLEXidInstaller.exe, FLEXid.exe or FLEXidsilent.exe
  • Windows Vista (32 bit and 64 bit)
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.

Disk space requirements

Disk space requirements for installation

A complete installation requires 400 to 450 Mbytes for installation. Additional disk space is required temporarily during installation.

Disk space requirements for data storage

Klocwork Insight data includes the source files, configuration files, object files, tables, and the database. The total disk space needed for a single integration-build analysis will be the total of all this data. If you use Klocwork incremental analysis, the object file size and table size is needed only once per project.

Some sample projects to show how size can vary

Project Language Lines of code Object file size
(Mbytes)
Table size (Mbytes) Database size (Mbytes) Total size (Mbytes)
Boost C/C++ 6,300 393 17 84 494
Firefox C/C++ 1,200,000 2,800 606 702 4,108
X.org C 1,500,000 2,600 608 720 3,928
Linux C 2,300,000 7,200 1,100 1,200 9,500
Common C++ C/C++ 20,000 168 23 45 236
Python C 192,000 114 52 84 250
MySQL C/C++ 350,000 781 133 167 1,081

Processor and RAM requirements

Server and complete installations

  • Processor speed: 2 GHz or better
  • RAM: Minimum 2 Gbytes for a single core machine and a minimum of 1 GB of memory per processor or core on multicore machines. More than 2 Gbytes may be required for very large analyses. Note that the size of a build and its RAM requirements depend not only on the lines of code, but also on the number and complexity of relationships in the code.

User installations

Klocwork client Processor speed RAM
Klocwork for C/C++ 1 GHz or better 1 Gbyte. On Windows and with precompiled headers, the minimum RAM is 2 GB.
Klocwork for Java 1 GHz or better 1 Gbyte.
Architect 1 GHz or better 1-2 Gbytes recommended
Klocwork Review and Klocwork Inspect 1 GHz or better 1-2 Gbytes recommended

Java Virtual Machine requirements

Windows

If you don't have Java 1.6 Update 45 installed, the Server, User or Distributed Analysis installation package will install Java 1.6 Update 45. It will be installed in <server_install>/_jvm/bin/ and <user_install>/_jvm/bin/. Your system must meet the requirements for this version of Java.

If you have a later update of Java 1.6, Java will not be installed, and Insight will use the already installed version.

The installation package detects whether you have a 32-bit or 64-bit operating system and installs the appropriate version of Java.

Linux and Solaris

Insight installs Java 1.6 Update 45. Your system must meet the requirements for this version of Java.

On Linux, there is a separate installation package for both 32-bit and 64-bit Java. Select the one that matches your operating system.

Only 32-bit Java is supported for Solaris.

Mac

You must install JVM 1.6 Update 45 or later on your machine before installing the Klocwork Server or User package. If you have a previous JVM version installed and you try to install the Server or User package, you will see the error message, "Version of Java is too old". Apple supplies their own version of Java. Use the Software Update feature on your Mac.

Only 32-bit Java is supported for Mac.

AIX

Insight installs and uses IBM Java 1.6, so your system must meet the requirements for Java 1.6. At the time of publication, the link to supported system configurations for IBM Java 1.6 was:

http://www.ibm.com/developerworks/java/jdk/aix/service.html

Only 32-bit Java is supported for AIX.

IDE plug-ins

The Klocwork Desktop Java Plug-ins for Eclipse and IntelliJ IDEA require Java 1.6. You must ensure that your IDE is running on Oracle (Sun) Java 1.6.

Supported IDEs

Note: Klocwork Insight also has successful integrations with other Eclipse-based IDEs.

Supported C/C++ IDEs

IDE Version
Eclipse 3.4, 3.5, 3.6, 3.7 and 4.2
Wind River Workbench 3.1, 3.2, 3.3
QNX Momentics 4.6, 4.7
Microsoft Visual Studio .NET 2005, .NET 2008, .NET 2010 and .NET 2012. The Express edition of Visual Studio is not supported.

Supported C# IDEs

Klocwork C# analysis is available for Microsoft Visual Studio .NET 2005, 2008, 2010 and 2012. The Express edition of Visual Studio is not supported.

The Smart Device project type is not supported.

Supported Java IDEs

IDE Version
Eclipse 3.4, 3.5, 3.6, 3.7, 4.2
JetBrains IntelliJ IDEA 10.0, 10.5, 11.x, 12.x
IBM Rational Application Developer for WebSphere 7.5.x at the level of "Ready for IBM Rational Software" for Eclipse-based solutions

Supported browsers

A browser is required for Klocwork Architect reports, for Klocwork Review, and for Klocwork Inspect.

  • Mozilla Firefox - the current, latest release except for the AIX platform, which is at 3.5.13.1
  • Internet Explorer 8* and 9
  • Apple Safari 5.x
  • Google Chrome - the current latest release

*Not supported for Klocwork Inspect

Note: Klocwork Review and Klocwork Inspect also require that you enable cookies in your browser.

Supported PDF readers

Required for viewing reports in Klocwork Architect.

  • Adobe Acrobat Reader 5.0 or higher

Python

  • On Unix, the Insight installation will install Python 2.7 if it is not detected on your machine.

Supported source code management systems for Klocwork Inspect

Inspect has been tested with the following, for both pre-checkin and post-checkin code reviews:

SCM Supported plug-ins
Base ClearCase 7.x Eclipse, IntelliJ IDEA
CVS 1.12.x Eclipse, IntelliJ IDEA
Git 1.7.x Eclipse, IntelliJ IDEA
TFS 2010 Command-line only*
Perforce Visual Client 2010.x Command-line only*
Subversion 1.4.x, 1.6.x, 1.7.x Eclipse, IntelliJ IDEA

*All of the SCM's are supported by using the commands kwcodereview (pre-checkin) or kwscm (post-checkin) on the command-line.

For other SCMs, please contact Klocwork Customer Support.

C/C++ compilers supported for build integration

As part of creating a build specification, Klocwork Insight automatically searches for the following compiler types by default. If your compiler is not on this list, contact Klocwork Customer Support so that we can support your compiler. For details on compilers and on creating build specifications generally, see Creating a C/C++ build specification.

Compiler type Klocwork compiler code Names of common compiler variants Introduced Improved
Analog Devices Blackfin and TigerSHARC dsp ccblkfn, ccts 9.5
ARM armcc
armlink
ar
armcc, armcpp, tcc, tcpp
armlink
armar
Pre-9.5
CADUL C cross compiler for Intel 80X86 cadul_compile
cadul_link
ccu38o
lnku38a
9.6
Clang gnu clang
clang++
9.6 SR3
CodeWarrior Freescale S12 chc12 chc12 9.5
Compiler caching tools ccache ccache, distcc 9.5
Cosmic cosmiccompile
cosmiclink
cxs12x, cx6812, cx6816, cxstm8
clnk
9.5 9.6
Embarcadero compiler/linker bcc
blink
bcc32
ilink32
9.5
Fujitsu FR Family fcc fcc911s, fcc907s 9.5
GNU gnu
gnu_ld
gcc, g++, cc, c++
ld
Pre-9.5
GNU ar ar ar Pre-9.5
Green Hills GHS ghs
ghscom
ghslink
ghsar
gcc, gcx, ccarm, cxarm, ccmips, cxmips, ccintppc, cxintppc
ecomarm, ecomppc
elxr
ax
Pre-9.5 9.6
Hexagon Tools qdsp qdsp-gcc, qdsp-g++ 9.5
HI-TECH C compiler/linker picc
piclink
picc
hlink
9.6
Hitachi ch38 ch38 ch38.exe Pre-9.5
IAR Systems C compiler/linker for 8051/NEC V850/MSP430/M16C/Renesas RX210/CR16C/ARM/Atmel AVR
(see Limitations)
icc8051
iccv850
icc430
xlink
iccm16c
iar_rx_compile
iar_rx_link
icccr16c
iccarm
ilinkarm
iar_avr_compile_filter
icc8051
iccv850
icc430
xlink
iccm16c
iccrx
ilinkrx
icccr16c
iccarm
ilinkarm
iccavr
Pre-9.5 9.6
IBM XL C/C++ xlc cc, xlc, xlC and related commands (see <klocwork_install>/config/kwfilter.conf for full list) 9.5
ImageCraft AVR iccavr iccavr 9.5
Intel C++ icc
icl
icc, icpc
icl
Pre-9.5
Intel iC-386 c386 c386a 9.6
Keil CA51 c51
lx51
c51, cx51, c166, c251
lx51, l166, l251
9.5 9.6
MetaWare High C/C++ arc
ararc
ldarc
mcc
hcarc, hcac
ararc, arac
ldarc, ldac
mcc
Pre-9.5 9.5
Metrowerks CodeWarrior mwc mwcc, mwccmcf Pre-9.5
Microchip MPLAB pic24 pic30 pic30-gcc 9.5
Microsoft Visual C++ mscompile
mslink
cl, clarm
link, lib
Pre-9.5
Microtec mcx
mlk
mcx
mlk
9.5
Motorola DSP563 moto563compile
moto563link
g563c
dsplnk
9.6
MPLAB C18 mcc18
mplink
mcc18
mplink
9.5
Nvidia CUDA nvcc nvcc 9.6
Panasonic C cc103S
ld103S
cc103S
ld103S
9.5
Paradigm C/C++ pcc
plink
pcc
plink
9.6
Plan 9 C plan9
ar
0c, 1c, 2c, 5c, 6c, 7c, 8c, 9c, kc, qc, vc
ar.l
9.5
QNX qnx qcc Pre-9.5
Renesas 78K0R ren_cc78
cc78k0r
ren_lk78
lk78k0r
9.6
Renesas SuperH and RX family rxcompile
rxlink
rxc, shc
optlnk
9.5
Renesas R8C and M16C families nc30 nc30 9.5
Renesas V850 ca850
ld850
ca850
ld850
9.5
Star Core Freescale scc
sc100-ld
scc
sc100-ld
Pre-9.5
Sun Studio C/C++ sun CC, cc Pre-9.5
Tasking Classic Toolset for C166 compiler/linker tasking_classic_166_compile
tasking_classic_166_link
cc166
l166
9.5 9.6
Tasking IFX SLE88 cj2 cj2 9.5
Tasking Tricore tricore_compile
tricore_link
cctc
ltc
9.5
Tasking VX Toolset for C166 compiler/linker tasking_166_compile
tasking_166_link
cc166
lk166
9.6
Tensilica Xtensa C/C++ xtensa xt-xc
xt-xc++
9.6


TI ARP32 C/C++ cl_arp32 cl-arp32 9.5
TI msp430 C/C++ cl430 cl430 9.5
TI tms320c6x and tms320c55x cl6x
link6x
ar6x
cl6x, cl55
link6x
ar6x
Pre-9.5
TI tms320c28x cl2000
lnk2000
ar
cl2000
lnk2000
ar2000
9.5
TI tms470 cl470
lnk2000
ar
cl470
lnk470
ar470
9.6
TriMedia tmcc tmcc tmcc, tmCC Pre-9.5
WinAVR gnu
ar
avr-gcc, avr-g++
avr-ar
9.6
Wind River Diab diab
dld
ar
dcc, dplus
dld
dar
Pre-9.5
Wind River GCC gnu ccppc 9.5
ZiLOG eZ80 ez80cc
ez80link
ez80cc
ez80link
9.5

Supported C# language specifications

Klocwork Insight support versions 1.0, 2.0 and 3.0 of the C# language specification.

Application servers supported by Klocwork JSP scanning

Klocwork’s JSP scanning supports the following application servers:

Application server Version
Apache Tomcat 5.5, 6.0
BEA WebLogic 10

Supported versions of MySQL

For Windows, Linux and Mac, the Database Server is a MySQL 5.1.68 database server. For Solaris and AIX, the Database Server is a MySQL 5.1.66 database server. If you want to use your own manually installed MySQL database server, it must be the appropriate version. If necessary, upgrade your separate MySQL database before you install or upgrade Klocwork Insight.

Supported LDAP servers

  • Windows Server 2003: Microsoft Active Directory
  • Windows Server 2008: Microsoft Active Directory
  • Linux: OpenLDAP
  • Sun Java System Directory
  • Novell eDirectory