pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stefan Hornburg <racke@gundel.han.de>
To: pgsql-interfaces@hub.org
Subject: Re: Problems building libpgtcl
Date: 08 Jan 1999 17:00:07 +0100
Message-ID: <m3yandzreg.fsf@gundel.han.de> (raw)
References: <199901040035.TAA02244@hub.org>

"Stan Brown" <stanb@awod.com> writes:

> 	I am trying to build postgres 6.4.1 with libpgtcl, in order to run
> 	pgaccess. The current problem is geting all the right options passed to
> 	configure, I believe. I am using:
> 
> 	./configure  --prefix=/data/pgtest --with-template=hpux_gcc
> 	--with-pgport=5434 - -with-tcl 
> 	--with-includes=/opt/tcl-8.0/include
> 	--with-libraries=/opt/tcl-8.0//lib 
> 	--with-include=/opt/tk-8.0/includes/X11
> 	--with-libraries=/opt/tk-8.0/X11/lib
> 
> 	Please note the use of multiple --with-includes here. However it is not
> 	working. Here is the resultant compiler directive:
> 
> 	gcc -I../../include -I../../backend   -I/opt/tcl-8.0/include   -Wall
> 	-Wmissing-prototypes  -I../../interfaces/libpgtcl    -c pgtclAppInit.c
> 	-o pgtclAppInit.o

Something like (one line !!)
CFLAGS='-I/opt/tcl-8.0/include -I/opt/tk-8.0/includes/X11' 
LDFLAGS='-L/opt/tcl-8.0/lib -L/opt/tk-8.0/X11/lib'
./configure ......

should do the trick in any case.

Ciao
		Racke

-- 
Racke's Package and Resource Database (http://www.han.de/~racke/pard/)
486 packages, 60 resources, 10 distributions covered



view thread (3+ messages)

Message-ID: <m3yandzreg.fsf@gundel.han.de>
Permalink:  ../m3yandzreg.fsf@gundel.han.de/
Also on:    postgresql.org/message-id/m3yandzreg.fsf@gundel.han.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: racke@gundel.han.de, pgsql-interfaces@hub.org
  Subject: Re: Problems building libpgtcl
  In-Reply-To: <m3yandzreg.fsf@gundel.han.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox