Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8C0639FB425; Wed, 25 Apr 2007 13:20:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 36120-03; Wed, 25 Apr 2007 13:20:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id CA4349FB408; Wed, 25 Apr 2007 13:20:14 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l3PGK7Og023898; Wed, 25 Apr 2007 12:20:07 -0400 (EDT) To: Dave Page cc: Hiroshi Saito , pgsql-odbc@postgresql.org, Peter Eisentraut Subject: Re: psqlODBC 08.02.0300 doesn't compile In-reply-to: <462F77FB.30206@postgresql.org> References: <7855.1177443039@sss.pgh.pa.us> <074b01c786a9$baaec780$c701a8c0@wiseknot.local> <22689.1177514182@sss.pgh.pa.us> <462F73C1.8060007@postgresql.org> <23093.1177515700@sss.pgh.pa.us> <462F77FB.30206@postgresql.org> Comments: In-reply-to Dave Page message dated "Wed, 25 Apr 2007 16:47:07 +0100" Date: Wed, 25 Apr 2007 12:20:07 -0400 Message-ID: <23897.1177518007@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/89 X-Sequence-Number: 8905 Dave Page writes: > Tom Lane wrote: >> Hm, so you're pulling those macros directly from the underlying Postgres >> installation? I didn't think they got installed anywhere --- I could do >> the same if they are, but not if running aclocal requires access to a >> Postgres source tree. > No, it's built in a pre-configured source tree under src/interfaces. See > http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/~checkout~/psqlodbc/psqlodbc/docs/unix-compilation.html?rev=1.4 > - the 'Building a distribution' section is the set of instructions that > Peter wrote. Well, this is exactly the problem: the psqlodbc distribution is missing files needed to build from source, ie, the reference to $PGSRC/config in the directions. Since $PGSRC/config is also not installed by Postgres packages, this leaves RPM packagers unable to build psqlodbc according to the rules. The whole thing seems like bad practice anyway, since it's unclear which version of the Postgres sources needs to be used to build any particular psqlodbc release. regards, tom lane