Re: [SQL] Server Side C programming Environment Set up

2004-04-23 Thread Bruce Momjian
Tom Lane wrote: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > I'd be happy to write more documentation, howtos, or scripts and tools that > > enable users to set up a proper build system, but I don't think it's our > > business to try to write our own build system framework. > > Any build f

Re: [SQL] Server Side C programming Environment Set up

2004-04-23 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > I'd be happy to write more documentation, howtos, or scripts and tools that > enable users to set up a proper build system, but I don't think it's our > business to try to write our own build system framework. Any build framework is going to have li

Re: [SQL] Server Side C programming Environment Set up

2004-04-23 Thread Peter Eisentraut
Am Donnerstag, 22. April 2004 18:07 schrieb Tom Lane: > I agree with the suggestion elsewhere in the thread about generalizing > the contrib Makefile framework to the point that it could be installed > as part of the -devel RPM, and then used to build user-written backend > functions. It seems to

Re: [SQL] Server Side C programming Environment Set up

2004-04-22 Thread Kemin Zhou
Rod Taylor wrote: On Thu, 2004-04-22 at 01:18, Peter Eisentraut wrote: Kemin Zhou wrote: IN chapter 33 Extending SQL 33.7.5 Writing Code when run pg_config --includedir-server I got /usr/local/pgsql/include/server but my machine does NOT have this directory make install-all-headers

Re: [SQL] Server Side C programming Environment Set up

2004-04-22 Thread Peter Eisentraut
Am Donnerstag, 22. April 2004 07:59 schrieb Tom Lane: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > make install-all-headers > > That's not a complete solution though; the headers are only half the > problem. Makefiles are the other half, and our story on them is pretty > bad. For instance I

Re: [SQL] Server Side C programming Environment Set up

2004-04-22 Thread Peter Eisentraut
Am Donnerstag, 22. April 2004 15:58 schrieb Rod Taylor: > > make install-all-headers > > > > It's explained in the installation instructions. > > That doesn't happen on most platforms in the standard package. It certainly happens in all the packages that have ever come by me (maybe after a little

Re: [SQL] Server Side C programming Environment Set up

2004-04-22 Thread Rod Taylor
On Thu, 2004-04-22 at 10:11, Peter Eisentraut wrote: > Am Donnerstag, 22. April 2004 15:58 schrieb Rod Taylor: > > > make install-all-headers > > > > > > It's explained in the installation instructions. > > > > That doesn't happen on most platforms in the standard package. > > It certainly happens

Re: [SQL] Server Side C programming Environment Set up

2004-04-22 Thread Tom Lane
Rod Taylor <[EMAIL PROTECTED]> writes: > On Thu, 2004-04-22 at 01:18, Peter Eisentraut wrote: >> make install-all-headers >> >> It's explained in the installation instructions. > That doesn't happen on most platforms in the standard package. Depends what you mean by "standard package"? The PGDG

Re: [SQL] Server Side C programming Environment Set up

2004-04-22 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Am Donnerstag, 22. April 2004 07:59 schrieb Tom Lane: >> For instance I've been meaning to ask what to do about this open >> bug report: >> >> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112244 > Well, perhaps getting the tutorial to compile

Re: [SQL] Server Side C programming Environment Set up

2004-04-22 Thread Rod Taylor
On Thu, 2004-04-22 at 01:18, Peter Eisentraut wrote: > Kemin Zhou wrote: > > IN chapter 33 Extending SQL > > 33.7.5 Writing Code > > when run pg_config --includedir-server > > I got /usr/local/pgsql/include/server but my machine does have this > > directory > > make install-all-headers > > It's

Re: [SQL] Server Side C programming Environment Set up

2004-04-21 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > make install-all-headers That's not a complete solution though; the headers are only half the problem. Makefiles are the other half, and our story on them is pretty bad. For instance I've been meaning to ask what to do about this open bug report: h

Re: [SQL] Server Side C programming Environment Set up

2004-04-21 Thread Peter Eisentraut
Kemin Zhou wrote: > IN chapter 33 Extending SQL > 33.7.5 Writing Code > when run pg_config --includedir-server > I got /usr/local/pgsql/include/server but my machine does have this > directory make install-all-headers It's explained in the installation instructions. ---