[Gimp-docs] authors.xml not build
Kolbjørn Stuestøl
kol-stue at online.no
Tue Jan 27 13:49:04 PST 2009
Ulf-D. Ehlert skreiv:
> Kolbjørn Stuestøl (Montag, 26. Januar 2009, 23:14):
>
>> Result:
>> $ make -f Makefile.GNU xml/no/preface/authors.xml VERBOSE=2
>> [SRC] src/preface/authors.xml
>> f=src/preface/authors.xml; d=${f%/*}; test -d $d || mkdir -p $d
>> xsltproc \
>> --nonet \
>> ./stylesheets/authors_docbook.xsl \
>> stylesheets/authors.xml \
>>
>> > src/preface/authors.xml
>>
>> make: *** [src/preface/authors.xml] Error 53
>>
>
> And your stylesheets/authors_docbook.xsl and stylesheets/authors.xml
> are not empty and look all right?
>
> Try
> md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml
> and you should get
> 4ea35bec0f2475be8dc203d1f87ba7b3 stylesheets/authors_docbook.xsl
> 549e4668d969cfbbcb56b089dfbd88a8 stylesheets/authors.xml
>
With the stylesheet files set to ANSI got this: (the same fingerprint
as you got)
$ md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml
4ea35bec0f2475be8dc203d1f87ba7b3 *stylesheets/authors_docbook.xsl
549e4668d969cfbbcb56b089dfbd88a8 *stylesheets/authors.xml
When set to UTF-8 I got
$ md5sum stylesheets/authors_docbook.xsl stylesheets/authors.xml
4ff7f7132c4f41286d820b2e828010d4 *stylesheets/authors_docbook.xsl
7e8f4bf8e24b85b050715c602de42251 *stylesheets/authors.xml
> Maybe an encoding problem (stylesheets/authors.xml not UTF-8 encoded) or
> CR/LF line separators - this may happen if you are working on copies of
> your local SVN files.
>
Yes, I'm working on copies. Set all stylesheets and authors.xxx to UTF-8
and Unix format (Notepad++) whether they were in another format or not.
(Notepad++ not always recognize the formats, I therefore forced it).
Even tried with all files set to ANSI (desperatly trying all
possibilities). The authors.po was changed to ANSI, no other changes.
(Have not tried other LF/CR than Unix).
Is there any way to set all files to UTF-8 (or other formats) in this
system?
> You may also try
> make ... XSLTEXTRAFLAGS="--verbose"
>
$ make -f Makefile.GNU ALL_LINGUAS="no" XSLTEXTRAFLAGS="--verbose"
[POT] pot/preface/authors.pot
[PO] po/no/preface/authors.po
[XML] xml/no/preface/authors.xml
*** Copying images (no) ...
*** Making html for no ...
make: *** [html/no/index.html] Error 53
(According to Notepad++ the authors.po is changed to ANSI, but it is in
fact in UTF-8. Some code missing?)
> or - even better - directly
> xsltproc --nonet --verbose stylesheets/authors_docbook.xsl \
> stylesheets/authors.xml
> this will produce a lot of useless messages if everything is ok and
> hopefully a hint if an error occurs...
>
No output at all.
>
>> Both "xml/preface/authors.xml", "pot/preface/authors.pot" and
>> "scr/preface/authors.xml" are all empty (as they should?)
>>
>
> No, they should not.
>
Thank you for helping me
Kolbjørn
>
>> Have not tryed your merged po files.
>>
>
> This won't change anything.
>
> Bye,
> Ulf
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gimp-docs mailing list
> Gimp-docs at lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
>
More information about the Gimp-docs
mailing list