Menu

#3 Sybase 12.5 libs not found by configure

open
nobody
None
5
2002-02-06
2002-02-06
No

In version 12 or 12.5, Sybase has changed how they
organize the Open Client/Server libraries. These
libraries now have their own directory under
$SYBASE/OCS (which is a symlink to, for example,
$SYBASE/OCS-12_5). the configure scripts in the
top-level and unix directories are unaware of this new
structure. Below are patches to find the OCS symlink
directory. If preferable, I could supply patches to
find the actual OCS directory, not the symlink to it,
by using the $SYBASE/install/OCS.(sh|csh) scripts.

diff -rc sybtcl-3.0rc2/configure.in
sybtcl-3.0rc2-patch/configure.in
*** sybtcl-3.0rc2/configure.in Thu Dec 28 19:12:51 2000
--- sybtcl-3.0rc2-patch/configure.in Wed Feb 6
10:37:09 2002
***************
*** 287,292 ****
--- 287,296 ----
SYBASE="$f"
AC_MSG_RESULT(setting SYBASE to $SYBASE)
break
+ elif test -r "$f/OCS/include/sybdb.h" -o -r
"$f/OCS/include/ctpublic.h" ;
then
+ SYBASE="$f/OCS"
+ AC_MSG_RESULT(setting SYBASE to $SYBASE)
+ break
fi
done
;;

diff -rc sybtcl-3.0rc2/unix/configure.in
sybtcl-3.0rc2-patch/unix/configure.in
*** sybtcl-3.0rc2/unix/configure.in Mon Jul 10
14:14:04 2000
--- sybtcl-3.0rc2-patch/unix/configure.in Wed Feb
6 09:53:09 2002
***************
*** 115,120 ****
--- 115,124 ----
SYBASE="$f"
AC_MSG_RESULT(setting SYBASE to $SYBASE)
break
+ elif test -r "$f/OCS/include/sybdb.h" -o -r
"$f/OCS/include/ctpublic.h" ;
then
+ SYBASE="$f/OCS"
+ AC_MSG_RESULT(setting SYBASE to $SYBASE)
+ break
fi
done

Discussion


Log in to post a comment.

MongoDB Logo MongoDB