pg_config broken in 7.1.1 on FreeBSD with Tcl + Java

From: Glenn Trewitt <glenn(at)trewitt(dot)org>
To: pgsql-bugs(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: pg_config broken in 7.1.1 on FreeBSD with Tcl + Java
Date: 2001-05-11 16:11:05
Message-ID: 3AFC0F1A.6567C56F@trewitt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

When I build PostgreSQL 7.1.1 from the port on FreeBSD 4.3, pg_config
gets built with a syntax error in the "val_configure=..." line. It
looks like multiple levels of single quotes, where different kinds of
quotes should have been used.

This gives an error when pg_config is executed, and the --configure
option produces no output.

Thanks!
- Glenn Trewitt

Here is the beginning of pg_config:

#! /bin/sh

# This shell script saves various pieces of information about the
# installed version of PostgreSQL. Packages that interface to
# PostgreSQL can use it to configure their build.
#
# Author: Peter Eisentraut <peter_e(at)gmx(dot)net>
# Public domain

# $Header:
/home/projects/pgsql/cvsroot/pgsql/src/bin/pg_config/pg_config.sh,v 1.2
2000
/11/11 22:59:47 petere Exp $

me=`basename $0`

# stored configuration values
val_bindir='/usr/local/bin'
val_includedir='/usr/local/include/pgsql'
val_libdir='/usr/local/lib'
val_configure='--enable-locale --enable-syslog --with-CXX
--sysconfdir=/usr/local/etc/p
ostgresql '--with-includes=/usr/local/include /usr/local/include/tcl8.3
/usr/local/incl
ude/tk8.3' --with-libraries=/usr/local/lib --docdir=/usr/local/share/doc
--includedir=/
usr/local/include/pgsql --with-java --with-openssl --enable-multibyte
--with-tcl '--wit
h-tclconfig=/usr/local/lib/tcl8.3 /usr/local/lib/tk8.3'
--with-tkconfig=/usr/local/lib/
tk8.3 --prefix=/usr/local i386--freebsd4.3'
val_version='7.1.1'

help="\
$me provides information about the installed version of PostgreSQL.

Usage: $me --bindir | --includedir | --libdir | --configure | --version

Operation modes:
--bindir show location of user executables
--includedir show location of C header files
--libdir show location of object code libraries
--configure show options given to 'configure' script when
PostgreSQL was built
--version show PostgreSQL version and exit

Report bugs to <pgsql-bugs(at)postgresql(dot)org>."

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-05-11 17:25:54 Re: instalation problems!
Previous Message Tom Lane 2001-05-11 15:49:50 Re: instalation problems!