After you compile with tracing, you must enable tracing for the DataBlade module after you register it in a database. See "Enabling Tracing in a DataBlade Module" for instructions. You must also enable tracing in the database session. See "Enabling Tracing in a Database Session" for instructions.
Compiling on UNIX On UNIX platforms, you use the generic UNIX.mak makefile. This makefile includes platform-specific makefiles as files named makeinc.platform. To specify the UNIX platform, set the TARGET environment variable to the path and filename of the include file for your platform. Platform-specific files are located in the directory $INFORMIXDIR/incl/dbdk.
1. Copy the generated src/C directory and all of its contents to your UNIX machine.
2. To compile and link shared objects on a Sun Solaris 2.5 computer using the Sparc compiler, execute the following command at the C shell:
1. Set the include and library file directories in Microsoft Developer Studio.
2. Compile and link the project.mak file.
3. Mark the attributes of the project.bld file as read-only.
1. Choose Tools Options.
2. Click the Directories tab in the Options dialog box.
3. Select Include files from the Show directories for scroll list.
4. If the %INFORMIXDIR%\incl\public directory is not on the list, add it: a. Double-click the last field in the list (which is empty). b. Click the browse button (...). c. Select the %INFORMIXDIR%\incl\public directory from the Open dialog box. d. Click OK.
5. Select the %INFORMIXDIR%\incl\public directory.
6. Click the Move Item Up button to relocate the directory above any other Informix include directories.
7. Select Library files in the Show directories for scroll list.
8. If the %INFORMIXDIR%\lib directory is not on the list, add it: a. Double-click the last field in the list (which is empty). b. Click the browse button (...). c. Select the %INFORMIXDIR%\lib directory from the Open dialog box. d. Click OK.
9. Click OK to exit the Options dialog box.
1. Using Windows Explorer, copy the src\c directory and all of its contents to the Windows NT machine on which an Informix database server is installed.
2. Open your project.mak file in Microsoft Developer Studio Visual C++.
3. Choose Build Set Active Configuration.
4. Select a version of the project in the Set Active Project Configuration dialog box:
5. Click OK.
6. Choose Build Rebuild All to compile.
1. Using Windows Explorer, copy the src\c directory and all of its contents to the Windows NT computer on which an Informix database server is installed.
2. Set the INCLUDE environment variable to %INFORMIXDIR%, add %INFORMIXDIR%\bin to the PATH environment variable, and add %INFORMIXDIR%\lib to the LIB environment variable.
3. To set the INCLUDE, LIB, and PATH environment variables to include Microsoft Developer Studio Visual C++ default compiler libraries and header files, execute the following command from the bin directory of your Microsoft Developer Studio Visual C++ installation:
4. Execute the following command from the src\c directory: