Continuing with the build process

Assuming the configuration part worked you can continue with the build process, i.e. make and make install. After this you should have the following files installed (assuming that prefix=/usr/local):

    /usr/local/  
        lib/
            libtao.so*
            libtao.a
        bin/
            tao
            tao-config
            taosf
            taoparse
            tao2wav

The install process leaves Tao's header files where they are but provides a shell script tao-config which can be used to find out where both these headers and the various libraries are installed. This is particularly useful if you want to write your own C++ programs and link them against the Tao library. It is used in the following way:

    tao-config --prefix     =>  location for installed files
    tao-config --cflags     =>  command line flags for the compiler
                                to find Tao's header files
    tao-config --libs       =>  command line flags for the compiler
                                to find Tao's libraries

The next step is important. In order for your system to locate the binary executables, shell scripts and libraries you have to set two environment variables: PATH and LD_LIBRARY_PATH. This process is described step by step in the following sections. The first thing you need to do though is find out which UNIX shell you use. To do this type:

    echo $SHELL

  • Setting PATH and LD_LIBRARY_PATH for the bash shell
  • Setting PATH and LD_LIBRARY_PATH for the tcsh shell

  • ©1999,2000 Mark Pearson m.pearson@ukonline.co.uk April 30, 2000