Received: from baghira.han.de (baghira.han.de [192.109.225.2]) by hub.org (8.9.1/8.9.1) with ESMTP id NAA29134 for ; Fri, 8 Jan 1999 13:21:47 -0500 (EST) (envelope-from racke@gundel.han.de) Received: (from uucp@localhost) by baghira.han.de (8.9.2/8.9.2) with UUCP id TAA12178 for pgsql-interfaces@hub.org; Fri, 8 Jan 1999 19:05:51 +0100 (MET) Received: (from racke@localhost) by gundel.han.de (8.7.5/8.6.9) id RAA18296; Fri, 8 Jan 1999 17:00:15 +0100 To: pgsql-interfaces@hub.org Subject: Re: Problems building libpgtcl References: <199901040035.TAA02244@hub.org> From: Stefan Hornburg Date: 08 Jan 1999 17:00:07 +0100 In-Reply-To: "Stan Brown"'s message of "Sun, 3 Jan 1999 19:35:01 -0500 (EST)" Message-ID: Lines: 33 X-Mailer: Gnus v5.6.3/Emacs 19.34 X-Emacs: 19.34 MIME-Version: 1.0 (generated by SEMI 1.2.0 - "Nishiizumi") Content-Type: text/plain; charset=US-ASCII "Stan Brown" 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