- Creates executable files from files you loaded onto the
system.
To run odxmake, follow these steps.
1. Run odxmake, by entering it at the system prompt:
$ odxmake
2. odxmake asks for the directory that contains your C libraries.
Enter the absolute path of the directory where your libraries
reside or press [Return] to accept the default of /lib.
Enter the directory containing the C libraries
[/lib]:
odxmake then checks to see which data drivers have been provided
in your product account and asks which drivers to link into
the Omnidex utilities. You may select any or all of the available
drivers. However, make sure that if the selected driver is
for a third party file management system (not POSIX flat files),
the corresponding vendor software (like Oracle) is present
on your system. The following sections describe the prompts
and the responses required to select each of the available
drivers.
When installing drivers, be sure to install all that apply
to your installation. If you re-run odxmake later to add a
driver you overlooked, you must reinstall all drivers, including
the ones you previously installed.
Installing the Oracle Driver
To select the Oracle driver, enter Y
for “yes” at this prompt.
Would you like the Oracle Driver (Y/[N])? y
odxmake asks you for the following information. Hit enter
wihtout typing a response to accept the default responses,
enclosed in square brackets [ ]:
1. Oracle’s home directory
Enter the Oracle home directory [/u/oracle]:
2. The Oracle SID (system identifier)
Enter the Oracle SID [oracle]:
3. The version of Oracle you are running.
Enter the Oracle version 7.1, 7.2, 7.3 or [8.0]:
Depending on the version and home directory you specified,
a message similar to the following appears:
Link using Oracle 7.1 libraries in /u/oracle/lib
top
Installing the INFORMIX
RDBMS Driver
To select the INFORMIX RDBMS driver, enter Y for “yes”
at this prompt:
Would you like the INFORMIX RDBMS driver (Y/[N])?
Y
odxmake asks the following questions. Hit enter without
typing a response to accept the default responses, enclosed
in square brackets [ ]:
1. The INFORMIX home directory:
Enter the INFORMIX RDBMS home directory [/usr/informix]:
2. The version of INFORMIX you are running:
Enter INFORMIX version 7.1 or [7.2]:
Depending on the version and home directory you specified,
a message similar to the following appears:
Link using Informix 7.1 libraries in /usr/informix/lib
3. the name of the INFORMIX server:
Enter the INFORMIX Server name [INFORMIX]:
top
Installing the POSIX
Flat File Driver
To select the POSIX or “flat” file driver, enter
Y for “yes” at this prompt:
Would you like the POSIX flat file driver Y/[N])?
Y
Omnidex uses POSIX routines that are part of the HP-UX operating
system, so you do not need to provide any additional information
for the POSIX driver.
top
Finish the Driver Installation
When you are finished installing drivers, odxmake lists all
of the libraries and files that it is linking. Finally, it
tells you that it is updating .profile to initialize Omnidex.
If you failed to install a driver, and would like another
chance, you can run odxmake again. Note, however, that at
that time you must also re-install all the previously requested
drivers as well.
top
|