Header files installed for contrib modules?

Started by Robert Creagerover 22 years ago5 messages
#1Robert Creager
Robert_Creager@LogicalChaos.org

Hey,

Just wondering if there is currently any mechanism in the contrib makefile
hierarchy for installing header files into an appropriate directory. I didn't
find anything.

I'm using PGSphere (spherical types/operators), and trying to help them out a
little here and there. When I converted my application over to use their
type/operators, I found that although the shared library is installed fine,
there appears to be no method for installing the header files into the
production directory scheme.

Since the library is installed into the pgsql/lib directory, shouldn't the
header files required by server side development be installed into
pgsql/include? Maybe not by default, but with a 'install-all-headers' like
option?

Thanks,
Rob

--
22:05:34 up 21 days, 14:47, 4 users, load average: 2.01, 2.03, 2.00

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Robert Creager (#1)
Re: Header files installed for contrib modules?

Robert Creager writes:

Just wondering if there is currently any mechanism in the contrib makefile
hierarchy for installing header files into an appropriate directory.

There isn't, because until now there was no need for it. But there is no
reason that it couldn't be added.

--
Peter Eisentraut peter_e@gmx.net

#3Dave Cramer
dave@fastcrypt.com
In reply to: Peter Eisentraut (#2)
ambiguous sql states

I'm working on identifying various errors in ecpg using sql state and
one which is particularly ambiguous is ERRCODE_UNDEFINED_OBJECT for a
file which isn't found. This is returned in a number of places. Is it
possible to get a set of file specific error codes?

Dave

--
Dave Cramer <dave@fastcrypt.com>
fastcrypt

#4Peter Eisentraut
peter_e@gmx.net
In reply to: Peter Eisentraut (#2)
Re: Header files installed for contrib modules?

Robert Creager writes:

So would one of you fine hackers be willing to add this feature? If not, I'll
have a go of it.

There isn't any contrib module that would use it, so why bother?

Would this be best accomplished using a sub-directory which contains the header
files to install, or a make variable containing the headers?

The latter.

--
Peter Eisentraut peter_e@gmx.net

#5Robert Creager
Robert_Creager@LogicalChaos.org
In reply to: Peter Eisentraut (#2)
Re: Header files installed for contrib modules?

On Sat, 23 Aug 2003 21:16:38 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net> said something like:

Robert Creager writes:

Just wondering if there is currently any mechanism in the contrib makefile
hierarchy for installing header files into an appropriate directory.

There isn't, because until now there was no need for it. But there is no
reason that it couldn't be added.

So would one of you fine hackers be willing to add this feature? If not, I'll
have a go of it.

Would this be best accomplished using a sub-directory which contains the header
files to install, or a make variable containing the headers?

Cheers,
Rob

--
17:11:53 up 22 days, 9:53, 4 users, load average: 2.34, 2.18, 2.05