Re: --with-tcl

Поиск
Список
Период
Сортировка
От Brett Schwarz
Тема Re: --with-tcl
Дата
Msg-id 1038881446.5725.6.camel@thor
обсуждение исходный текст
Ответ на Re: --with-tcl  (Aasmund Midttun Godal <postgresql@aasmund.com>)
Ответы Re: --with-tcl  (Aasmund Midttun Godal <postgresql@aasmund.com>)
Список pgsql-general
Are you sure that the tclConfig.sh file is located in
/usr/local/lib/tcl8.3/ ?

By default, Tcl would install with PREFIX=/usr/local and then the
tclConfig.sh file will be installed in /usr/local/lib

Check to make sure that the tclConfig.sh file is where you specified it,
and make sure it is valid...

    --brett

On Mon, 2002-12-02 at 15:50, Aasmund Midttun Godal wrote:
> Thank you for responding,
>
> However, I hva all the tcl files installed, including tcl.h, and it worked
> with Pg 7.2
>
> Regards,
>
> Aasmund.
>
> * Tommi Maekitalo <t.maekitalo@epgmbh.de> wrote:
> > Hi,
> >
> > tcl.h is missing. You have to install the developmentfiles of tcl.
> Normally
> > you can find it in tc-devel if you have linux. Configure should have
> > complained about it.
> >
> >
> > Tommi
> >
> >
> > Am Montag, 2. Dezember 2002 07:49 schrieb Aasmund Midttun Godal:
> > > Oh, and it's 7.3, obviously, sorry.
> > >
> > > Regards,
> > >
> > > Aasmund.
> > >
> > > * Aasmund Midttun Godal <postgresql@aasmund.com> wrote:
> > > > Hi!
> > > >
> > > > I am having trouble compiling postgres with tcl on OpenBSD. I have
> both
> > > > 8.0 and 8.3, and I have tried compiling with both of them. I also
> tried
> > > > w/o tk. I tried editing lipgtcl.h and adding the path to tcl.h with
> no
> > > > success. Compiling without tcl is no problem. configuring works fine,
> > >
> > > but
> > >
> > > > it fails at compile time. Here are my configure commands:
> > > >
> > > > ./configure --with-perl --with-tcl --with-
> > > > tclconfig=/usr/local/lib/tcl8.3/ --without-tk
> > > >
> > > > ./configure --with-perl --with-tcl --with-
> > > > tclconfig=/usr/local/lib/tcl8.3/ --with-
> tkconfig=/usr/local/lib/tk8.3/
> > > >
> > > > ./configure --with-perl --with-tcl --with-
> > >
> > > tclconfig=/usr/local/lib/tk8.0/ -
> > >
> > > > -with-tclconfig=/usr/local/lib/tk8.0/
> > > >
> > > > ./configure --with-tcl --with-tkconfig=/usr/local/lib/tk8.0/
> > > >
> > > > ./configure --with-tcl --without-tk
> > > >
> > > >
> > > > Below is compilation error, it is, I believe, identical on all
> > > > configurations.
> > > >
> > > > All help will be greatly appreciated!
> > > >
> > > > Regards,
> > > >
> > > > Aasmund.
> > > >
> > > >
> > > > gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -
> fpic -
> > > > DPIC -I../../../src/interfaces/libpq -I../../../src/include   -c -o
> > > > pgtcl.o pgtcl.c
> > > > In file included from pgtcl.c:19:
> > > > libpgtcl.h:19: tcl.h: No such file or directory
> > > > In file included from pgtcl.c:20:
> > > > pgtclCmds.h:17: tcl.h: No such file or directory
> > > > In file included from pgtcl.c:19:
> > > > libpgtcl.h:21: syntax error before `*'
> > > > libpgtcl.h:22: syntax error before `*'
> > > > In file included from pgtcl.c:20:
> > > > pgtclCmds.h:47: syntax error before `Tcl_Interp'
> > > > pgtclCmds.h:90: syntax error before `cData'
> > > > pgtclCmds.h:92: syntax error before `cData'
> > > > pgtclCmds.h:94: syntax error before `cData'
> > > > pgtclCmds.h:96: syntax error before `cData'
> > > > pgtclCmds.h:98: syntax error before `cData'
> > > > pgtclCmds.h:100: syntax error before `cData'
> > > > pgtclCmds.h:102: syntax error before `cData'
> > > > pgtclCmds.h:104: syntax error before `cData'
> > > > pgtclCmds.h:106: syntax error before `cData'
> > > > pgtclCmds.h:118: syntax error before `cData'
> > > > pgtclCmds.h:120: syntax error before `cData'
> > > > pgtclCmds.h:123: syntax error before `cData'
> > > > pgtclCmds.h:125: syntax error before `cData'
> > > > pgtclCmds.h:127: syntax error before `cData'
> > > > pgtclCmds.h:129: syntax error before `cData'
> > > > pgtclCmds.h:131: syntax error before `cData'
> > > > pgtclCmds.h:133: syntax error before `cData'
> > > > pgtclCmds.h:135: syntax error before `cData'
> > > > pgtclCmds.h:137: syntax error before `cData'
> > > > In file included from pgtcl.c:21:
> > > > pgtclId.h:18: syntax error before `*'
> > > > pgtclId.h:37: syntax error before `*'
> > > > pgtclId.h:39: syntax error before `cData'
> > > > pgtclId.h:40: syntax error before `cData'
> > > > pgtclId.h:41: syntax error before `cData'
> > > > pgtclId.h:42: syntax error before `*'
> > > > pgtclId.h:43: syntax error before `*'
> > > > pgtclId.h:44: syntax error before `*'
> > > > pgtclId.h:45: syntax error before `*'
> > > > pgtclId.h:50: syntax error before `clientData'
> > > > pgtclId.h:63: syntax error before `Pg_ConnType'
> > > > pgtclId.h:63: warning: type defaults to `int' in declaration of
> > > > `Pg_ConnType'
> > > > pgtclId.h:63: warning: data definition has no type or storage class
> > > > pgtcl.c:30: syntax error before `*'
> > > > pgtcl.c:31: warning: no previous prototype for `Pgtcl_Init'
> > > > pgtcl.c: In function `Pgtcl_Init':
> > > > pgtcl.c:48: warning: implicit declaration of function `Tcl_GetDouble'
> > > > pgtcl.c:48: `interp' undeclared (first use in this function)
> > > > pgtcl.c:48: (Each undeclared identifier is reported only once
> > > > pgtcl.c:48: for each function it appears in.)
> > > > pgtcl.c:48: warning: implicit declaration of function `Tcl_GetVar'
> > > > pgtcl.c:48: `TCL_GLOBAL_ONLY' undeclared (first use in this function)
> > > > pgtcl.c:53: warning: implicit declaration of function
> `Tcl_CreateCommand'
> > > > pgtcl.c:56: `ClientData' undeclared (first use in this function)
> > > > pgtcl.c:56: syntax error before `0'
> > > > pgtcl.c:61: syntax error before `0'
> > > > pgtcl.c:66: syntax error before `0'
> > > > pgtcl.c:71: syntax error before `0'
> > > > pgtcl.c:76: syntax error before `0'
> > > > pgtcl.c:81: syntax error before `0'
> > > > pgtcl.c:86: syntax error before `0'
> > > > pgtcl.c:91: syntax error before `0'
> > > > pgtcl.c:96: syntax error before `0'
> > > > pgtcl.c:112: syntax error before `0'
> > > > pgtcl.c:117: syntax error before `0'
> > > > pgtcl.c:123: syntax error before `0'
> > > > pgtcl.c:128: syntax error before `0'
> > > > pgtcl.c:133: syntax error before `0'
> > > > pgtcl.c:138: syntax error before `0'
> > > > pgtcl.c:143: syntax error before `0'
> > > > pgtcl.c:148: syntax error before `0'
> > > > pgtcl.c:153: syntax error before `0'
> > > > pgtcl.c:158: syntax error before `0'
> > > > pgtcl.c:160: warning: implicit declaration of function
> `Tcl_PkgProvide'
> > > > pgtcl.c:162: `TCL_OK' undeclared (first use in this function)
> > > > pgtcl.c:163: warning: control reaches end of non-void function
> > > > pgtcl.c: At top level:
> > > > pgtcl.c:167: syntax error before `*'
> > > > pgtcl.c:168: warning: no previous prototype for `Pgtcl_SafeInit'
> > > > pgtcl.c: In function `Pgtcl_SafeInit':
> > > > pgtcl.c:169: `interp' undeclared (first use in this function)
> > > > gmake[3]: *** [pgtcl.o] Error 1
> > > >
> > > > Aasmund Midttun Godal
> > > >
> > > > aasmund@godal.com - http://www.godal.com/
> > > > +47 40 45 20 46 - Elgesetergt. 26B, N-7030 Trondheim
> > > >
> > > > ---------------------------(end of broadcast)------------------------
> ---
> > > > TIP 1: subscribe and unsubscribe commands go to
> majordomo@postgresql.org
> > >
> > > Aasmund Midttun Godal
> > >
> > > aasmund@godal.com - http://www.godal.com/
> > > +47 40 45 20 46 - Elgesetergt. 26B, N-7030 Trondheim
> > >
> > > ---------------------------(end of broadcast)--------------------------
> -
> > > TIP 4: Don't 'kill -9' the postmaster
> >
> > --
> > Dr. Eckhardt + Partner GmbH
> > http://www.epgmbh.de
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> >
>
> Aasmund Midttun Godal
>
> aasmund@godal.com - http://www.godal.com/
> +47 40 45 20 46 - Elgesetergt. 26B, N-7030 Trondheim
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Brett Schwarz
brett_schwarz AT yahoo.com


В списке pgsql-general по дате отправления:

Предыдущее
От: Aasmund Midttun Godal
Дата:
Сообщение: Re: --with-tcl
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: Problems with FTP mirror sites