Skip to content

Commit

Permalink
Last changes to the README, a line in the ChangeLog about the 1.4 rel…
Browse files Browse the repository at this point in the history
…ease.
  • Loading branch information
lehenbauer committed Jun 28, 2004
1 parent 7d4ebfc commit 40c7e8e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

$Id$

2004-06-28 Karl Lehenbauer <karl-pg@sc.com>
* Version 1.4 released

2004-06-22 Karl Lehenbauer <karl-pg@sc.com>
* Added new optional subidentifiers to pg_result $resultID -error.
You can specify one of "severity", "sqlstate", "primary", "detail",
Expand Down
27 changes: 17 additions & 10 deletions README
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
libpgtcl is a library that implements Tcl commands for front-end
clients to interact with Postgresql backends.

Thank you for downloading Pgtcl, a package that adds extensions for
Postgres to Tcl, that's been in existence for ten years.
Thank you for downloading Pgtcl, a package that adds Postgres interface
extensions to the Tcl programming language, an open source project that's
been in existence for more than ten years.

Pgtcl was originally written by Jolly Chen. Many people have contributed to
the further development of Pgtcl over the years, including Randy Kunkee,
Expand All @@ -23,7 +24,8 @@ under Pgtcl 1.4.
This is a transitional release, as pgtcl is moving out the of core and
into its own distribution. The documentation has been broken out into
this release, although we do not document all the tools you need to
build it. The release also includes the docs in HTML and PDF format.
build the documentation itself. The release also includes the docs in
HTML and PDF format.

CHANGES

Expand Down Expand Up @@ -88,20 +90,25 @@ a standard "configure" script. It no longer needs to reside in a specific
place within the Postgres source tree in order to build.

The configure script will attempt to find where the Postgres includes and
libraries are using pg_config. You can specify a path to the Postgres
libraries are using pg_config, a program built and installed as part of
Postgres. Alternatively, you can specify a path to the Postgres
include files using --with-postgres-include and to the Postgres libraries
using --with-postgres-lib
using --with-postgres-lib.

If you had PostgreSQL installed into /usr/postgres and a Tcl build in
/usr/pptcl, you might use something like

./configure --prefix=/usr/pptcl --with-postgres-include=/usr/postgres/include --with-postgres-lib=/usr/postgres/lib
./configure --prefix=/usr/pptcl

but if pg_config is in your search path,
With this style of configure command, you'll need to make sure pg_config
(and the correct pg_config if you have postgres installed in multiple
places) is in the PATH.

./configure --prefix=/usr/pptcl
Alternatively you can still explicitly specify where the Postgres includes
and libraries are found:

./configure --prefix=/usr/pptcl --with-postgres-include=/usr/postgres/include --with-postgres-lib=/usr/postgres/lib

...would suffice.

For standard builds to put things in subdirectories of /usr/local,

Expand Down Expand Up @@ -133,7 +140,7 @@ versions of Pgtcl, and using "package require" will make that code available
to your application. Also it keeps you from hard-coding the path to the
library and hard-coding a dependency on a specific version.

IF IT COMPILES AND INSTALLS BUT PACKAGE REQUIRE DOESN'T WORK
IF IT COMPILES AND INSTALLS OK BUT "PACKAGE REQUIRE" DOESN'T WORK

...it probably didn't install into the search path Tcl uses to find
extensions. You might have more than one Tclsh installed. Try adding
Expand Down

0 comments on commit 40c7e8e

Please sign in to comment.