tags 409488 + patch thank you This seems like a common problem in this package. Two files have the version number of tcllib hardwritten in the code, and they need to be changed on each upstream release of tcllib.
tcllib could provide and maintain a /usr/lib/tcllib symlink, which would be neat, but meanwhile, instead of manually keeping it up-to-date, please consider adding the attached (dirty!) patch to debian/rules. Please note that, applying this patch, I'm able to build successfully saods9 in a pbuilder environment, in x86_32. Thank you very much for your time and attention to details. Jose -- José Miguel Parrella Romero -> Debian Sid, k2.6.18 Escuela de Computación - Facultad de Ciencias Universidad Central de Venezuela -> ucvlug.info
--- old/saods9-4.0b7/debian/rules 2007-02-25 04:58:50.000000000 -0400 +++ new/saods9-4.0b7/debian/rules 2007-02-25 05:05:34.000000000 -0400 @@ -13,6 +13,8 @@ BUILDPARTS:=dirs checkdns html mktclapp tkmpeg iis BUILDPARTS+=xpa ast wcssubs funtools sla saotk ds9 +TCLLIBDIR=$(shell dpkg -L tcllib | grep /usr/lib/tcllib) + FLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) @@ -27,7 +29,14 @@ regenerate-man: perl ./debian/generate-man >./debian/ds9.1; -build: +configure: + sed -i~ s#/usr/lib/tcllib1.8#$(TCLLIBDIR)# ds9/ds9.tcl + sed -i~ s#/usr/lib/tcllib1.8#$(TCLLIBDIR)# ds9/ds9.mta + + rm ds9/ds9.tcl~ + rm ds9/ds9.mta~ + +build: configure dh_testdir ln -sf make.linux make.include $(MAKE) FLAGS="$(FLAGS)" $(BUILDPARTS) @@ -51,6 +60,12 @@ set -e; cd ./ds9/; rm -f ds9 ds9tk.c ds9tk.h; dh_clean ./build ./make.include mktclapp/mktclapp; + sed -i~ s#$(TCLLIBDIR)#/usr/lib/tcllib1.8# ds9/ds9.tcl + sed -i~ s#$(TCLLIBDIR)#/usr/lib/tcllib1.8# ds9/ds9.mta + + rm ds9/ds9.tcl~ + rm ds9/ds9.mta~ + #dh_clean -k binary: binary-indep binary-arch