Building pvattest on Linux on x86 hardware

To build the command, download a source tarball from GitHub, unpack it on your x86 Linux system, switch to the pvattest folder, and run make.

Before you begin

Check if the package is already installed. The package name depends on your distribution:
  • Ubuntu or SUSE Linux® Enterprise Server: s390-tools
  • Red Hat® Enterprise Linux or Fedora: s390utils

If you need to install the package, you need a x86 machine that you have full control over, and that adheres to your organization's security standards.

The following example assumes that the s390-tools version is s390-tools 2.23.0.

Check the s390-tools/README for any dependencies. If the dependencies are not fulfilled, the build fails but tells you which packages are required.

Procedure

  1. Download a tarball from https://github.com/ibm-s390-linux/s390-tools/releases
    For example:
    $ wget https://github.com/ibm-s390-linux/s390-tools/archive/refs/tags/v2.23.0.tar.gz
  2. Unpack the tarball.
    For example:
    $ tar xf s390-tools-2.23.0.tar.gz
  3. Switch to the pvattest folder in the unpacked tarball directory.
    For example:
    $ cd s390-tools-2.23.0/pvattest
  4. Run the make command to compile the pvattest command.
    For example:
    $ make

Results

The pvattest binary now resides in s390-tools-2.23.0/pvattest/src.