- Creates executable files from files you loaded onto the
system.
To prepare the OMNIDEX software, follow the steps below:
1. If you have not logged in as the user omnidex, do so now.
2. Execute odxmake by entering it at the system prompt:
$ odxmake
3. Enter the name of the directory where your C libraries
reside. If you do not own a development version of C, then
use /omnidex/lib/crt1.o.
Enter the directory containing the C libraries
[/lib]: /opt/SUNWspro/SC3.0.1/lib
build programs using /opt/SUNWspro/SC3.0.1/lib/crt1.o
4. Enter the name of the directory where the sockets library
resides:
Enter the directory containing the Sockets library
[/usr/lib]:
5. odxmake then asks if you are using archived or shared
libraries. To select archived libraries, enter A or press
[Return]. To select shared libraries, enter S.
Would you like the (A)rchived or (S)hared Omnidex libraries
[A]?
6. Select the drivers for the data management systems that
you want to enhance with Omnidex.
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 8.0, 8.1 or [9]:
Depending on the version and home directory you specified,
a message similar to the following appears:
Link using Oracle 9 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.2 or [7.3]:
Depending on the version and home directory you specified,
a message similar to the following appears:
Link using Informix 7.3 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
|