X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 6B1879F94EA for ; Sat, 27 May 2006 22:30:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 20618-04 for ; Sat, 27 May 2006 22:30:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id CA3309FA43B for ; Sat, 27 May 2006 22:30:26 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 257EC314AA; Sun, 28 May 2006 03:30:24 +0200 (MET DST) From: ljb X-Newsgroups: pgsql.interfaces Subject: Re: Building psql.exe using the free Borland compiler Date: Sun, 28 May 2006 01:30:15 +0000 (UTC) Organization: Hub.Org Networking Services Lines: 26 Message-ID: References: <441FD48A.3E54ABA9@telemetry.co.uk> <200604240402.k3O42Bg09540@candle.pha.pa.us> X-Complaints-To: usenet@news.hub.org User-Agent: slrn/0.9.8.1 (Linux) To: pgsql-interfaces@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/10 X-Sequence-Number: 6131 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?