From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gerald Gryschuk <gerald.gryschuk@home.com>
Cc: pgsql-interfaces <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] Re: Just some unfinished stuff.
Date: Sun, 04 Oct 1998 12:57:45 -0400
Message-ID: <3581.907520265@sss.pgh.pa.us> (raw)
In-Reply-To: <3615D54E.4DB74DFA@home.com>
> 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
Could it be that iodbc.h is getting installed twice by two different
makefiles in the distribution?
On my platform, once you've installed something with read-only
permission (and note the "-m 444" above), the local version of the
install script will not overwrite that file. So the second attempt
to install would fail, with exactly the above-displayed error.
Currently, I have to manually blow away /usr/local/pgsql/bin, .../lib,
and .../include before doing a fresh "make install". (I've been
intending to submit some kind of improvement to fix that, but it hasn't
yet got to the top of the to-do queue.)
regards, tom lane
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: tgl@sss.pgh.pa.us, gerald.gryschuk@home.com
Subject: Re: [INTERFACES] Re: Just some unfinished stuff.
In-Reply-To: <3581.907520265@sss.pgh.pa.us>
* 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