Package: tkrat
Version: 1:2.2cvs20100105-true-dfsg-6

tkrat fails to build when both tk8.5-dev and tk8.6-dev are installed.
The configure script pick up 8.6 and then the build fails:

> make[1]: Entering directory '/home/tbm/tkrat-2.2cvs20100105-true-dfsg/lib'
> gcc  -g -O2 -Wformat -Werror=format-security -I/usr/include  -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I./../imap/c-client  -I/usr/include/tcl  -fPIC 
> -DVERSION=\"2.2\"   -c -o ratDummy.o ratDummy.c
> ratDummy.c:29:1: error: conflicting types for 'Tk_ConfigureValue'
>  Tk_ConfigureValue(Tcl_Interp * interp, Tk_Window tkwin, Tk_ConfigSpec * 
> specs,
>  ^
> In file included from /usr/include/tcl/tk.h:1546:0,
>                  from ratDummy.c:14:
> /usr/include/tcl/tkDecls.h:129:13: note: previous declaration of 
> 'Tk_ConfigureValue' was here

When I remove tk8.6-dev but have tcl8.6/tk8.6 installed, I get:

configure: WARNING: WARNING can't find tk include files version 8.6.

> checking tkConfig.sh... configure: error: No tkConfig.sh found
> /usr/share/cdbs/1/class/autotools.mk:42: recipe for target 
> 'debian/stamp-autotools' failed
> make: *** [debian/stamp-autotools] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to