Received: from ha1.rdc1.ab.wave.home.com (mta@ha1.rdc1.ab.wave.home.com [24.64.2.50]) by hub.org (8.8.8/8.8.8) with ESMTP id DAA25598 for ; Sat, 3 Oct 1998 03:54:04 -0400 (EDT) (envelope-from gerald.gryschuk@home.com) Received: from home.com ([24.64.97.35]) by ha1.rdc1.ab.wave.home.com (Post.Office MTA v3.5 release 217 ID# 0-53853L0S0V35) with ESMTP id com; Sat, 3 Oct 1998 00:54:03 -0700 Sender: ggryschuk Message-ID: <3615D9C9.6070C017@home.com> Date: Sat, 03 Oct 1998 08:01:13 +0000 From: Gerald Gryschuk X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.32 i586) MIME-Version: 1.0 To: "Thomas G. Lockhart" CC: Byron Nikolaidis , pgsql-interfaces Subject: Re: Just some unfinished stuff. References: <360C90C5.7A466671@home.com> <3614F5A4.CF727893@alumni.caltech.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thomas G. Lockhart wrote: > > The configure/makefile builds the sources just fine. But "make install" > fails when I try installing within the Postgres tree as the postgres su: > > golem$ make install > /usr/bin/install -c -m 444 iodbc.h /usr/local/include/iodbc/iodbc.h > /usr/bin/install: /usr/local/include/iodbc/iodbc.h: Permission denied > make: *** [install-headers] Error 1 > > Shouldn't this be going to somewhere in the Postgres tree? Or not done > at all if the target isn't writable? Me again. I just took a quick look at the Makefile set up and I'm at a loss to see why this happened. So.. can you elaborate on what you did and if your using my second set of configuration changes or the first? Is this an integrated make? Did you do the 'make install' from the top level of the Postgres distribution? Did you run configure from the top level? You get the idea. Oh and check the Makefle.global in the odbc driver directory, the variable PSQLODBC should be the location of your installed Postgres installation. To be on the safe side please send me one line from your GNUmakefile. Specifically, the install-headers target should have 3 lines for actions to perform, they should all read similarly like follows, $(INSTALL) $(INSTLOPTS) iodbc.h $(HEADERDIR)/iodbc/iodbc.h HEADERDIR gets set in the Makefile.global to $(PSQLODBC)/include and PSQLODBC should have been set to the "detected" Postgres installation directory. Thanks -- Gerald Gryschuk gerald.gryschuk@home.com MidNightOil Consulting - "We burn the midnight oil so you don't have to."