Skip Top Menu Navigation
Skip Top Menu Navigation

The FREE Enterprise Open Source Database

  Software Tools Interfaces Development Documentation
 

 
You Are Here:  SAP DB > 7.3 > Development > Porting

SAP DB is now SAP MaxDB! For more information, visit the SAP MaxDB pages in the SAP Developer Network.

Porting SAP DB

You can find the latest information on the porting process at SAP DB Wiki.

Building the SAP DB software requires a special make-tool and a translator for translating Pascal to C. Therefore, you must first port the development tools and then the database.

The sources contain tests for specific platforms. Since this ought to change, we would like to encourage the Open Source community to replace the platform tests with tests for features that fit into the autoconf framework.

Porting the development tools

  1. Install Perl, Python, bison, flex, and autoconf.
  2. Download and unpack the sources of the tools.
  3. Run ./configure && make

Porting the database

  1. Download and unpack the sources of the database .
  2. Or: download the devevlopment version through CVS
  3. Change to the top directory of the sources.
  4. Run the script newSapdbSrc.py. It is in the tools' directory.
    Key in:
    <tools_dir>/bin/newSapdbSrc.py `pwd`
  5. Run . .iprofile. The required environment variables are initialized.
  6. Run imf.pl all
Adjustment to the new platform:
  1. Key in export USE_AUTOCONF=YES
  2. Include RunTime/sapdbconfig.h instead of config.h
  3. Edit $SRC/SAPDB/RunTime/RTE_Configure.ac instead of configure.ac.
  4. Edit $SRC/SAPDB/RunTime/sapdbconfig.h.in instead of config.h.in.
If you change the files specified in nos. 3 and 4 and then start the make-process, the scripts autoconf and configure run as part of a build.


Search
SAP DB Information
See also ...

Questions or comments about the Web site? Contact the webmaster.