Bingo: Building from Source

Unpack the Source Code

Unzip the bingo-src-XXXX.zip archive (XXXX is the revision number). After finishing the unpacking, go to the bingo-src-XXXX/bingo folder.

Copy the OCI files

On All Systems

Copy oci.h, ociextp.h, and other header files from your Oracle installation (usually located in $ORACLE_HOME/rdbms/public/ and/or $ORACLE_HOME/oci/include/ and/or $ORACLE_HOME/rdbms/demo/) into ../common/oci/include directory. On Solaris, copy them to the ../common/oci/include.sun directory instead.

On 32-bit Windows

Copy oci.lib from your Oracle installation (usually located in %ORACLE_HOME%\oci\lib\msvc\) into ../common/oci/lib32/oci32.lib.
Note: You should rename the file.

On 64-bit Windows

Copy oci.lib from your Oracle installation (usually located in %ORACLE_HOME%\oci\lib\msvc\) into ../common/oci/lib64/oci64.lib.
Note: You should rename the file.

On Mac OS X

Copy liborasdk.dylib from your Oracle installation (usually located in %ORACLE_HOME%\lib\) into ../common/oci/lib64/liborasdk.dylib.

Build

On Linux

Run

make CONF=Release32

or

make CONF=Release64

to build a 32-bit or 64-bit version, respectively.

On Solaris

Run

./make-all.sun.32.sh

or

./make-all.sun.64.sh

depending on whether you want a 32-bit or 64-bit build.

On Windows

Open bingo.sln in Visual Studio 2008. Select the “Release” configuration. Select the “Win32” or “x64” platform depending on whether you want 32-bit or 64-bit distribution. Build the project bingo-oracle.

On Mac OS X

Open bingo.xcodeproj in XCode. Select the “Release” configuration. Build target bingo.

Make the Release Package

After following the instructions provided below, you will get the PACKAGE_NAME.zip archive. Please read the Installation Manual to know how to install the package on your system.

Note: You should have the zip command-line utility installed on your system.

On Linux

Run

./release-linux.32.sh PACKAGE_NAME

to get the 32-bit package.

Run

./release-linux.64.sh PACKAGE_NAME

to get the 64-bit package.

On Windows

Run

release-win-32.bat PACKAGE_NAME

to get the 32-bit package

Run

release-win-64.bat PACKAGE_NAME

to get the 64-bit package.

On Mac OS X

Run

./release-osx.sh PACKAGE_NAME

On Solaris

Run

./release-sun-32.sh PACKAGE_NAME

to get the 32-bit package.

Run

./release-sun-64.sh PACKAGE_NAME

to get the 64-bit package.

 
Back to top
bingo/building_from_source.txt · Last modified: 2010/01/18 22:09 by root
 
 
This site belongs to SciTouch LLC. Contact us at info@scitouch.net if you have questions or feedback. See also Terms of Use.
This site is driven by Dokuwiki engine.