[Therion] make samples qmarks is broken
Wookey
wookey at wookware.org
Sat May 2 02:35:05 CEST 2009
I'm packaging current Therion (5.2.8) for Debian (much-needed update!)
I find that there is a problem with the build:
make samples fails with:
q-marks/thconfig.2
couldn't open "q-marks/questions.html": no such file or directory
while executing
"open $fn "r""
(procedure "get_html_body" line 2)
invoked from within
"get_html_body $html_src"
(procedure "create_docs" line 95)
invoked from within
"create_docs"
invoked from within
"if {([llength $argv] > 0) && [regexp -nocase {^clean$} [lindex $argv 0]]} {
scan_files ""
scan_lists
clean_files
} else {
if {[llength $argv] ..."
(file "samples.tcl" line 515)
make[1]: *** [all] Error 1
make[1]: Leaving directory /home/wookey/debian/therion/downloads/therion/samples'
make: *** [samples.doc/index.tex] Error 2
My tcl is pretty weak but I think the problem is that it tries to use
questions.html before it has been generated by the export line in
thconfig.2
running 'therion thconfig.2' in qmarks fails with the following error:
kpathsea: Running mktexmf cmcss10
! I can't find file cmcss10'.
<*> ...=ljfour; mag:=1; nonstopmode; input cmcss10
Please type another input file name
! Emergency stop.
<*> ...=ljfour; mag:=1; nonstopmode; input cmcss10
Transcript written on mfput.log.
grep: cmcss10.log: No such file or directory
mktextfm: mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input cmcss10' failed to make cmcss10.tfm.
makempx: Command failed: etex --parse-first-line
--interaction=nonstopmode mpxerr.tex; see mpxerr.log
>> data.mp
>> data.mpx
! Unable to make mpx file.
l.3834 ATTR__text := btex
\thcomment \thfb\char115 \char116 \char114 \char11...
9 output files written: data.1 .. data.4007
Transcript written on data.log.
therion: error -- metapost exit code -- 256
which looks like a missing font problem
cmcss10 is in the texlive-lang-cyrillic package.
I could make this a build dependency, if it really is needed.
(there is a more general problem here that all this sample-generation
stuff causes a therion bootstrapping problem - you need therion
already built in order to build it, which is very bad in
cross-building situations).
We should probably just skip all this stuff when cross-building.
Now the previous packaging had a fix like this:
diff -ruN therion-old/thtexfonts.cxx therion/thtexfonts.cxx
--- therion-old/thtexfonts.cxx 2007-05-25 17:51:30.000000000 +0100
+++ therion/thtexfonts.cxx 2008-01-03 22:45:51.000000000 +0000
@@ -70,13 +70,13 @@
F.ss = "cmss10";
F.si = "cmssi10";
FONTS.push_back(F);
- F.id = get_enc_id("xl2");
- F.rm = "csr10";
- F.it = "csti10";
- F.bf = "csbx10";
- F.ss = "csss10";
- F.si = "csssi10";
- FONTS.push_back(F);
+// F.id = get_enc_id("xl2");
+// F.rm = "csr10";
+// F.it = "csti10";
+// F.bf = "csbx10";
+// F.ss = "csss10";
+// F.si = "csssi10";
+// FONTS.push_back(F);
}
which I don't think is related, but I can't remember what it was for, so I'm not
sure whether it's still needed. I think that was so that therion could
run without needing czech/slovak tex fonts installed?
Can someone who understands this stuff confirm/deny?
Wookey
--
Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/
More information about the Therion
mailing list