Configure problem (and fix).

From: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
To: pgsql-hackers(at)postgreSQL(dot)org
Cc: pgsql-patches(at)postgreSQL(dot)org
Subject: Configure problem (and fix).
Date: 1998-10-24 07:42:54
Message-ID: 199810240742.DAA14249@bgalli.mug.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have come across a problem where the code generated by autoconf does not
subsitute correct values for the following variables:

bindir sbindir libexecdir
datadir sysconfdir sharedstatedir
localstatedir libdir includedir
oldincludedir infodir mandir

The problem is that they reference the variables, 'prefix' and 'exec_prefix'
but those variables are not expanded in the subsitutions. For example,
referencing 'libdir' in an *.in file will have "${exec_prefix}/lib" placed in
the resulting output file. It should be "/usr/local/pgsql/lib" (if the
default exec_prefix (and prefix) value is used). The first patch
(uw7-1.patch) will correct the problem, which causes an incorrect
src/pl/plpgsql/src/mklang.sql file to be generated.

The second patch:

1. Adds a file (mklang.sql) that can be used to add the language
definitions for PL/TCL to a database.

2. Generalizes the mklang.sql in src/pl/plpgsql/test so that it will
reference the correct location for the plpgsql.so shared library.

3. Generalizes the test_mklang.sql file in src/pl/tcl/test so that is will
reference the correct localtion for the pltcl.so shared library.

IMPORTANT: Do not apply the second patch without applying the first patch!

Attachment Content-Type Size
uw7-1.patch application/x-patch 1011 bytes
uw7-2.patch application/x-patch 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Ivar Helbekkmo 1998-10-24 08:27:19 Re: [HACKERS] pg_indexes
Previous Message Thomas G. Lockhart 1998-10-24 05:40:50 Re: [HACKERS] Features list