Обсуждение: regression test failure on 8.0.0beta1

Поиск
Список
Период
Сортировка

regression test failure on 8.0.0beta1

От
"Verbus M. Counts"
Дата:
Greetings,

Gettings the following on my HPUX workstation:

============== removing existing temp installation    ==============
============== creating temporary installation        ==============
============== initializing database system           ==============
============== starting postmaster                    ==============
running on port 65432 with pid 19419
============== creating database "regression"         ==============
CREATE DATABASE
ALTER DATABASE
============== dropping regression test user accounts ==============
============== installing PL/pgSQL                    ==============
createlang: language installation failed: ERROR:  could not load library
"/home/postgres/postgresql-8.0.0beta1/src/test/regress/./tmp_check/install//usr/local/pgsql/lib/plpgsql.sl":
Unresolved external
pg_regress: createlang failed
make[2]: *** [check] Error 2
make[2]: Leaving directory
`/home/postgres/postgresql-8.0.0beta1/src/test/regress'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/postgres/postgresql-8.0.0beta1/src/test'
make: *** [check] Error 2


The sequence was:

./configure --without-readline

make

make check

C compiler was gcc

$uname -a
HP-UX name B.11.11 U 9000/778 2013026443 unlimited-user license

$ gcc -v
Reading specs from
/usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.9-hppa-991112/specs
gcc version 2.9-hppa-991112


Regards,
Verbus
916-765-1624 Cell

Re: regression test failure on 8.0.0beta1

От
"Verbus M. Counts"
Дата:
Greetings,

The problem was solved by doing a "make install" followed by "make check"


Regards,
Verbus
916-765-1624 Cell


>From: "Verbus M. Counts" <verbus@hotmail.com>
>Reply-To: verbus@hotmail.com
>To: pgsql-bugs@postgresql.org
>Subject: [BUGS] regression test failure on 8.0.0beta1
>Date: Tue, 10 Aug 2004 12:14:53 -0700
>
>Greetings,
>
>Gettings the following on my HPUX workstation:
>
>============== removing existing temp installation    ==============
>============== creating temporary installation        ==============
>============== initializing database system           ==============
>============== starting postmaster                    ==============
>running on port 65432 with pid 19419
>============== creating database "regression"         ==============
>CREATE DATABASE
>ALTER DATABASE
>============== dropping regression test user accounts ==============
>============== installing PL/pgSQL                    ==============
>createlang: language installation failed: ERROR:  could not load library
>"/home/postgres/postgresql-8.0.0beta1/src/test/regress/./tmp_check/install//usr/local/pgsql/lib/plpgsql.sl":
>Unresolved external
>pg_regress: createlang failed
>make[2]: *** [check] Error 2
>make[2]: Leaving directory
>`/home/postgres/postgresql-8.0.0beta1/src/test/regress'
>make[1]: *** [check] Error 2
>make[1]: Leaving directory `/home/postgres/postgresql-8.0.0beta1/src/test'
>make: *** [check] Error 2
>
>
>The sequence was:
>
>./configure --without-readline
>
>make
>
>make check
>
>C compiler was gcc
>
>$uname -a
>HP-UX name B.11.11 U 9000/778 2013026443 unlimited-user license
>
>$ gcc -v
>Reading specs from
>/usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.9-hppa-991112/specs
>gcc version 2.9-hppa-991112
>
>
>Regards,
>Verbus
>916-765-1624 Cell
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 7: don't forget to increase your free space map settings

Re: regression test failure on 8.0.0beta1

От
Tom Lane
Дата:
"Verbus M. Counts" <verbus@hotmail.com> writes:
> The problem was solved by doing a "make install" followed by "make check"

Yes, on HPUX I think you probably have to do this.  We build the
executables with SHLIB_PATH disabled, so even if pg_regress knew to
set SHLIB_PATH (which it does not) the programs would not seek for
shared libraries in the temporary installation, only in the configured
final location.  I think you were probably picking up an older version
of plpgsql.sl that you hadn't yet overwritten by "make install".

            regards, tom lane