Re: Problems building libpgtcl - Mailing list pgsql-interfaces

From Stefan Hornburg
Subject Re: Problems building libpgtcl
Date
Msg-id m3yandzreg.fsf@gundel.han.de
Whole thread Raw
In response to Problems building libpgtcl  ("Stan Brown" <stanb@awod.com>)
List pgsql-interfaces
"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

pgsql-interfaces by date:

Previous
From: Byron Nikolaidis
Date:
Subject: Re: Money type mapping to backend (MORE)
Next
From: "Bill Hutto"
Date:
Subject: Re: Money type mapping to backend