its always the same error, using tcl8.4.9 on gentoo 2.6.20-r6checking system version (for dynamic loading)... ./configure: line 9892: syntax error near unexpected token `('
./configure: line 9892: ` case `(ac_space=' '; set | grep ac_space) 2>&1` in'
but there seems to be no info regarding this.tried installing this ... but get the following error:
./configure --with-tcl=/usr/local/lib/tcl8.4 --with-tclinclude=/usr/local/include/tcl8.4
.................. skip some stuff ....................
checking for Tcl public headers... /usr/local/include/tcl8.4
checking for building with threads... no (default)
checking how to build libraries... shared
checking if 64bit support is enabled... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... ./configure: line 9892: syntax error near unexpected token `('
./configure: line 9892: ` case `(ac_space=' '; set | grep ac_space) 2>&1` in'
(/tmp/tclDict-8.5.2)-> uname -sr
FreeBSD 5.4-RELEASE-p16
i'll keep checking here for any help. this is using tclDict-8.5.2.tar.gz (it says use that for tcl 8.4...)
(NEM: Is this comment still in need of answering? See also comp.lang.tcl for general questions.)
ok my bad, went through the whole of that thread a few times i dunno how the hell i missed that bit lolGaveUp wrote:That's a known bug in the configure script. The fix is mentioned in the other thread.
Code: Select all
# rpm -qa |grep tcl
tcl-8.4.13-4.el5.x86_64
tcl-devel-8.4.13-4.el5.x86_64
tcl-devel-8.4.13-4.el5.i386
tcl-8.4.13-4.el5.i386
# make
gcc -pipe -DPACKAGE_NAME=\"dict\" -DPACKAGE_TARNAME=\"dict\" -DPACKAGE_VERSION=\"8.5.2\" -DPACKAGE_STRING=\"dict\ 8.5.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TCL_STUBS=1 -I"/usr/local/include" -O -Wall -Wconversion -Wno-implicit-int -fPIC -c `echo ./generic/tclDictObj.c` -o tclDictObj.o
In file included from ./generic/tclDictObj.c:43:
./generic/tclDict.h:56: error: conflicting types for ‘Tcl_DictSearch’
/usr/local/include/tcl.h:1279: error: previous declaration of ‘Tcl_DictSearch’ was here
./generic/tclDictObj.c: In function ‘DupDictInternalRep’:
./generic/tclDictObj.c:198: warning: passing argument 1 of ‘tclStubsPtr->tcl_Alloc’ with different width due to prototype
./generic/tclDictObj.c: In function ‘UpdateStringOfDict’:
./generic/tclDictObj.c:355: warning: passing argument 1 of ‘tclStubsPtr->tcl_Alloc’ with different width due to prototype
./generic/tclDictObj.c: In function ‘SetDictFromAny’:
./generic/tclDictObj.c:494: warning: passing argument 1 of ‘tclStubsPtr->tcl_Alloc’ with different width due to prototype
./generic/tclDictObj.c: At top level:
./generic/tclDictObj.c:811: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:868: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:914: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:967: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:1011: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:1081: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:1149: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:1185: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:1244: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:1300: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c:1350: error: expected ‘)’ before ‘->’ token
./generic/tclDictObj.c: In function ‘DictGetCmd’:
./generic/tclDictObj.c:1468: warning: passing argument 3 of ‘tclStubsPtr->tcl_DictObjFirst’ from incompatible pointer type
./generic/tclDictObj.c:1482: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjNext’ from incompatible pointer type
./generic/tclDictObj.c: In function ‘DictMergeCmd’:
./generic/tclDictObj.c:1679: warning: passing argument 3 of ‘tclStubsPtr->tcl_DictObjFirst’ from incompatible pointer type
./generic/tclDictObj.c:1688: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjDone’ from incompatible pointer type
./generic/tclDictObj.c:1694: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjNext’ from incompatible pointer type
./generic/tclDictObj.c: In function ‘DictKeysCmd’:
./generic/tclDictObj.c:1735: warning: passing argument 3 of ‘tclStubsPtr->tcl_DictObjFirst’ from incompatible pointer type
./generic/tclDictObj.c:1751: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjNext’ from incompatible pointer type
./generic/tclDictObj.c: In function ‘DictValuesCmd’:
./generic/tclDictObj.c:1800: warning: passing argument 3 of ‘tclStubsPtr->tcl_DictObjFirst’ from incompatible pointer type
./generic/tclDictObj.c:1808: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjNext’ from incompatible pointer type
./generic/tclDictObj.c: In function ‘DictForCmd’:
./generic/tclDictObj.c:2462: warning: passing argument 3 of ‘tclStubsPtr->tcl_DictObjFirst’ from incompatible pointer type
./generic/tclDictObj.c:2509: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjNext’ from incompatible pointer type
./generic/tclDictObj.c:2521: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjDone’ from incompatible pointer type
./generic/tclDictObj.c: In function ‘DictFilterCmd’:
./generic/tclDictObj.c:2702: warning: passing argument 3 of ‘tclStubsPtr->tcl_DictObjFirst’ from incompatible pointer type
./generic/tclDictObj.c:2717: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjNext’ from incompatible pointer type
./generic/tclDictObj.c:2734: warning: passing argument 3 of ‘tclStubsPtr->tcl_DictObjFirst’ from incompatible pointer type
./generic/tclDictObj.c:2743: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjNext’ from incompatible pointer type
./generic/tclDictObj.c:2785: warning: passing argument 3 of ‘tclStubsPtr->tcl_DictObjFirst’ from incompatible pointer type
./generic/tclDictObj.c:2844: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjDone’ from incompatible pointer type
./generic/tclDictObj.c:2866: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjNext’ from incompatible pointer type
./generic/tclDictObj.c:2876: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjDone’ from incompatible pointer type
./generic/tclDictObj.c:2886: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjDone’ from incompatible pointer type
./generic/tclDictObj.c: In function ‘DictWithCmd’:
./generic/tclDictObj.c:3078: warning: passing argument 3 of ‘tclStubsPtr->tcl_DictObjFirst’ from incompatible pointer type
./generic/tclDictObj.c:3085: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjNext’ from incompatible pointer type
./generic/tclDictObj.c:3090: warning: passing argument 1 of ‘tclStubsPtr->tcl_DictObjDone’ from incompatible pointer type
make: *** [tclDictObj.o] Error 1