Installing AVS/Express |
|
This chapter provides instructions for installing AVS/Express Release 7.1. It includes the following sections:
Each of these sections contains detailed steps for installing AVS/Express. You should read the sections in order and complete all of the indicated tasks in the order presented to ensure a successful installation.
AVS/Express is available on compact disk (CD-ROM) or through download. The CD-ROM contains versions of AVS/Express for multiple hardware platforms. If you did not receive the CD and wish to, you should contact Advanced Visual Systems immediately. (This manual uses the terms CD and CD-ROM interchangeably to describe a compact disk.)
The installation procedure can be summarized in six steps.
These steps are described in the sections that follow.
Before you mount the media, you should know where you want to install AVS/Express. By default, the installation program creates an express directory and installs AVS/Express in it. However, the installation program allows you to select a different installation directory.
Choose or create an installation directory now, and then write the full path and directory name in the table below for future reference. In the steps that follow, this install or home directory will be referred to as install-dir.
On some systems, the CD-ROM is automatically mounted; on others you need to use the mount command. Similarly, some systems require that you create a mount directory, whereas others have a /cdrom directory.
At this point, you should decide whether you already have a /cdrom directory, whether you want to use an existing directory, or whether you want to create a directory for mounting CD-ROMs. In any case, write the mount directory name in the table below for future reference. The directory that you specify will be referred to as /cdrom in all of the instructions that follow.
Follow the procedure below to mount the CD-ROM.
This section describes how to read the AVS/Express software from the media and execute the installation program.
On Unix platforms, when the installation is finished, you may wish to rename the install directory. Such renaming is helpful if you wish to maintain multiple versions of AVS/Express installed on the same machine.
When AVS/Express is installed, it is dynamically linked with many of its own shared libraries. In some cases additional libraries are required that may not be installed on your system. Advanced Visual Systems has included the libraries that might be missing in the directory <install-dir>/lib/<machine>/missing.
If you find the libraries required by the express executable are not available on your system, change the LD_LIBRARY_PATH variable to include the <install-dir>/lib/<machine>/missing directory as in the following example (assumes Solaris):
For more details, see the Installing AVS/Express manual.
To install AVS/Express on a Linux system:
To use Viz/Express, start AVS/Express with the -viz command line option.
You must have administrator privileges in order to install AVS/Express. This is because the installation program modifies the system PATH environment variable in the Windows Registry.
The complete procedure for installing AVS/Express consists of the following steps:
AVS/Express Release 7.1 uses a new unified licensing system. Previous releases of AVS/Express (5.x and 6.x) used two different sytems depending on the platform. AVS/Express on Linux and new platforms used a simple node locking system which was called the "simplified licensing scheme" in the release notes of 6.x. AVS/Express on Windows and the older Unix platforms used a system based on FLEXlm. All users of AVS/Express pre-7.0 will need to install new licenses. Permanent licenses must be requested from AVS support. You may request a temporary license at
The available licensing models are summarized by the following table. The axes (variables) of the table are identified by 2 questions:
The combination of not checking of simultaneous users but limited to a single host are typlically called node locked licenses. The combination of limiting the number of users but not restricting the host machine are typically called floating licesnes. However, the table shows how different combinations are possible. A third important licensing attribute is whether or not there is an expiration date. A license with no checking of simultaneous users and also not host limited can be combined with an expireation date for a demo license
To license AVS/Express, you should create a small text file that contains your license key on a single line. Usually the file is named license.dat, although this can be changed if you use the XP_LICENSE_FILE variable as described below. Make sure the file is saved as plain text without any word processing formatting information. It is possible to put the license keys for mutiple machines in a single file - just put one license key per line. Lines that start with '#' are considered comments and will be skipped.You should set the XP_LICENSE_FILE environment variable to tell AVS/Express where to look for the license.dat file. This variable must specify the full path and filename of the license file, for example:
If XP_LICENSE_FILE is not defined, AVS/Express searches for a file named license.dat in $XP_ROOT (if defined). AVS/Express will also check for the license file in the Express install directory.
If Express is having problems finding your license file, set the environment variable XP_LICENSE_DEBUG
License keys can be obtained by contacting AVS customer support.
AVS/Express Visualization Edition users should ensure that the XP_FEATURE environment variable is set to VIZ_EXPRESS before using the licdiag utility and before starting AVS/Express.
You must complete the following procedure to create a new license file.
If you have not yet completed a license request form, do so now.
The License Request Form was included with your media and documentation, but it is also available on the Advanced Visual Systems web page, at:
http://help.avs.com/licensing/.
The License works on the client/server model, so in order to complete the License Request Form, you must know where the licensing server processes will run (the host machine), whether you purchased a node-locked or floating license, and you will need to know which AVS/Express edition (Developer or Visualization) you are licensing. You will need to supply information about your machine's identity. A simple way to get this information is to attempt to run AVS/Express. The resulting error message will list the identifying information that you need to supply in order to request a license. This is especially helpful in cases where a machine has more than one internet addres or more than one network interface card. The message will show which addresses AVS/Express is using.
The following shows an example of the message:
Sorry, no license can be issued for EXPRESS at this time. Call AVS Inc. Customer Support for more information. Be prepared to tell them the following information about your machine: Internet address: 192.138.235.126 Volume Serial Number: c04b-3482
Advanced Visual Systems will send the license information to you. The information that you receive will look similar to the information shown below.
The license file is an ordinary text file that contains lines that look like the following (all on one line).
AVS LICVER=1 PRODUCT=EXPRESS DATE=30-dec-2004 HOSTID:192.253.36.22 CUSTID=AVSInc PASSWD:4c8e057c282cab61d7d4324d9b4105c9
A single file can contain multiple licenses. Blank lines and comment lines starting with '#' are skipped. If you are able to share files over your local network, you can manage multiple node locked licenses by putting them all in a single shared license file. The following example shows 2 node locked licenses in a single file (both license lines on one line).
# # Workstation 1 AVS LICVER=1 PRODUCT=EXPRESS DATE=30-dec-2005 HOSTID=192.253.36.22 CUSTID=AVSInc PASSWD=4c8e057c282cab61d7d4324d9b4105c9 # # Workstation 2 AVS LICVER=1 PRODUCT=EXPRESS DATE=30-dec-2005 HOSTID=192.253.36.23 CUSTID=AVSInc PASSWD=5b8e057c282cab61d7d4324d9b4105c9
The following example shows a use-limited license that allows 5 concurrent copies of AVS/Express to be active at any one time. The presense of the keyword "LIMIT" distinguishes the two types of licenses. This particular example shows a hostid that allows any machine on the local network to run AVS/Express. This corresponds to what is commonly called a floating license.
AVS LICVER=1 PRODUCT=EXPRESS LIMIT:5 DATE=30-dec-2004 HOSTID:192.253.36.00/24 CUSTID=AVSInc PASSWD:4c8e057c282cab61d7d4324d9b4105c9
Use-limited licenses must be under the control of a license server. They cannot be read directly by AVS/Express. For more information on the license see the format section in Appendix A.
AVS/Express can read its licenses either from a local file or from a file in a remote shared directory. By convention, this file is usually called license.dat, but you can use any name you want. Thus installing a license means creating a license file and pointing AVS/Express at the license file. The license file can be created with any text editor, but if you use a word processor program make sure to save the file as plain text without any markup. In other words, don't create a .doc file or .rtf file, etc. It does not matter to AVS/Express what the file extension is, but it can be confusing to use a extension also used by common word processor programs. On Windows, using the notepad editor and naming the file license.txt is a simple way to insure that the file is plain text.
When AVS/Express starts up, it determines the license filename by looking at the following (in order).
When setting XP_LICENSE_FILE make sure to use the complete pathname including its directory. The following shows some examples:
setenv XP_LICENSE_FILE /home/smith/express_license.dat
export XP_LICENSE_FILE=/home/smith/express_license.dat
(Windows command shell syntax)
set XP_LICENSE_FILE=C:\Documents and Settings\smith\Application Data\express\license.dat
To help troubleshoot problems, set the environment variable XP_LICENSE_DEBUG to any non-null value.
setenv XP_LICENSE_DEBUG 1 (Unix tcsh shell) export XP_LICENSE_DEBUG=1 (Unix bash shell) set XP_LICENSE_DEBUG=1 (Windows command shell)
Instructions on how to run the license server are found in a later section. On the client machine (the machine running AVS/Express) all you have to do is set the environment variable XP_LICENSE_SERVER before AVS/Express is started. It has the form hostname:port.
setenv XP_LICENSE_SERVER lserv.avs.com:33333 (Unix tcsh shell) export XP_LICENSE_SERVER=lserv.avs.com:33333 (Unix bash shell) set XP_LICENSE_SERVER=lserv.avs.com:33333 (Windows command shell)
A different port may be used, but only if the license server has been configured to use a different port. 33333 is the default. If you use the default port, it can be omitted from the environment variable.
setenv XP_LICENSE_SERVER lserv.avs.com (Unix tcsh shell) export XP_LICENSE_SERVER=lserv.avs.com (Unix bash shell) set XP_LICENSE_SERVER=lserv.avs.com (Windows command shell)
To help troubleshoot problems, set the environment variable XP_LICENSE_DEBUG to any non-null value as described in the previous section.
Licenses that are use-limited require the use of a license server. The AVS license server is a fairly small Java-based program. It can be run on any machine that supports Java. The license server software is totally independent of AVS/Express. AVS/Express does not have to be installed on the machine hosting the license server. However, the machines that are used to run AVS/Express must be able to make a TCP connection to the machine running the license server. This may present an issue if the license server machine and the AVS/Express client machine are separated by a firewall.
For more information about the license server please see Appendix A.
If you already have an AVS/Express license, but you need to upgrade or update your license information, complete the procedure below.
Read this section only if you want to link AVS/Express with the Database Kit. If you are not using the Database Kit, skip this section and go to Starting AVS/Express.
Two files are of particular interest when linking AVS/Express to the Database kit and to the database specific libraries; the express.exe and the config.h files.
Follow the instructions below to modify your express.exe file so that it is linked with the appropriate database-specific libraries. The necessary files and their locations are identified in the table below.
When the script completes, your AVS/Express executable will be linked to the database libraries and you will be ready to run AVS/Express with the Database Kit.
When the batch job completes, your AVS/Express executable will be linked to the database libraries and you will be ready to run AVS/Express with the Database Kit.
If you want to link AVS/Express with a non-certified version of a database, you need to modify the corresponding database link line in the <install-dir>/express/include/<machine type>/machinc.mk makefile. This makefile links the database version specified in the machinc.mk makefile to the AVS/Express executable when you install the Database Kit.
Use the appropriate platform-specific procedure below to start AVS/Express.
If your system is not properly configured, it is possible that you could receive error messages when you first start AVS/Express. These problems could be a result of an improperly set environment variable, a license server problem, or some other configuration problem. Some of the more commonly errors are described below; whenever possible, a remedy for the problem is also provided.
If, while AVS/Express is starting, you notice messages stating "cannot find V files", in particular, the sys.v file, it is possible that the XP_PATH variable was not set correctly.
Typically, you do not need to define the XP_PATH environment variable to run AVS/Express; it is automatically determined and set based on your directory file search path. However, if the current directory (.) is not in your path, AVS/Express can fail to correctly set XP_PATH.
Follow this procedure to solve this problem.
![]() |
![]() |
![]() |
![]() |