
make-ing 7.0.2 failed with: -- everything fine up to here, users guide html okay Build users_guide.ps This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE) entering extended mode latex failed users_guide_tmp.tex:1631: Undefined control sequence \Documents. users_guide_tmp.tex:1631: leading text: } users_guide_tmp.tex:1631: Undefined control sequence \user. users_guide_tmp.tex:1631: leading text: } users_guide_tmp.tex:3993: Undefined control sequence \Person. users_guide_tmp.tex:3993: leading text: or \nolinkurl{Data\Person.hs} users_guide_tmp.tex:6185: Undefined control sequence \Documents. users_guide_tmp.tex:6185: leading text: ...ts~And~Settings\user\ghc\package.conf.d} users_guide_tmp.tex:6185: Undefined control sequence \user. users_guide_tmp.tex:6185: leading text: ...ts~And~Settings\user\ghc\package.conf.d} users_guide_tmp.tex:6185: Undefined control sequence \ghc. users_guide_tmp.tex:6185: leading text: ...ts~And~Settings\user\ghc\package.conf.d} users_guide_tmp.tex:6185: Undefined control sequence \package. users_guide_tmp.tex:6185: leading text: ...ts~And~Settings\user\ghc\package.conf.d} users_guide_tmp.tex: File ended while scanning use of \hyper@n@rmalise. users_guide_tmp.tex: Emergency stop. Error: latex compilation failed make[1]: *** [docs/users_guide/users_guide.ps] Fehler 1 make: *** [all] Fehler 2 on openSUSE 11.3. I don't know which programme is at fault here, maybe someone can check whether ps/pdf documentation building works on other systems. Re ./configure-ing after setting BUILD_DOCBOOK_PS = NO BUILD_DOCBOOK_PDF = NO in mk/build.mk said it would build ps and pdf documentation nevertheless, I had to edit the configure script to convince it not to try. configure just checks for the existence of a dblatex command, so perhaps $ dblatex --version /usr/lib/python2.6/site-packages/dbtexmf/dblatex/grubber/util.py:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 dblatex version 0.2.7 is helpful information. Unrelated: The build produces several SpecConstr Function `$j_s8qC{v} [lid]' has four call patterns, but the limit is 3 Use -fspec-constr-count=n to set the bound Use -dppr-debug to see specialisations warnings(?) (this is also very common building libraries). a) What does that mean for code generation? Will the specialisations be generated nevertheless? b) Would it be reasonable to have a higher default than 3 for spec-constr- count? Cheers, Daniel

On Sat, Mar 05, 2011 at 11:27:40AM +0100, Daniel Fischer wrote:
make-ing 7.0.2 failed with:
-- everything fine up to here, users guide html okay
Build users_guide.ps This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE) entering extended mode latex failed users_guide_tmp.tex:1631: Undefined control sequence \Documents. users_guide_tmp.tex:1631: leading text: }
Building the ps/pdf documentation works only with a specific, outdated version of dblatex (Simon will probably tell you which one). Trying to build with a different dblatex installed exhibits the error you encountered above. The error occurs everywhere where Windows-style pathnames are used; the backslashes end up raw in the tex. I'm not sure either if a fix should go into dblatex, the user's guide, or the build system.

On Sat, Mar 05, 2011 at 01:20:03PM +0100, Malte Sommerkorn wrote:
Building the ps/pdf documentation works only with a specific, outdated version of dblatex
I don't think that's true, but IIRC miktex includes a completely different program, also called dblatex, which doesn't do what we want. Thanks Ian

On Sun, Mar 06, 2011 at 01:05:12AM +0000, Ian Lynagh wrote:
On Sat, Mar 05, 2011 at 01:20:03PM +0100, Malte Sommerkorn wrote:
Building the ps/pdf documentation works only with a specific, outdated version of dblatex
I've just won a battle with dblatex to get the docs built on OS X. If you're having problems then the attached may be of help. Thanks Ian

On Sat, Mar 05, 2011 at 11:27:40AM +0100, Daniel Fischer wrote:
$ dblatex --version /usr/lib/python2.6/site-packages/dbtexmf/dblatex/grubber/util.py:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 dblatex version 0.2.7
I don't know if this is the problem, but I have $ dblatex --version dblatex version 0.3-2 Debian's previous stable release had 0.2.9, so that's probably fine too. $ make docs/users_guide/users_guide.ps ===--- building phase 0 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds make[1]: Nothing to be done for `phase_0_builds'. ===--- building phase 1 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds make[1]: Nothing to be done for `phase_1_builds'. ===--- building final phase make -r --no-print-directory -f ghc.mk phase=final docs/users_guide/users_guide.ps "/usr/bin/dblatex" docs/users_guide/users_guide.xml --ps -o docs/users_guide/users_guide.ps Build the book set list... Build the listings... XSLT stylesheets DocBook - LaTeX 2e (0.3-2) =================================================== subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen Pixel unit not handled (replaced by pt) Pixel unit not handled (replaced by pt) subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen subscript: default template used in programlisting or screen superscript: default template used in programlisting or screen superscript: default template used in programlisting or screen superscript: default template used in programlisting or screen superscript: default template used in programlisting or screen superscript: default template used in programlisting or screen superscript: default template used in programlisting or screen superscript: default template used in programlisting or screen superscript: default template used in programlisting or screen superscript: default template used in programlisting or screen superscript: default template used in programlisting or screen Found eps for 'prof_scc' Build users_guide.ps This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) restricted \write18 enabled. entering extended mode processing index /tmp/tmp2gpTyl/users_guide.idx... This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support). Scanning style file /usr/share/dblatex/latex/scripts/doc.ist....done (4 attributes redefined, 0 ignored). Scanning input file /tmp/tmp2gpTyl/users_guide.idx....done (779 entries accepted, 0 rejected). Sorting entries.........done (7976 comparisons). Generating output file /tmp/tmp2gpTyl/users_guide.ind....done (902 lines written, 0 warnings). Output written in /tmp/tmp2gpTyl/users_guide.ind. Transcript written in /tmp/tmp2gpTyl/users_guide.ilg. This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) restricted \write18 enabled. entering extended mode This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) restricted \write18 enabled. entering extended mode running dvips on /tmp/tmp2gpTyl/users_guide.dvi... This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com) ' TeX output 2011.03.06:0100' -> /tmp/tmp2gpTyl/users_guide.ps . [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108 ] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] 'users_guide.ps' successfully built [ -f docs/users_guide/users_guide.ps ] Thanks Ian

On Sunday 06 March 2011 02:03:12, Ian Lynagh wrote:
On Sat, Mar 05, 2011 at 11:27:40AM +0100, Daniel Fischer wrote:
$ dblatex --version /usr/lib/python2.6/site-packages/dbtexmf/dblatex/grubber/util.py:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
dblatex version 0.2.7
I don't know if this is the problem, but I have
$ dblatex --version dblatex version 0.3-2
Debian's previous stable release had 0.2.9, so that's probably fine too.
That seems to be the problem, after installing dblatex-0.3-1.2: $ make docs/users_guide/users_guide.ps ===--- updating makefiles phase 0 make -r --no-print-directory -f ghc.mk phase=0 just-makefiles <snip> [242] [243] [244] [245] [246] 'users_guide.ps' successfully built [ -f docs/users_guide/users_guide.ps ] Check for dblatex >= 0.2.9 in configure?
participants (3)
-
Daniel Fischer
-
Ian Lynagh
-
Malte Sommerkorn