Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8aa966e

Browse files
committed
Add mention of config.log for configure failure debugging.
1 parent6a5733a commit8aa966e

File tree

2 files changed

+37
-12
lines changed

2 files changed

+37
-12
lines changed

‎configure

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3020,11 +3020,6 @@ if test "${with_java+set}" = set; then
30203020
yes)
30213021
echo"$as_me:$LINENO: result: yes">&5
30223022
echo"${ECHO_T}yes">&6
3023-
iftest!"$JAVA_HOME" -o! -d"$JAVA_HOME";then
3024-
{ {echo"$as_me:$LINENO: error: Set the JAVA_HOME environment variable to build Java components">&5
3025-
echo"$as_me: error: Set the JAVA_HOME environment variable to build Java components">&2;}
3026-
{ (exit 1);exit 1; }; }
3027-
fi
30283023
30293024
forac_progin jakarta-ant ant ant.sh ant.bat
30303025
do
@@ -3125,8 +3120,10 @@ echo "$as_me: error: ant does not work" >&2;}
31253120
31263121
31273122
iftest -z"$ANT";then
3128-
{ {echo"$as_me:$LINENO: error: Ant is required to build Java components">&5
3129-
echo"$as_me: error: Ant is required to build Java components">&2;}
3123+
{ {echo"$as_me:$LINENO: error: Ant is required to build Java components
3124+
If you have Ant already installed, see config.log for details on the failure.">&5
3125+
echo"$as_me: error: Ant is required to build Java components
3126+
If you have Ant already installed, see config.log for details on the failure.">&2;}
31303127
{ (exit 1);exit 1; }; }
31313128
fi
31323129
if"$ANT" -version| sed q| egrep -v' 1\.[5-9]| [2-9]\.'>/dev/null;then
@@ -5841,8 +5838,12 @@ echo "${ECHO_T}no" >&6
58415838
fi
58425839
iftest x"$pgac_cv_check_readline" = x"no";then
58435840
{ {echo"$as_me:$LINENO: error: readline library not found
5841+
If you have readline already installed, see config.log for details on the
5842+
failure. It is possible the compiler isn't looking in the proper directory.
58445843
Use --without-readline to disable readline support.">&5
58455844
echo"$as_me: error: readline library not found
5845+
If you have readline already installed, see config.log for details on the
5846+
failure. It is possible the compiler isn't looking in the proper directory.
58465847
Use --without-readline to disable readline support.">&2;}
58475848
{ (exit 1);exit 1; }; }
58485849
fi
@@ -5914,8 +5915,12 @@ _ACEOF
59145915
59155916
else
59165917
{ {echo"$as_me:$LINENO: error: zlib library not found
5918+
If you have zlib already installed, see config.log for details on the
5919+
failure. It is possible the compiler isn't looking in the proper directory.
59175920
Use --without-zlib to disable zlib support.">&5
59185921
echo"$as_me: error: zlib library not found
5922+
If you have zlib already installed, see config.log for details on the
5923+
failure. It is possible the compiler isn't looking in the proper directory.
59195924
Use --without-zlib to disable zlib support.">&2;}
59205925
{ (exit 1);exit 1; }; }
59215926
fi
@@ -7341,8 +7346,12 @@ _ACEOF
73417346
73427347
else
73437348
{ {echo"$as_me:$LINENO: error: readline header not found
7349+
If you have readline already installed, see config.log for details on the
7350+
failure. It is possible the compiler isn't looking in the proper directory.
73447351
Use --without-readline to disable readline support.">&5
73457352
echo"$as_me: error: readline header not found
7353+
If you have readline already installed, see config.log for details on the
7354+
failure. It is possible the compiler isn't looking in the proper directory.
73467355
Use --without-readline to disable readline support.">&2;}
73477356
{ (exit 1);exit 1; }; }
73487357
fi
@@ -7576,8 +7585,12 @@ _ACEOF
75767585
75777586
else
75787587
{ {echo"$as_me:$LINENO: error: history header not found
7588+
If you have readline already installed, see config.log for details on the
7589+
failure. It is possible the compiler isn't looking in the proper directory.
75797590
Use --without-readline to disable readline support.">&5
75807591
echo"$as_me: error: history header not found
7592+
If you have readline already installed, see config.log for details on the
7593+
failure. It is possible the compiler isn't looking in the proper directory.
75817594
Use --without-readline to disable readline support.">&2;}
75827595
{ (exit 1);exit 1; }; }
75837596
fi
@@ -7696,8 +7709,12 @@ if test $ac_cv_header_zlib_h = yes; then
76967709
:
76977710
else
76987711
{ {echo"$as_me:$LINENO: error: zlib header not found
7712+
If you have readline already installed, see config.log for details on the
7713+
failure. It is possible the compiler isn't looking in the proper directory.
76997714
Use --without-zlib to disable zlib support.">&5
77007715
echo"$as_me: error: zlib header not found
7716+
If you have readline already installed, see config.log for details on the
7717+
failure. It is possible the compiler isn't looking in the proper directory.
77017718
Use --without-zlib to disable zlib support.">&2;}
77027719
{ (exit 1);exit 1; }; }
77037720
fi

‎configure.in

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $Header: /cvsroot/pgsql/configure.in,v 1.207 2002/09/06 14:31:16 momjian Exp $
2+
dnl $Header: /cvsroot/pgsql/configure.in,v 1.208 2002/09/11 04:27:48 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -371,12 +371,10 @@ AC_SUBST(with_python)
371371
AC_MSG_CHECKING([whether to build Java/JDBC tools])
372372
PGAC_ARG_BOOL(with, java, no, [ --with-java build JDBC interface and Java tools],
373373
[AC_MSG_RESULT(yes)
374-
if test ! "$JAVA_HOME" -o ! -d "$JAVA_HOME" ; then
375-
AC_MSG_ERROR([Set the JAVA_HOME environment variable to build Java components])
376-
fi
377374
PGAC_PATH_ANT
378375
if test -z "$ANT"; then
379-
AC_MSG_ERROR([Ant is required to build Java components])
376+
AC_MSG_ERROR([Ant is required to build Java components
377+
If you have Ant already installed, see config.log for details on the failure.])
380378
fi
381379
if "$ANT" -version | sed q | egrep -v ' 1\.[[5-9]]| [[2-9]]\.' >/dev/null ; then
382380
AC_MSG_ERROR([Ant version >= 1.5 is required to build Java components])
@@ -624,13 +622,17 @@ if test "$with_readline" = yes; then
624622
PGAC_CHECK_READLINE
625623
if test x"$pgac_cv_check_readline" = x"no"; then
626624
AC_MSG_ERROR([readline library not found
625+
If you have readline already installed, see config.log for details on the
626+
failure. It is possible the compiler isn't looking in the proper directory.
627627
Use --without-readline to disable readline support.])
628628
fi
629629
fi
630630

631631
if test "$with_zlib" = yes; then
632632
AC_CHECK_LIB(z, inflate, [],
633633
[AC_MSG_ERROR([zlib library not found
634+
If you have zlib already installed, see config.log for details on the
635+
failure. It is possible the compiler isn't looking in the proper directory.
634636
Use --without-zlib to disable zlib support.])])
635637
fi
636638

@@ -680,15 +682,21 @@ if test "$with_readline" = yes; then
680682
AC_CHECK_HEADERS([readline/readline.h], [],
681683
[AC_CHECK_HEADERS([readline.h], [],
682684
[AC_MSG_ERROR([readline header not found
685+
If you have readline already installed, see config.log for details on the
686+
failure. It is possible the compiler isn't looking in the proper directory.
683687
Use --without-readline to disable readline support.])])])
684688
AC_CHECK_HEADERS([readline/history.h], [],
685689
[AC_CHECK_HEADERS([history.h], [],
686690
[AC_MSG_ERROR([history header not found
691+
If you have readline already installed, see config.log for details on the
692+
failure. It is possible the compiler isn't looking in the proper directory.
687693
Use --without-readline to disable readline support.])])])
688694
fi
689695

690696
if test "$with_zlib" = yes; then
691697
AC_CHECK_HEADER(zlib.h, [], [AC_MSG_ERROR([zlib header not found
698+
If you have readline already installed, see config.log for details on the
699+
failure. It is possible the compiler isn't looking in the proper directory.
692700
Use --without-zlib to disable zlib support.])])
693701
fi
694702

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp