Re: [PORTS] QNX4 port - Mailing list pgsql-ports

From Kardos, Dr. Andreas
Subject Re: [PORTS] QNX4 port
Date
Msg-id 017501bf47c4$cf25db30$99301eac@nt-kardos.Dr.repas.de
Whole thread Raw
Responses Re: [PORTS] QNX4 port
List pgsql-ports
Bruce Momjian wrote:
>Applied.  I have changed @if to -@if and removed the QNX-specific code.
>This should allow QNX to compile in the current source tree.


Thanks, but there are still some little problems remaining:

1. template/qnx must be renamed to template/QNX. Otherwise configure will
not find it. At the beginning I wanted to name it qnx4. But this would
require one more patch of configure because of QNX problems.

2. backend/port/qnx must be renamed to backend/port/qnx4. Otherwise gmake
fails.
It makes sense to name it qnx4 because there are two main versions of QNX in
use, QNX2 and QNX4. QNX2 is not compatible at all. QNX4 claims POSIX
compatibility. This port works for QNX4 only.

3. Since configure is part of the source tree it probably should be patched
too (not only configure.in).

4. Unfortunately backend/bootstrap/Makefile must be a little more
complicated (new version in patch).

5. In regress.sh the line
echo "diff ${DIFFOPT} -C3 ..."
can be removed (new version in patch).

6. Before "gmake install" the directory /usr/local/pgsql[/lib] must be
created manually because
mkdir /usr/local/pgsql/lib fails if /usr/local/pgsql does not exist yet.
This is obviously a general problem. "mkdir -p"?

An updated version of README.qnx4 is in the patch too. PATCH.qnx4 is for a
problem in a g++ header.

The new files and a diff file will be sent to pgsql-patches.

Please let we know when the test/regress/expected/*.out have been updated.
So that I can try the regression tests.

Andreas Kardos



pgsql-ports by date:

Previous
From: "Rio"
Date:
Subject: enquiry
Next
From: Bruce Momjian
Date:
Subject: Re: [PORTS] QNX4 port