[Pkg-tcltk-devel] Bug#488491: tcl8.5-dev: error in an include file
Stanislav Maslovski
stanislav.maslovski at gmail.com
Sun Jun 29 10:36:50 UTC 2008
Package: tcl8.5-dev
Version: 8.5.2-1
Severity: important
When building new expect with tcl8.5 I got the following compilation error:
----------------------------------------------------------------------------
i486-linux-gnu-gcc -c -I. -I. -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tk-private/generic -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/usr/lib/expect5.43\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -Wall -g -D_BSD_SOURCE -O2 -ansi -D_SVID_SOURCE -D_POSIX_SOURCE -D_REENTRANT -DDFLT_STTY="\"sane\"" exp_command.c
In file included from /usr/include/tcl8.5/tcl-private/generic/tclInt.h:3836,
from exp_command.c:61:
/usr/include/tcl8.5/tcl-private/generic/tclPort.h:27:28: error: tclUnixPort.h: No such file or directory
----------------------------------------------------------------------------
A trivial patch that fixes this problem is attached.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (90, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages tcl8.5-dev depends on:
ii tcl8.5 8.5.2-1 Tcl (the Tool Command Language) v8
tcl8.5-dev recommends no packages.
-- no debconf information
-------------- next part --------------
Index: tcl8.5-8.5.2/generic/tclPort.h
===================================================================
--- tcl8.5-8.5.2.orig/generic/tclPort.h 2008-06-29 14:25:16.000000000 +0400
+++ tcl8.5-8.5.2/generic/tclPort.h 2008-06-29 14:25:33.000000000 +0400
@@ -24,7 +24,7 @@
#if defined(__WIN32__)
# include "../win/tclWinPort.h"
#else
-# include "tclUnixPort.h"
+# include "../unix/tclUnixPort.h"
#endif
#if !defined(LLONG_MIN)
More information about the Pkg-tcltk-devel
mailing list