Re: Couldn't make check

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Couldn't make check
Дата
Msg-id 409BB760.6000204@dunslane.net
обсуждение исходный текст
Ответ на Couldn't make check  ("Hisaji ONO" <hi_ono2001@ybb.ne.jp>)
Список pgsql-hackers-win32
Hisaji ONO wrote:

>Hi.
>
> I've succeeded to make postgresql in latest msys/mingw.
>
>However I've got following message.
>
>initdb.exe  - couldn't find the component -
>
>couldn't find libpq.dll.......
>
>Could anyone give any suggestion?
>
> Regards.
>
>  
>

The attached patch against pg_regress.sh v 1.42 (i.e. cvs tip) is what 
I'm currently testing with (minus a few local tweaks I have for 
debugging purposes).

cheers

andrew
Index: pg_regress.sh
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/test/regress/pg_regress.sh,v
retrieving revision 1.42
diff -c -w -r1.42 pg_regress.sh
*** pg_regress.sh    3 May 2004 13:25:23 -0000    1.42
--- pg_regress.sh    7 May 2004 16:09:33 -0000
***************
*** 1,5 ****
  #! /bin/sh
! # $PostgreSQL: pgsql-server/src/test/regress/pg_regress.sh,v 1.42 2004/05/03 13:25:23 momjian Exp $
  
  me=`basename $0`
  : ${TMPDIR=/tmp}
--- 1,5 ----
  #! /bin/sh
! # $PostgreSQL: pgsql-server/src/test/regress/pg_regress.sh,v 1.38 2004/01/08 20:04:41 neilc Exp $
  
  me=`basename $0`
  : ${TMPDIR=/tmp}
***************
*** 208,225 ****
  
  
  # ----------
- # Set up pwd to give a win32 happy pathname
- # ----------
- 
- case $host_platform in
-     *-*-mingw32*)
-         PWDFLAGS=-W;;
-     *)
-         PWDFLAGS=;;
- esac
- 
- 
- # ----------
  # Set backend timezone and datestyle explicitly
  #
  # To pass the horology test in its current form, the postmaster must be
--- 208,213 ----
***************
*** 306,317 ****
  if [ x"$temp_install" != x"" ]
  then
      if echo x"$temp_install" | grep -v '^x/' >/dev/null 2>&1; then
!         temp_install="`pwd $PWDFLAGS`/$temp_install"
      fi
  
      bindir=$temp_install/install/$bindir
      libdir=$temp_install/install/$libdir
-     pkglibdir=$temp_install/install/$pkglibdir
      datadir=$temp_install/install/$datadir
      PGDATA=$temp_install/data
  
--- 294,313 ----
  if [ x"$temp_install" != x"" ]
  then
      if echo x"$temp_install" | grep -v '^x/' >/dev/null 2>&1; then
!         case `uname` in
!           MINGW*)
!                 pkglibdir="`pwd -W`/$temp_install/install/$pkglibdir"
!         temp_install="`pwd`/$temp_install"
!                 ;;
!           *)
!                 temp_install="`pwd`/$temp_install"
!                 pkglibdir=$temp_install/install/$pkglibdir
!                 ;;
!         esac
      fi
  
      bindir=$temp_install/install/$bindir
      libdir=$temp_install/install/$libdir
      datadir=$temp_install/install/$datadir
      PGDATA=$temp_install/data
  
***************
*** 348,354 ****
      # executables, not dlopen'ed ones)
      # ----------
      case $host_platform in
!         *-*-cygwin*)
              PATH=$libdir:$PATH
              export PATH
              ;;
--- 344,350 ----
      # executables, not dlopen'ed ones)
      # ----------
      case $host_platform in
!         *-*-cygwin* | *-*-mingw32*)
              PATH=$libdir:$PATH
              export PATH
              ;;

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Couldn't make check
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Couldn't make check