Skip to content
Snippets Groups Projects
Commit d0d18b6e authored by Moe Jette's avatar Moe Jette
Browse files

Add search path for libdb2.so in configure script

parent 87ee3811
No related branches found
No related tags found
No related merge requests found
...@@ -14,9 +14,14 @@ ...@@ -14,9 +14,14 @@
AC_DEFUN([X_AC_BGL], AC_DEFUN([X_AC_BGL],
[ [
AC_ARG_WITH(db2,
AC_HELP_STRING([--with-db2=PATH],[Specify path to DB2 library]),
[ trydb2dir=$withval ]
)
bgl_default_dirs="/bgl/BlueLight/ppcfloor/bglsys /home/bgdb2cli/sqllib /u/bgdb2cli/sqllib" bgl_default_dirs="/bgl/BlueLight/ppcfloor/bglsys /home/bgdb2cli/sqllib /u/bgdb2cli/sqllib"
for bgl_dir in $bgl_default_dirs; do for bgl_dir in $trydb2dir "" $bgl_default_dirs; do
# Skip directories that don't exist # Skip directories that don't exist
if test ! -z "$bgl_dir" -a ! -d "$bgl_dir" ; then if test ! -z "$bgl_dir" -a ! -d "$bgl_dir" ; then
continue; continue;
......
...@@ -166,11 +166,10 @@ a a a a . . . # Z ...@@ -166,11 +166,10 @@ a a a a . . . # Z
<p>Building a Blue Gene compatible system is dependent upon the <i>configure</i> <p>Building a Blue Gene compatible system is dependent upon the <i>configure</i>
program locating some expected files. program locating some expected files.
Since these files may be in a different location on each system, it will In particular, the configure script searches for <i>libdb2.so</i> in the
likely be necessary to edit the file <i>auxdir/x_ac_bgl.m4</i> to identify directories <i>/home/bgdb2cli/sqllib</i> and <i>/u/bgdb2cli/sqllib</i>.
the location of your DB2 library files. If your DB2 library file is in a different location, use the configure
After editing <i>auxdir/x_ac_bgl.m4</i>, execute <i>autogen.sh</i>, option <i>--with-db2=PATH</i> to specify the parent directory.
<i>configure</i>, <i>make</i>, etc.
You will need to configure and build two sets of files for installation. You will need to configure and build two sets of files for installation.
One set will be for the Service Node (SN), which has direct access to the BGL Bridge APIs. One set will be for the Service Node (SN), which has direct access to the BGL Bridge APIs.
The second set will be for the Front End Nodes (FEN), whick lack access to the The second set will be for the Front End Nodes (FEN), whick lack access to the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment