[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633707: scid:: FTBFS: src/misc.h:22:17: fatal error: tcl.h: No such file or directory

Source: scid
Version: 1:4.3.0.cvs20110706-2
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org


scid FTBFS on armhf, sh4 and sparc64.
cp scripts/pgnfix.py ./pgnfix
chmod +x pgnfix
cp scripts/spliteco.tcl ./spliteco
chmod +x spliteco
cp scripts/spf2spi.tcl ./spf2spi
chmod +x spf2spi
g++  -O3 -fno-rtti -fno-exceptions -Wall   -I/usr/include -o
src/pgnscid.o -c src/pgnscid.cpp
In file included from src/namebase.h:20:0,
                 from src/index.h:23,
                 from src/pgnscid.cpp:17:
src/misc.h:22:17: fatal error: tcl.h: No such file or directory
compilation terminated.
make[1]: *** [src/pgnscid.o] Error 1
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Probably other debian-ports architecture will become FTBFS, too.

I made patch to support armhf, sh4, sparc64 and other. Could you apply
this patch?

Best regards,

Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff --git a/debian/rules b/debian/rules
index f866469..7a5965e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ endif
 include /usr/share/dpatch/dpatch.make
-config.status: configure
+config.status: configure patch-stamp
 	# Add here commands to configure the package.
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
@@ -41,7 +41,7 @@ endif
 build: build-stamp
-build-stamp:  config.status patch-stamp
+build-stamp:  config.status
 	# Add here commands to compile the package.
--- a/configure
+++ b/configure
@@ -219,16 +219,24 @@ proc findTclTkPaths {} {
+        /usr/lib/arm-linux-gnueabihf
+        /usr/lib/powerpc-linux-gnuspe
+        /usr/lib/sparc64-linux-gnu
+        /usr/lib/sh4-linux-gnu
+        /usr/lib/alpha-linux-gnu
+        /usr/lib/hppa-linux-gnu
+        /usr/lib/m68k-linux-gnu
+        /usr/lib/avr32-linux-gnu

     if {! [info exists var(TCL_INCLUDE)]} {

Reply to: