From: ljb <ljb220@mindspring.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: Building psql.exe using the free Borland compiler
Date: Sun, 28 May 2006 01:30:15 +0000 (UTC)
Message-ID: <e5auf7$1372$1@news.hub.org> (raw)
References: <441FD48A.3E54ABA9@telemetry.co.uk>
<200604240402.k3O42Bg09540@candle.pha.pa.us>
Found this in the archive from a month or so ago:
>> > Has anybody succeeded in building psql from 8.1.3 using bcc55?
>> ...
> OK, I originally had in the Makefile:
>
> echo \#define SYSCONFDIR "" > pg_config_paths.h
>
> I changed it to:
>
> echo \#define SYSCONFDIR \"\" > pg_config_paths.h
>
> I hope that properly puts quotes in the file.
>...
>
> Done. Applied patch attached.
This change is causing me grief when trying to compile libpq from
PostgreSQL-8.1.4 using Borland BCC32. The above echo command puts
exactly this into my pg_config_paths.h:
#define SYSCONFDIR \"\"
which irks the compiler when building fe-connect.c
I had to change it to this in the Makefile:
echo \#define SYSCONFDIR "" > pg_config_paths.h
Before suggesting undoing this patch, can anyone else verify which version
works for them?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: ljb220@mindspring.com
Subject: Re: Building psql.exe using the free Borland compiler
In-Reply-To: <e5auf7$1372$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox