Skip site navigation (1) Skip section navigation (2)

Re: vs. ./configure

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: vs. ./configure
Date: 2001-12-20 18:00:20
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Thu, Dec 20, 2001 at 06:13:12PM +0100, Peter Eisentraut wrote:

> The file is found by looking into the path returned by `echo
> 'puts $auto_path' | tclsh`.
> Then theoretically, the file should be found by looking into
> the path returned by `echo 'puts $auto_path' | wish`, which would indeed

 In the X-win:

 $ echo 'puts $auto_path; exit' | wish
 /usr/lib/tcl8.3 /usr/lib /usr/lib/tk8.3

 it's right, but really ugly is that it require X display. 
 $ echo 'puts $auto_path; exit' | wish
 Application initialization failed: no display name and no $DISPLAY
 environment variable

 The other thing is that tcl*.h and tk.h files are in /usr/inlude/tcl8.3,

$ ./configure     --prefix=/usr/lib/postgresql \
                  --with-tcl \
 finish with:

make[4]: Leaving directory `/var/home/PG_DEVEL/pgsql/src/interfaces/libpgtcl'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpgtcl -I../../../src/include  -I/usr/X11R6/include  -c -o pgtkAppInit.o pgtkAppInit.c
pgtkAppInit.c:15: tk.h: No such file or directory
make[3]: *** [pgtkAppInit.o] Error 1

 (yes, I know --includedir= etc., but it's _standard_ latest unstable


 Karel Zak  <zakkr(at)zf(dot)jcu(dot)cz>
 C, PostgreSQL, PHP, WWW,,

In response to


pgsql-hackers by date

Next:From: Karel ZakDate: 2001-12-20 18:16:26
Subject: -lperl not checked
Previous:From: Daniel KalchevDate: 2001-12-20 17:29:35
Subject: Re: vs. ./configure

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group