Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 05102c7

Browse files
committed
Here are 3 patches (all relative to the src directory) to help with
the configuration of v6.3.1. I have replaced the queries for include/lib directories with --with configuration options. I have also included a list of potential tcl/tk include directories directly in the CPPFLAGS variable. As new versions are needed, these should be added to the list in reverse numerical order (libraries are in a separate list near the end). This greatly simplifies the later checks if --with-tcl is set. I hope this solution works for everyone. I also added a check to disable the perl support if postgres was not already installed (as per the instructions in the directory). By the way, why must there be an installed pgsql to compile perl support? This seems odd, at best. Finally, I changed the Makefile in the libpgtcl interface to place the shared libraries at the end of the list of files, not at the beginning. With NetBSD at least, libraries are linked in order, so the original sequence does not work. Brook Milligan
1 parent 7a9385e commit 05102c7

File tree

4 files changed

+486
-416
lines changed

4 files changed

+486
-416
lines changed

INSTALL

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,22 @@ PostgreSQL:
276276
listens for incoming connections on. The
277277
default for this is port 5432.
278278

279-
--with-defaults Use default responses to several queries during
280-
configuration.
281-
282279
--with-tcl Enables programs requiring Tcl/Tk and X11,
283280
including pgtclsh and libpgtcl.
284281

285282
--with-perl Enables the perl interface. Note that this
286283
requires an installed version of postgreSQL.
287284

285+
--with-includes=DIRS
286+
Include DIRS in list of directories searched
287+
for header files. (Typical use will need
288+
--with-includes=/usr/local/include)
289+
290+
--with-libraries=DIRS
291+
Include DIRS in list of directories searched
292+
for archive libraries. (Typical use will need
293+
--with-libraries=/usr/local/lib)
294+
288295
As an example, here is the configure script I use on a Sparc
289296
Solaris 2.5 system with /opt/postgres being the install base.
290297

0 commit comments

Comments
 (0)