next up previous contents index
Next: Windows instructions: Up: Installation: Previous: Installation:   Contents   Index

Unix instructions:

  1. Set LDFLAGS to indicate the Oracle libraries needed to build the system. For instance:
    
    LDFLAGS=-lclntsh -lcommon -lcore4 -lnlsrtl3
    
    or
    
    setenv LDFLAGS "-lclntsh -lcommon -lcore4 -lnlsrtl3"
    
    depending on the shell that you are using. Note that libraries might be different depending on the version of Oracle or the OS in use. Also, the order of these libraries in the list is usually important.
  2. When running configure during XSB installation, add these options: -with-oracle and -site-static-libraries=ORACLE_LIB_PATH, where ORACLE_LIB_PATH is the directory that has the Oracle client libraries.

    Sometimes, building Oracle requires that you use a C compiler other than the default one. Use -with-cc=your-compiler to tell configure which compiler to use.

  3. run configure with appropriate options specified on command line.
  4. when done, the configure script will tell you whether you should build XSB with just makexsb or pass an additional option.
  5. When makexsb is done, it will tell use if you need to run XSB using the usual .../bin/xsb script or, maybe, something like .../bin/xsb-ora.
  6. after starting XSB, load ora_call.P by [ora_call].


next up previous contents index
Next: Windows instructions: Up: Installation: Previous: Installation:   Contents   Index
Baoqiu Cui
2000-04-23