Re: [HACKERS] urgent: pgsql 6.3 FreeBSD port update trouble, --with-tcl doesn't work

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: andreas(at)FreeBSD(dot)ORG, pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] urgent: pgsql 6.3 FreeBSD port update trouble, --with-tcl doesn't work
Date: 1998-03-22 20:05:03
Message-ID: 199803222005.PAA17558@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> Hi !
>
> Please help, the FreeBSD port update to version 6.3 drives me to
> despair ;-)
>
> --with-tcl configure switch doesn't work to build libpgtcl
>
> I only get it to work if I set in the make environment
>
> USE_TCL=true
>
> configure --with-tcl doesn't seem to set USE_TCL=true in
> src/Makefile.global, so
> src/interfaces/Makefile,
> which includes
> src/Makefile.global
> fails, since USE_TCL isn't set to true. Workaround was to explicitely
> set USE_TCL=true when starting the make.

We are working on a patch for this.

>
> Another problem: on FreeBSD-current (and I think this is true on
> FreeBSD-2.2.x as well)
>
> The make install fails when running the initdb script.
>
> Adding template1 database to pg_database...
> Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 < /tmp/create
> .13645
>
> vacuuming template1
> creating public pg_user view
> loading pg_description
> *** Error code 1
>
> The Postgresql 6.2 version needed a patch so that this works
> --- bin/initdb/initdb.sh.orig Wed Apr 2 07:09:13 1997
> +++ bin/initdb/initdb.sh Wed Apr 2 07:09:33 1997
> @@ -344,6 +344,5 @@
>
> if [ $debug -eq 0 ]; then
> echo "vacuuming template1"
> - echo "vacuum" | postgres -F -Q -D$PGDATA template1 2>&1 > /dev/null |\
> - grep -v "^DEBUG:"
> + echo "vacuum" | postgres -o /dev/null -F -Q -D$PGDATA template1 > /dev/null
>
> fi
>

There must be something else different on your machine. We all use it
without problem. Are you running csh, or changed it somehow?

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-03-22 20:05:46 Re: problems running pgaccess 0.73 and 0.84 with new postgresql 6.3
Previous Message The Hermit Hacker 1998-03-22 20:02:52 Re: [HACKERS] urgent: pgsql 6.3 FreeBSD port update trouble, --with-tcl doesn't work