gmake check documentation

Поиск
Список
Период
Сортировка
От Richard Anderson
Тема gmake check documentation
Дата
Msg-id 003d01c35795$e67b74e0$01fea8c0@anderposaranch
обсуждение исходный текст
Список pgsql-bugs
I am reporting a minor documentation problem in the PostgreSQL
Installation Instructions, Section 1.5.3 (Regression Tests).
The instructions imply that one can issue a "gmake check" command before
doing "gmake install" .

But, unless you have done an install, you get this error:
    pg_regress: initdb failed
    Examine ./log/initdb.log for the reason.

Contents of initdb.log:
    The program 'postgres' is needed by initdb but was not found in
    the directory '/home/rnanders/dspace/pgsql/bin'.  Check your
installation.

Also, on my system it was necessary to
    export LD_LIBRARY_PATH=/usr/pubsw/lib
before running "gmake check", or else the libz.so.1 library was not found:
    pg_regress: initdb failed
    Examine ./log/initdb.log for the reason.

Contents of initdb.log:
    The program
        '/home/rnanders/dspace/pgsql/bin/postgres'
    needed by initdb does not belong to PostgreSQL version 7.3.3, or
    there may be a configuration problem.

    This was the error message issued by that program:
    ld.so.1: /home/rnanders/dspace/pgsql/bin/postgres: fatal: libz.so.1:
open failed: No such file or directory

Here are the particulars of my host computer:

This computer is an AFS client, so gnu tools and libraries are in
/usr/pubsw.

On my compuer (rune), both gcc and a native c compiler are available:

/opt/SUNWspro/bin/cc:
rune:/opt/SUNWspro/bin> ./version
Machine hardware:   sun4u
OS version:         5.7
Processor type:     sparc
Hardware:           SUNW,Ultra-60

The following components are installed on your system:
Sun WorkShop Compiler C 4.2
Sun WorkShop Compiler C++ 4.2
Sun WorkShop Tools.h++ 7.0
Sun WorkShop Tools.h++ 6.0.4

/usr/pubsw/bin/gcc:
> gcc -v
Reading specs from
/usr/pubsw/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/specs
gcc version 2.95.3 20010315 (release)

rune:/home/rnanders/dspace/postgresql-src[237]> gmake -v
GNU Make 3.80

Because gnu make is required, and because many of the required libraries
are in /usr/pubsw/lib, I chose to use gcc as the compiler.

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

Предыдущее
От: "Ricardo Bayley"
Дата:
Сообщение: Trouble
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PG 7.3.1 with ssl on linux hangs (testcase available)