On Wednesday 01 November 2006 07:15, Clytie Siddall wrote: > The output and error while running the command: > ___ > Pearl:~/Vietnamese/Main_Projects/Debian/documentation/release-notes/ > ddp/manuals.sgml/release-notes/vi clytie$ make update-po
Hmm. Looks like you checked out the whole Debian Documentation project
instead of just the release-notes...
The example commands in my mail were split over two lines; looks like you
used only the first.
You really don't need all the rest. Suggest you delete the whole "ddp"
tree and start again.
> if ! [ -e ../dynamic.ent ]; then make architecture=i386 ../
> dynamic.ent; fi
>
> : > ../dynamic_i386.ent # clear the file
>
> echo "<!entity architecture \"i386\">" >> ../dynamic_i386.ent
> echo "<!entity % i386 \"INCLUDE\">" >> ../dynamic_i386.ent
> rm -f ../dynamic.ent
> ln -s dynamic_i386.ent ../dynamic.ent
> po4a-updatepo -f sgml -m ../en/release-notes.en.sgml -p release-
> notes.vi.po \
> -o ignore-inclusion="dynamicdata shareddata"; \
>
> unknown keyword charmap
> po4a::sgml: Warning: nsgmls is missing or non-functional. Please
> make sure that
> nsgmls is present and does not produce any error (with the
> -wno-valid option), and report a bug otherwise.
> Continuing...
It works fine for me:
[EMAIL PROTECTED]:~/projects/debian/release-notes/vi$ make update-po
if ! [ -e ../dynamic.ent ]; then make architecture=i386 ../dynamic.ent; fi
po4a-updatepo -f sgml -m ../en/release-notes.en.sgml -p
release-notes.vi.po \
-o ignore-inclusion="dynamicdata shareddata"; \
[EMAIL PROTECTED]:~/projects/debian/release-notes/vi$
What I find strange is that so many more commands are output when you run
the 'make update-po'. As if you're using a different Makefile...
Did you copy it from ../en/Makefile?
> Can I do anything to fix this, and get a valid PO file for the
> release notes? I have "onsgmls" in my PATH, but I don't know if this
> is the package mentioned.
IIRC you were not using a Debian system. Is this on a Debian system? If so
is the system running Sarge or Etch (not sure if it makes a difference)?
Cheers,
Frans
pgpKZL2nu6jOk.pgp
Description: PGP signature

