FS#926 - tcl-8.4.6 tclConfig.sh bug

Attached to Project: Arch Linux
Opened by Vesa Kaihlavirta (vegai) - Saturday, 22 May 2004, 10:49 GMT
Last edited by Judd Vinet (judd) - Thursday, 27 May 2004, 06:48 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

/usr/lib/tclConfig.sh, owned by the package tcl, configures directories wrongly, e.g.:

TCL_SRC_DIR='/home/dorphell/Arch.CVS/arch/build/devel/tcl/src/tcl8.4.6'

This causes at least itcl-3.2.1 to not compile correctly:

[vegai@kontu itcl3.2.1]$ ./configure&&make
loading cache ./config.cache
checking for prefix by checking for itclsh... no
creating ./config.status
creating Makefile
configuring in itcl
running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for Cygwin environment... (cached) no
checking for object suffix... (cached) o
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for Tcl configuration... (cached) found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for Tcl private include files... Using srcdir found in tclConfig.sh: /home/dorphell/Arch.CVS/arch/build/devel/tcl/src/tcl8.4.6
checking for building with threads... no (default)
checking how to build libraries... shared
checking for build with symbols... no
(cached) checking for tclsh... (cached) /usr/bin/tclsh
creating ./config.status
creating Makefile
creating pkgIndex.tcl
creating itclConfig.sh
configuring in itk
running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for Cygwin environment... (cached) no
checking for object suffix... (cached) o
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for Tcl configuration... (cached) found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for Tk configuration... (cached) found /usr/lib/tkConfig.sh
checking for existence of /usr/lib/tkConfig.sh... loading
checking for name if Itcl stub library... (cached) libitclstub3.2.a
checking for tkstub library... -L/usr/lib -ltkstub8.4
checking for itclstub library... -L/usr/local/lib -l
checking for Tcl private include files... Using srcdir found in tclConfig.sh: /home/dorphell/Arch.CVS/arch/build/devel/tcl/src/tcl8.4.6
checking for Tk private include files... Using srcdir found in tkConfig.sh
checking for building with threads... no (default)
checking how to build libraries... shared
checking for build with symbols... no
checking for tclsh... (cached) /usr/bin/tclsh
checking for wish... (cached) /usr/bin/wish
creating ./config.status
creating Makefile
creating pkgIndex.tcl
creating itkConfig.sh
for dir in itcl itk ; do \
if test -d $dir ; then \
echo "$dir: make all" ;\
if (cd $dir; make all) ; then true ; else exit 1 ; fi ; \
else \
exit 1; \
fi \
done;
itcl: make all
make[1]: Entering directory `/usr/home/vegai/src/itcl3.2.1/itcl'
cc -DVERSION=\"3.2\" -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/usr/local/lib/itcl3.2\" -I/home/dorphell/Arch.CVS/arch/build/devel/tcl/src/tcl8.4.6/generic -I/home/dorphell/Arch.CVS/arch/build/devel/tcl/src/tcl8.4.6/unix -I"./generic" -I"./unix" -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -c `echo ./generic/itclStubInit.c` -o itclStubInit.o
In file included from ./generic/itclStubInit.c:14:
./generic/itclInt.h:53:20: tclInt.h: No such file or directory
In file included from ./generic/itclStubInit.c:14:
./generic/itclInt.h:135: error: parse error before "Var"
./generic/itclInt.h:135: warning: no semicolon at end of struct or union
[... repeated a thousand times]
make[1]: *** [itclStubInit.o] Error 1
make[1]: Leaving directory `/usr/home/vegai/src/itcl3.2.1/itcl'
make: *** [all] Error 1
This task depends upon

Closed by  dorphell (dorphell)
Tuesday, 08 June 2004, 20:47 GMT
Reason for closing:  Not a bug
Comment by dorphell (dorphell) - Tuesday, 08 June 2004, 20:47 GMT
We store the tcl includes in the /usr/include directory. Try to configure itcl with that path.

Loading...