Re: [PORTS] QNX4 port

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Kardos, Dr(dot) Andreas" <kardos(at)repas-aeg(dot)de>
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] QNX4 port
Date: 1999-12-16 16:45:38
Message-ID: 199912161645.LAA06827@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Bruce Momjian wrote:
> >Applied. I have changed @if to -(at)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.

I want it to be lowercase. All the other OS's are lowercase. How do
they do it. I recommend a change to template/.similar so QNX is
automatically identified on startup.

>
> 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.

Done.

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

Done. Forgot.

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

Done.

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

Done.

>
> 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"?

Not sure.

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

I put the patch at the end of the readme.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Petr Vavrinec 1999-12-16 21:09:51 va_list
Previous Message laurentiu c 1999-12-16 13:39:09