System requirements

From current

Jump to: navigation, search
Installation > System requirements

Contents

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 8, 9 and 10
Intel and AMD
32 bit and 64 bit
Red Hat Enterprise Linux 4.x, 5.x, 6.x
Fedora Core 14, 15
SUSE Enterprise 10 (32-bit only), 11
Open SUSE 11.4
Debian 5.0, 6.0
Ubuntu 8.04, 10.04, 10.10, 11.04, 11.10
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 8, 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.
Solaris 8 Sun OS patch 108434-03
Solaris 8, 9, or 10 The zlib package (not required if you are installing only Klocwork Architect or Klocwork developer tools).
a) 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.
b) If the zlib package is not installed, install it. There are two methods.
Method 1. Install it from the Solaris 8 Software CD 2 of 2. Mount the CD to the system (it should mount automatically. If it doesn’t, mount it manually).
$ su –
# pkgadd –d /cdrom/cdrom0/Solaris_8/Product SUNWzlib

This command installs zlib to /usr/lib.
Method 2. Install it from a downloaded package. Download the zlib package from http://sunfreeware.com.
# gzip –d zlib-1.x.x-sol8-sparc-local.gz
# pkgadd –d ./zlib-1.x.x-sol8-sparc-local
This command installs zlib to /usr/local/lib.
Solaris 8 or 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. For details about pkg-get, refer to: http://www.sunfreeware.com/pkg-get.html
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.
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
Linux x86, 64-bit The 32-bit version of the libncursesw library must be installed.
  • For Fedora Core and Redhat Enterprise Linux, run this command:
    $ sudo yum install ncurses-libs.i586
  • 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 10.8.2.1. 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: 2 Gbytes. 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. If you are using parallel or multicore processing, you should allocate a minimum of 1 GB of memory per processor or core. You can also improve Klocwork performance with multiple core processors.

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

Insight detects which version--if any--of Java you have installed. If you don't have Java installed or you're using a version of Java earlier than Oracle (formerly Sun) Java 1.6 Update 29, the Server, User or Distributed Analysis installation package will install 1.6 Update 29. Your system must meet the requirements for this version of Java.

The installation package will automatically detect if you have a 32-bit or 64-bit operating system and will install the appropriate version of Java.

Linux and Solaris

Insight installs Java 1.6 Update 29. 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 29 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 Integrated Development Environments

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 and 3.7
Wind River Workbench 3.1, 3.2
QNX Momentics 4.6, 4.7
Microsoft Visual Studio .NET 2005*, .NET 2008* and .NET 2010*. The Express edition of Visual Studio is not supported. The Smart Device project type is not supported.

*Indicates support for Klocwork Refactoring.

Supported C# IDEs

Klocwork C# analysis is available for Microsoft Visual Studio .NET 2005, 2008 and 2010. 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
JetBrains IntelliJ IDEA 8.x, 9.0, 10.0, 10.5
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 3.5.8 (AIX only), 3.6 and 9
  • Internet Explorer 8* and 9
  • Apple Safari 5.x
  • Google Chrome 15

*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:

  • Base ClearCase 7.x
  • CVS 1.12.x
  • Git 1.7.x
  • TFS 2010
  • Perforce Visual Client 2010.x
  • Subversion 1.4.x, 1.6.x
Note that Eclipse code review supports only the Subversive plug-in.

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
Analog Devices Blackfin and TigerSHARC dsp ccblkfn, ccts
ARM armcc
armlink
ar
armcc, armcpp, tcc, tcpp
armlink
armar
CodeWarrior Freescale S12 chc12 chc12
Compiler caching tools ccache ccache, distcc
Cosmic cosmiccompile
cosmiclink
cxs12x, cx6812, cx6816
clnk
Fujitsu FR Family fcc fcc911s, fcc907s
GNU gnu
gnu_ld
gcc, g++, cc, c++
ld
GNU ar ar ar
Green Hills GHS ghs
ghscom
gcc, gcx, ccarm, cxarm, ccmips, cxmips
ecomarm
Hexagon Tools qdsp qdsp-gcc, qdsp-g++
Hitachi ch38 ch38 ch38.exe
IAR Systems ARM iccarm
ilinkarm
iccarm
ilinkarm
IAR Systems C compiler/linker
(see Limitations)
icc8051
iccv850
xlink
icc8051
iccv850
xlink
Intel XL C/C++ xlc cc, xlc, xlC and related commands (see <klocwork_install>/config/kwfilter.conf for full list)
ImageCraft AVR iccavr iccavr
Intel C++ icc
icl
icc, icpc
icl
Keil CA51 c51
lx51
c51, cx51, c166, c251
lx51, l166, l251
MetaWare High C/C++ arc
ararc
ldarc
mcc
hcarc, hcac
ararc, arac
ldarc, ldac
mcc
Metrowerks CodeWarrior mwc mwcc
Microchip MPLAB pic24 pic30 pic30-gcc
Microsoft Visual C++ mscompile
mslink
cl, clarm
link, lib
Microtec mcx
mlk
mcx
mlk
MPLAB C18 mcc18
mplink
mcc18
mplink
Panasonic C cc103S
ld103S
cc103S
ld103S
QNX qnx qcc
Renesas SuperH and RX family rxcompile
rxlink
rxc, shc
optlnk
Renesas R8C and M16C families nc30 nc30
Renesas V850 ca850
ld850
ca850
ld850
Star Core Freescale scc
sc100_ld
scc
sc100-ld
Sun Studio C/C++ sun CC, cc
Tasking IFX SLE88 cj2 cj2
Tasking Tricore tricore_compile
tricore_link
cctc
ltc
TI tms320c6x and tms320c55x cl6x
link6x
ar6x
cl6x, cl55
link6x
ar6x
TI tms320c28x cl2000
lnk2000
ar
cl2000
lnk2000
ar2000
TI msp430 C/C++ cl430 cl430
TriMedia tmcc tmcc tmcc, tmCC
Wind River Diab diab
dld
ar
dcc, dplus
dld
dar
Wind River GCC gnu ccppc
ZiLOG eZ80 ez80cc
ez80link
ez80cc
ez80link

Supported C# language specifications

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

Supported C++11 language extensions

ExtensionSupported in ms parser?Supported in gnu parser?
rvalue references yes yes
decltype expression yes yes
static_assert expression yes yes
nullptr keyword yes yes
auto type specifier yes yes
lambda expressions yes yes
rightshift as two angle brackets yes yes
suffix return type yes yes
defaulted and deleted functions no yes
variadic templates no yes
strongly typed/forward declared enums no no
standard layout types no yes
extended friend declarations no no
initializer lists no no
multi-declarator auto yes yes
extern templates yes yes
extended sizeof yes yes
inline namespace no no
__func__ predefined identifier no no
range-based for no no

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

The Database Server is a MySQL 5.1.55 database server. If you want to use your own manually installed MySQL database server, it must be version 5.1.55. If necessary, upgrade your separate MySQL database before you install or upgrade Klocwork Insight.

Supported LDAP servers

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