README for the HP Neoview UNIX Drivers (Upd6 R2.2)
6. Move the distribution file into the temporary directory:
• Linux: hpodbc_vvv_LINUX_pkg.tar.gz
• HP-UX (IA-64): hpodbc_vvv_hpux_I_pkg.tar.gz
• HP-UX (PA-RISC): hpodbc_vvv_hpux_P_pkg.tar.gz
7. Expand the installation and product files:
• Linux: gunzip hpodbc_vvv_LINUX_pkg.tar.gz
• HP-UX (IA-64): gunzip hpodbc_vvv_hpux_I_pkg.tar.gz
• HP-UX (PA-RISC): gunzip hpodbc_vvv_hpux_P_pkg.tar.gz
8. Extract the installation and product files. A directory called PkgTmp is created.
• Linux: tar –xvf hpodbc_vvv_LINUX_pkg.tar.gz
• HP-UX (IA-64): tar –xvf hpodbc_vvv_hpux_I_pkg.tar.gz
• HP-UX (PA-RISC): tar –xvf hpodbc_vvv_hpux_P_pkg.tar.gz
9. Install the product:
cd PkgTmp
./install.sh
Note: Except for the sample file, the install.sh script saves a copy (.SAV) of your previous
installation files if they exist.
10. Accept the terms of the license agreement.
11. Enter a directory for the library files, or press Enter to use the default directory (/usr/lib).
12. Enter a directory for the data source template file, or press Enter to use the default directory
(/etc/hpodbc).
13. Enter a directory for the include files, or press Enter to use the default directory
(/usr/include/hpodbc).
14. Enter a directory for the sample program, or press Enter to use the default directory
(/etc/hpodbc/sample).
Setting Up the Client Environment
If you selected default options during installation, ensure that:
• The include (*.h) files are in the /usr/include/hpodbc directory.
• An MXODSN file is in the /etc/hpodbc directory.
Note: By default, the MXODSN file in the package will be installed as
/etc/hpodbc/MXODSN.template. Rename it to MXODSN, and make necessary changes to
the file before using the driver.
• The libraries are located in the /usr/lib directory.
If you select nondefault locations during installation, ensure that the files are installed in the
directories that you specified during installation.
Note: The driver expects the MXODSN file to be present in either the default location (/etc/hpodbc)
or the current working directory (CWD) of the application.
Using a Third Party Driver Manager
• The driver (libhpodbc_drvr.so) has been verified with iODBC and unixODBC driver
managers.
• These drivers, as well as documentation, can be found at these Web sites:
http://www.iodbc.org/
Installation for Neoview Release 2.0 61