Technical article 126184

How can I install and run my OpenServer 5, UnixWare 7 and SCO Unix applications on OpenServer 6.0.0

OpenServer 6.0.0

Written · Last revised

Problem

I have an application that checks the name, release and/or version of the operating system using uname before it will install or run.

Is there a way that I can change the values returned by
uname to allow my OpenServer 5, UnixWare 7 or SCO Unix
application to install/run on OpenServer 6.0.0?

Solution

There are two ways of change the name, release and version values returned by OpenServer 6.0.0.

1) The SCOMPAT environment variable.

Setting this variable influences the uname(C) values returned by the user's shell. The syntax is:

SCOMPAT=release:version[:sysname[:Xrelease]]

For example, before running an install script for a UnixWare application you could type:

SCOMPAT=5:7.1.4:UnixWare
export SCOMPAT

This will result in uname returning the following values:

# uname -v
7.1.4
# uname -r
5
# uname -s
UnixWare
2) The chsysinfo(ADM) command.

The chsysinfo(ADM) command differs from the SCOMPAT Environment variable in the following ways:

- In addition to uname(C), chsysinfo(ADM) also influences
the values that are returned by confstr(S), sysinfo(S) and
uname(S).
- chsysinfo(ADM) affects these return values for all users
on the system whereas SCOMPAT only affects the shell of
the user that the environment variable is set for.

Because chsysinfo(ADM) results in a system wide change, SCO recommend that it only be used for the duration of an installation and that you change back to the default using:

chsysinfo default
once the installation has been completed.

See also

TA126120 "The chsysinfo(ADM) osr5 command option does not
set the release correctly."

From the Xinuos technical article database, record 126184. Reproduced with permission. The original is at www.sco.com/ta/126184, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.