Can not compile --with-tcl ???

Поиск
Список
Период
Сортировка
От sam
Тема Can not compile --with-tcl ???
Дата
Msg-id 001b01c34e51$9b1fb5d0$6701a8c0@win
обсуждение исходный текст
Список pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================
 

Your name               :sam
Your email address      :sam@young-net.com.tw
 

System Configuration
---------------------
  Architecture (example: Intel Pentium)         :Intel Pentium
 
  Operating System (example: Linux 2.0.26 ELF)  : FreeBSD 4.7
 
  PostgreSQL version (example: PostgreSQL-7.1.1):   PostgreSQL-7.1.2
 
  Compiler used (example:  gcc 2.95.2)          :gcc version 2.95.4 20020320 [FreeBSD]
 

Please enter a FULL description of your problem:
------------------------------------------------
 
I  have  comiple  tcl 8.3.2  and  tk 8.3.2  complete
but  I  want  to  compile  postgresql 7.1.3  with  tcl
 
./configure --with-tcl --with-tclconfig=/usr/local/tcl8.3.2/unix --with-tkconfig=/usr/local/tk8.3.2/unix
make
and  I  got    the  error
 
 
  gcc -pipe -O2 -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:44: syntax error before `Tcl_Interp'
pgtclCmds.h:80: syntax error before `cData'
pgtclCmds.h:82: syntax error before `cData'
pgtclCmds.h:84: syntax error before `cData'
pgtclCmds.h:86: syntax error before `cData'
pgtclCmds.h:88: syntax error before `cData'
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:108: syntax error before `cData'
pgtclCmds.h:110: syntax error before `cData'
pgtclCmds.h:114: syntax error before `cData'
pgtclCmds.h:116: syntax error before `cData'
pgtclCmds.h:118: syntax error before `cData'
pgtclCmds.h:120: syntax error before `cData'
pgtclCmds.h:122: syntax error before `cData'
pgtclCmds.h:124: syntax error before `cData'
pgtclCmds.h:126: 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:49: 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:43: warning: implicit declaration of function `Tcl_CreateCommand'
pgtcl.c:43: `interp' undeclared (first use in this function)
pgtcl.c:43: (Each undeclared identifier is reported only once
pgtcl.c:43: for each function it appears in.)
pgtcl.c:46: `ClientData' undeclared (first use in this function)
pgtcl.c:46: syntax error before `0'
pgtcl.c:51: syntax error before `0'
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:102: syntax error before `0'
pgtcl.c:107: syntax error before `0'
pgtcl.c:113: syntax error before `0'
pgtcl.c:118: 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:145: warning: implicit declaration of function `Tcl_PkgProvide'
pgtcl.c:147: `TCL_OK' undeclared (first use in this function)
pgtcl.c:148: warning: control reaches end of non-void function
pgtcl.c: At top level:
pgtcl.c:152: syntax error before `*'
pgtcl.c:153: warning: no previous prototype for `Pgtcl_SafeInit'
pgtcl.c: In function `Pgtcl_SafeInit':
pgtcl.c:154: `interp' undeclared (first use in this function)
gmake[3]: *** [pgtcl.o] Error 1
gmake[3]: Leaving directory `/usr/local/postgresql-7.1.3/src/interfaces/libpgtcl'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/postgresql-7.1.3/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/postgresql-7.1.3/src'
gmake: *** [all] Error 2
*** Error code 2
 
 
 
thanks 
 
 
 
Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
 
 
 
 
 
If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

-------------------------------------------------------
Young-net  Technology      Sam
phone:04-23763808#20
e-mail:sam@young-net.com.tw

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

Предыдущее
От: "FTL Africa"
Дата:
Сообщение: newbie compilation and runtime errors
Следующее
От: "sam"
Дата:
Сообщение: Can not compile --with-tcl ???