
I got access to a z-Series from IBM running Linux SLES 9.

I ran into one problem: the people there could not install
the developer version of the JPG library. So I recompiled
my own version and create a static version of SSWF. This
works nicely.

The command lines I used are:

  mkdir BUILD
  cd BUILD
  LDFLAGS=-L$HOME/local/lib CPPFLAGS=-I$HOME/local/include \
  	../configure --disable-shared --prefix=$HOME/local
  make install

This assumes you installed the JPEG library under $HOME/local/
if necessary.

If you can and some software are missing, use rug to install them.

  rug --install <package name>

Try rug --help or man rug for more info.

I also create a spec to generate an RPM. One problem: it
won't include my version of the JPEG library thus you cannot
be 100% sure that it will be compatible (if you compile against
the library.) But that should be a good start if you need to
recompile. You also most certainly will need a .rpmmacros
to define some directories properly. The RPM command line:

  mkdir -p sswf/{BUILD,s390x,sswf-root}
  rpmbuild -bb --quiet --target s390x-m2osw-linux sswf.spec

Note: I commented out the BuildRequires because I did not have
the JPEG nor the FreeType2 development files. It still compiles
with my own version of the JPEG. The ft2sswf was not built.

Note that the RPM build command line assumes that you put the
source and documentation packages in that directory.

