[Pgpool-general] How to submit bug report for compile failure on Suse 11.2
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Nov 18 08:28:57 UTC 2009
Sorry, seems attachment was lost.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
-------------- next part --------------
Index: config.h.in
===================================================================
RCS file: /cvsroot/pgpool/pgpool-II/config.h.in,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -c -r1.7 -r1.7.2.1
*** config.h.in 27 Dec 2008 07:26:41 -0000 1.7
--- config.h.in 18 Nov 2009 06:55:01 -0000 1.7.2.1
***************
*** 45,50 ****
--- 45,53 ----
/* Define to 1 if you have the `compat' library (-lcompat). */
#undef HAVE_LIBCOMPAT
+ /* Define to 1 if you have the `crypt' library (-lcrypt). */
+ #undef HAVE_LIBCRYPT
+
/* Define to 1 if you have the `gen' library (-lgen). */
#undef HAVE_LIBGEN
Index: configure.in
===================================================================
RCS file: /cvsroot/pgpool/pgpool-II/configure.in,v
retrieving revision 1.27.2.6
retrieving revision 1.27.2.7
diff -c -r1.27.2.6 -r1.27.2.7
*** configure.in 29 Oct 2009 12:58:47 -0000 1.27.2.6
--- configure.in 18 Nov 2009 06:55:01 -0000 1.27.2.7
***************
*** 60,65 ****
--- 60,66 ----
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
AC_CHECK_LIB(resolv, main)
+ AC_CHECK_LIB(crypt, main)
dnl Checks for header files.
AC_HEADER_STDC
Index: configure
===================================================================
RCS file: /cvsroot/pgpool/pgpool-II/configure,v
retrieving revision 1.30.2.6
retrieving revision 1.30.2.7
diff -c -r1.30.2.6 -r1.30.2.7
*** configure 29 Oct 2009 12:58:47 -0000 1.30.2.6
--- configure 18 Nov 2009 06:55:01 -0000 1.30.2.7
***************
*** 19911,19916 ****
--- 19911,19984 ----
fi
+ echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
+ echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
+ if test "${ac_cv_lib_crypt_main+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lcrypt $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+
+ int
+ main ()
+ {
+ main ();
+ ;
+ return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_lib_crypt_main=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_crypt_main=no
+ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
+ echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
+ if test $ac_cv_lib_crypt_main = yes; then
+ cat >>confdefs.h <<_ACEOF
+ #define HAVE_LIBCRYPT 1
+ _ACEOF
+
+ LIBS="-lcrypt $LIBS"
+
+ fi
+
+
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
More information about the Pgpool-general
mailing list