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

Re: Cygwin PostgreSQL with TCL support (was Re: hi)

From: s0lao(at)netscape(dot)net (S(dot) L(dot))
To: guard(at)ficnet(dot)net
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Cygwin PostgreSQL with TCL support (was Re: hi)
Date: 2001-06-21 13:37:14
Message-ID: 084318CF.1B76F40D.00013D13@netscape.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
"guard" <guard(at)ficnet(dot)net> wrote:
>
> Dear SLao
> 
> sorry,my english bad,I had with your method
> I run full step...
> (1) tar zxvf postgresql-7.1.2
> (2) ./configure --with-tcl --with-tclconfig=/lib --without-tk
> (3) cd /postgresql-7.1.2/src/pl/tcl
> (4) make (if not run make ,not found Makefile.tcldefs)
> (5) vi Makefile.tcldefs  (edit TCL_SHARED_BUILD = 1)
> (6) I not to understand
> "The @VALUE@ is a generic specification, not an actual item in the
> Makefile.tcldefs file. You could use instead of VALUE name, any name you
> found in Makefile.tcldefs between @ and @ :)"
> (7)make
> error message:
> i686-pc-cygwin-gcc
> @CFLAGS_OPTIMIZE@  -I../../../src/include -I/usr/local/include   -c -o
> pltcl.o pltcl.c
> i686-pc-cygwin-gcc: cannot specify -o with -c or -s and multiple
> compilations
> make: *** [pltcl.o] Error 1
> 

The above @CFLAGS_OPTIMIZE@ is such a @VARIABLE@ I was refering. So are those I marked with ^ in your Makefile.tcldefs; they must be deleted from there all.

> 
> 
> 
> 
> my Makefile.tcldefs
> ================
> TCL_VERSION = 8.0
> TCL_MAJOR_VERSION = 8
> TCL_MINOR_VERSION = 0
> TCL_PATCH_LEVEL = p2
> TCL_CC = i686-pc-cygwin-gcc
> TCL_DEFS =
> TCL_DBGX = @TCL_DBGX@
             ^
> TCL_CFLAGS_DEBUG = @CFLAGS_DEBUG@
                     ^
> TCL_CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
                        ^
> TCL_SHARED_BUILD = 1
> TCL_LIB_FILE = libtcl80.a
> TCL_BIN_DIR = /cygnus/netrel/build/gdb-20001125-1/tcl/win
> TCL_LIB_FULL_PATH = @TCL_LIB_FULL_PATH@
                      ^
> TCL_LIBS =   -lm
> TCL_PREFIX = /usr
> TCL_EXEC_PREFIX = /usr
> TCL_SHLIB_CFLAGS =
> TCL_EXTRA_CFLAGS = @EXTRA_CFLAGS@
                     ^
> TCL_SHLIB_LD =
> TCL_SHLIB_LD_LIBS =
> TCL_SHLIB_SUFFIX =
> TCL_DL_LIBS =
> TCL_LD_FLAGS =
> TCL_LD_SEARCH_FLAGS =
> TCL_COMPAT_OBJS =
> TCL_RANLIB = i686-pc-cygwin-ranlib
> TCL_LIB_FLAG = @TCL_LIB_FLAG@
                 ^
> TCL_BUILD_LIB_SPEC = -L/cygnus/netrel/build/gdb-20001125-1/tcl/win -ltcl80
> TCL_LIB_SPEC = -L/usr/lib -ltcl80
> TCL_LIB_VERSIONS_OK = nodots
> TCL_SHARED_LIB_SUFFIX =
> TCL_UNSHARED_LIB_SUFFIX = 80.a
> TCL_SRC_DIR = /cygnus/netrel/src/gdb-20001125-1/tcl
> TCL_PACKAGE_PATH = /usr/lib
> 
> 
> 

Ok?

                      SLao
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

In response to

Responses

pgsql-cygwin by date

Next:From: Rishi SharmaDate: 2001-06-21 21:12:34
Subject: RE: Why cant I load Pg module from my perl CGI under IIS?
Previous:From: S. L.Date: 2001-06-21 05:49:39
Subject: Re: Cygwin PostgreSQL with TCL support (was Re: hi)

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