Postgres 8.2.5 compilation problem on OpenSolaris/Solaris

Поиск
Список
Период
Сортировка
От Dot Yet
Тема Postgres 8.2.5 compilation problem on OpenSolaris/Solaris
Дата
Msg-id 93bc4af40710111230n19c060cfkf00dc92ad27ff87e@mail.gmail.com
обсуждение исходный текст
Ответы Re: Postgres 8.2.5 compilation problem on OpenSolaris/Solaris
Список pgsql-general
Hi everyone,

I am trying to get the postgresql 8.2.5 version working on my opensolaris nv 73 server.

The configuration information is as follows:

SunOS db03nge0 5.11 snv_73 i86pc i386 i86pc
$ isainfo -v
64-bit amd64 applications
        ahf sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc
        cx8 tsc fpu
32-bit i386 applications
        ahf sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc
        cx8 tsc fpu
GNU Make 3.81 - compiled from source
OpenSSL 0.9.8d 28 Sep 2006 - compiled from source
readline-5.2 - library compiled from source
Sun Studio compiler: Sun C 5.9 SunOS_i386 2007/05/03
postgresql-8.2.5 source tar.gz

I have compiled the openssl, readline and gnumake in 64 bit mode. The options which I used while compiling them were
"-m64 -KPIC -xmodel=medium"


The options which I am using to configure the makefile are:

./configure --prefix=/usr/local --with-perl --with-openssl --with-libraries=/usr/local/lib --with-includes=/usr/local/include --libdir=/usr/local/lib --includedir=/usr/local/include --enable-integer-datetimes CFLAGS="-m64 -KPIC -xmodel=medium"

The configure process does not report any errors. The make process also works fine. I do see the following message:

All of PostgreSQL successfully made. Ready to install.

Now, when I try to run "make check", I get the following "Segmentation Fault" error.

mkdir ./testtablespace
./pg_regress --temp-install=./tmp_check --top-builddir=../../.. --temp-port=55432 --schedule=./parallel_schedule --multibyte=SQL_ASCII --load-language=plpgsql
============== creating temporary installation        ==============
============== initializing database system           ==============

pg_regress: initdb failed
Examine ./log/initdb.log for the reason.
Command was: "/export/home/tualha/d1/postgresql-8.2.5/src/test/regress/./tmp_check/install//usr/local/bin/initdb" -D "/export/home/tualha/d1/postgresql- 8.2.5/src/test/regress/./tmp_check/data" -L "/export/home/tualha/d1/postgresql-8.2.5/src/test/regress/./tmp_check/install//usr/local/share/postgresql" --noclean > "./log/initdb.log" 2>&1
make[2]: *** [check] Error 2
make[2]: Leaving directory `/export/home/tualha/d1/postgresql-8.2.5/src/test/regress'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/export/home/tualha/d1/postgresql- 8.2.5/src/test'
make: *** [check] Error 2
$ cat src/test/regress/log/initdb.log
Running in noclean mode.  Mistakes will not be cleaned up.
The files belonging to this database system will be owned by user "tualha".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /export/home/tualha/d1/postgresql-8.2.5/src/test/regress/./tmp_check/data ... ok
creating subdirectories ... ok
selecting default max_connections ... Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
10
selecting default shared_buffers/max_fsm_pages ... Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
400kB/20000
creating configuration files ... ok
creating template1 database in /export/home/tualha/d1/postgresql-8.2.5/src/test/regress/./tmp_check/data/base/1 ... Segmentation Fault - core dumped
child process exited with exit code 139
initdb: data directory "/export/home/tualha/d1/postgresql-8.2.5/src/test/regress/./tmp_check/data" not removed at user's request
$

I wonder if anyone can give any suggestions to deal with it. BTW, I have also tried to compile it on Solaris 10 u3, but it still fails at the same point.

Any help would be much appreciated.

Regards,
Dotyet

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Coercing compound types to use generic ROW comparison operators
Следующее
От: Erik Jones
Дата:
Сообщение: Re: Postgres 8.2.5 compilation problem on OpenSolaris/Solaris