Re: Cygwin PostgreSQL with TCL support (was Re: hi) - Mailing list pgsql-cygwin

From s0lao@netscape.net (S. L.)
Subject Re: Cygwin PostgreSQL with TCL support (was Re: hi)
Date
Msg-id 084318CF.1B76F40D.00013D13@netscape.net
Whole thread Raw
In response to Re: Cygwin PostgreSQL with TCL support (was Re: hi)  (s0lao@netscape.net (S. L.))
List pgsql-cygwin
"guard" <guard@ficnet.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;
theymust 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/

pgsql-cygwin by date:

Previous
From: s0lao@netscape.net (S. L.)
Date:
Subject: Re: Cygwin PostgreSQL with TCL support (was Re: hi)
Next
From: Rishi Sharma
Date:
Subject: RE: Why cant I load Pg module from my perl CGI under IIS ?