Building the demo applications, Problems running the demo programs, Problems running the c demo programs on unix – Oracle Audio Technologies B31679-01 User Manual

Page 92: Problems running the c demo programs on windows

Advertising
background image

84

Oracle TimesTen In-Memory Database Installation Guide

A sample file containing definitions for the DSNs required by the
TimesTen demo applications is provided in

/var/TimesTen/

sys.odbc.ini

, if your product was installed as root. If installed by a

non-root user the file is located in

install_dir/info/sys.odbc.ini

.

Building the demo applications

Source code and makefiles are provided for all the demo applications.
See the README file in install_dir

/demo

for more details about

the

demo

directory.

Problems running the demo programs

Make sure you run the

install_dir/demo/ttdemoenv.sh

,

.csh

or

.ba

t file to set up your demo environment correctly. To avoid problems

with the demo programs, check the environment variables and
installation as discussed in the demo README files.

Problems running the C demo programs on UNIX

On UNIX, when running the demo programs, check the following:

• Are one or more TimesTen drivers installed? Check the

lib/

subdirectory of the installation directory for libraries beginning with

libtten

.

The default installation directory for a root installation is:

/opt/TimesTen/TTinstance/

on Solaris, HP-UX and Linux.

/usr/lpp/TimesTen/TTinstance/

on AIX.

• Is the TimesTen main daemon (

timestend

) running? See

"Starting

and stopping the daemon on UNIX"

in the

Oracle TimesTen In-

Memory Database Operations Guide

.

Problems running the C demo programs on Windows

On Windows, when running the demo programs, check the following:

• Are the correct TimesTen drivers installed? Double click on ODBC

in the Control Panel, and check the list of installed ODBC drivers.

• Are the DSNs installed correctly? Check the System DSNs in your

ODBC Data Source window. There should be several DSNs set up to
use TimesTen.

• Do you have write permission on the directory where the data store

resides?

Advertising