Re: [Gimp-docs] Make error

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

 



В Чтв, 12/10/2006 в 08:36 +0200, julien пишет:
> Hi,
> 
> This time I downloaded a new sandbox to be sure error was not due to my 
> own changes. After ./autogen.sh, I did a make and got this new error:
> 
> Rebuild the help files:         yes
>   Languages:                      cs de en es fr hr it ko nl no ru sv zh_CN
>   Installation prefix:            ${datadir}/gimp/2.0
>   Optimize PNGs for HTML files:   no
> 
> 
> Now type 'make' to compile gimp-help-2.
> [julien@localhost gimp-help-2]$ make ALL_LINGUAS="fr"
> *** Creating directories ***
> *** Creating link in PDF directory to images ***
> -- Profiling XML for fr
> -- Validating XML for fr        number of errors: 0
> *** Validating profiled XML ***
> Log files of the validation process have been generated in the xml 
> directory.
> Please correct any errors before writing new content.
> *** Copying images ***
> *** Copying stylesheets ***
> -- Building HTML for fr
> runtime error: file 
> file:///usr/share/sgml/docbook/xsl-stylesheets-1.69.1/common/l10n.xsl 
> line 26 element choose
> unregistered variable l10n.gentext.language
> xmlXPathCompiledEval: evaluation failed
> make: *** [stamps/html.fr.stamp] Erreur 10
> 
> Then I deleted stamps/mkdirs-fr.stamp and stamps/mkdirs.stamp: the error 
> remained the same.
> 
> Then I commented the line
> <xsl:import href="@STYLEBASE@/html/autoidx-ng.xsl"/>
> in stylesheets/plainhtml.xsl.in, I ran ./autogen.sh again,
> and "make" runs OK  now ;-) but my diacritical initials still are in a 
> Symbols section in the Index :-( ...
> 
> Greetings.
> 
> Julien
> 
> 
> Nickolay V. Shmyrev a écrit :
> > В Срд, 11/10/2006 в 15:44 +0200, julien пишет:
> >> Hi,
> >>
> >> I just updated and as soon made a make to see if "É" was placed 
> >> correctly in the index. I got this error:
> >>
> >> cvs server: Updating stylesheets
> >> U stylesheets/plainhtml.xsl.in
> >> cvs server: Updating stylesheets/zh_CN
> >> cvs server: Updating tools
> >> cvs server: Updating tools/tests
> >> cvs server: Updating web
> >> cvs server: Updating web/layout
> >> cvs server: Updating web/stylesheets
> >> [julien@localhost gimp-help-2]$ make ALL_LINGUAS="fr"
> >> -- Profiling XML for fr
> >> -- Validating XML for fr        number of errors: 0
> >> *** Validating profiled XML ***
> >> Log files of the validation process have been generated in the xml 
> >> directory.
> >> Please correct any errors before writing new content.
> >> *** Copying images ***
> >> cp: ne peut créer le fichier régulier (=can't create the regular file)
> >> `html/./images/using/ru/standard-setup.png': Aucun fichier ou répertoire 
> >> de ce type (=No file or directory of this type)
> >> make: *** [stamps/images.stamp] Erreur 1
> >>
> >> Please correct it.
> >>
> >> Greetings
> > 
> > It's just one bug in our makefiles. Please remove stamps/mkdirs.stamp
> > and run make once again. Or just try rerun autogen.sh
> > 
> > The reason for this problem is that dirs are created in mkdirs target
> > and images are copied later. If stamp for mkdirs is present, the
> > directory for using/ru won't be created. 

Hm, that's bad

I remember that Sally noticed it before - this autoidx-ng has issues
with xsltproc. I was wrong stating that it will work, actually there is
bug:

http://bugzilla.gnome.org/show_bug.cgi?id=122483
http://www.oasis-open.org/archives/docbook-apps/200506/msg00197.html

Newer versions of libxml2 and libxslt have no such problem. I have
libxslt 1.1.17 and docbook-stylesheets 1.69.1 and everything works fine.

So there are several options:

1. Revert the change
2. Bump the libxslt requirement
3. Make index generation conditional. With older libxslt it will use
autoidx, with new it will use autoidx-ng

Opinions?

Attachment: signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=

_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs

[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux