These problems are sadly occurring on several problems, including NetBSD,
OpenBSD and cygwin. Unfortunately the doc tools don't give much away in the
way of error messages.

It may be a prudent idea to split the doc files off from the actual build.
After all, they are supposed to be platform-independent, so why not provide
a package of ready-made documentation files, which I would hazard a guess
don't change too often anyway. It doesn't make sense to rebuild them every
time, especially since that seems to be the single most frequent reason for
build-breakage.



On Thu, 12 Nov 2020 at 10:55, Antonis Tsolomitis <
antonis.tsolomi...@gmail.com> wrote:

>
> Both stable and git versions have the same problems on both PureOS
> (=Debian testing) and Manjaro Linux.
> It is not only documentation that does not get build. dtstyle does not get
> build either. dthelpview and all doc programs.
> But dtstyle why? It has nothing ti do with locale. Does it?
>
> The stable version ends up with a success message although earlier it has
> errors.
> For example:
>
> make[4]: Entering directory '/home/atsol/Downloads/cde-2.3.2/doc/C/guides'
> LANG=C SGML_SEARCH_PATH=".:.."
> LD_LIBRARY_PATH=../../../exports/lib:/usr/dt/lib:/usr/lib
> DTLCXSEARCHPATH=../../../lib/DtHelp
> DTINFO_HOME=../../../programs/dtinfo/dtinfogen
> DTINFO_BIN=../../../programs/dtinfo/dtinfogen/install:../../../programs/dtinfo/dtinfogen/mmdb/StyleSheet:../../../programs/dtinfo/dtinfogen/mmdb/src:../../../programs/nsgmls:../../../programs/dtsr
> ../../../programs/dtinfo/dtinfogen/infolib/etc/dtinfogen tocgen -T
> ../../../doc/tmp -n cde -d "CDE and Motif Information Library"  -f
> usersGuide/TOC.sgm -id cde.usersGuide.toc -title "User's Guide"
> usersGuide/book.sgm
> *dtinfogen: dtsrcreate not found*
> make[4]: *** [Makefile:767: usersGuide/TOC.sgm] Error 255
>
> blah blah blah (=errors for locales) and then:
>
> Full build of Release 2.3.2 of CDE complete.
>
> In the wiki there are instructions for Arch which I used for Manjaro. But
> I will try Arch too although I do not think
> that this is the problem. I expected to compile on Debian testing but it
> does not.
>
> Antonis.
>
>
> On 11/9/20 7:38 AM, Brian Cole wrote:
>
> Aha! I can, however, also reproduce your solution:)
> https://builds.sr.ht/~yjftsjthsd/job/337668 is the same as before, except
> that it starts by running:
>
>       sudo locale-gen de_DE
>       sudo locale-gen es_ES
>       sudo locale-gen fr_FR
>       sudo locale-gen it_IT
>       sudo update-locale
>
>
> And that works:) I'm not convinced that it makes sense to require having
> all that (can we do a CDE build with just C/en_US?), but it does work. If
> we do want that to be The Solution, then at a minimum the wiki should be
> updated and we should find out what the equivalent is on other supported
> OSs.
>
> On Sun, Nov 8, 2020, at 11:46 PM, Brian Cole wrote:
>
> FWIW, I can easily reproduce this building from master on Ubuntu 18.04;
> * https://builds.sr.ht/~yjftsjthsd/job/337574 is a build with just `make
> World` and fails
> * https://builds.sr.ht/~yjftsjthsd/job/337610 is a build with `make
> World.dev` and succeeds
> * https://builds.sr.ht/~yjftsjthsd/job/337637 is a build with `make
> World` preceeded by `export LANG=C` and fails
> * https://builds.sr.ht/~yjftsjthsd/job/337644 is a build with `make
> World` preceeded by `export LANG=it_IT.ISO8859-1` and fails
>
> (you can hit "view manifest" on the left to see the exact commands in each
> build)
>
> On Sun, Nov 8, 2020, at 6:01 AM, Edmond Orignac wrote:
>
> Is the italian locale installed ? on Ubuntu 20.04, locale -a |grep -i
> iso8859 gives
>
>
> de_DE.iso88591
> es_ES.iso88591
> fr_FR.iso88591
> it_IT.iso88591
>
>
> and the CDE build succeeds.
>
> Another possibility is that the build of the documentation fails when the
> locale is UTF-8.
>
> You could try to do export LANG=C or export LANG=it_IT.ISO8859-1 before
> make World
>
> to see if the build succeeds.
>
> As a last option, you could try to do make World.dev to exclude building
> the documentation.
>
> I expect the developpers will have better ideas to try out.
>
> Best,
>
> E. Orignac
>
>
> Le 08/11/2020 à 11:23, Antonis Tsolomitis a écrit :
>
>
> I just saw that Mike T. has the same problem in Arch. So it is not a
> Debian/PureOS problem.
>
> Antonis.
>
>
>
> On 11/8/20 12:04 PM, Antonis Tsolomitis wrote:
>
> I am trying to compile CDE on a Librem13 Laptop with the latest PureOS.
>
> PureOS is a Debian derivative by Purism who produces these latops, and I
> have
> enabled their rolling system, which is essentially Debian testing.
> So I follow the Debian instructions.
>
> Compilation stops with the following error. How to fix this? It does not
> like Italian?:-)
>
> thank you,
>
> Antonis.
>
> LANG=it_IT.ISO8859-1 SGML_SEARCH_PATH=".:.."
> LD_LIBRARY_PATH=../../../exports/lib:/usr/dt/lib:/usr/lib
> DTLCXSEARCHPATH=../../../lib/DtHelp /bin/ksh
> ../../../programs/dtdocbook/doc2sdl/dtdocbook -t
> ../../../programs/dtdocbook/doc2sdl -H
> ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2 -I
> ../../../programs/dtdocbook/instant/instant -L
> ../../../programs/dtdocbook/xlate_locale/xlate_locale -S
> ../../../programs/nsgmls/nsgmls  -o ../help-sdl/Appmanager.sdl
> Appmanager/book.sgm
> dtdocbook fatal error:
>     Error processing book.out.sdl by
> ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2
> make[4]: *** [Makefile:749: ../help-sdl/Appmanager.sdl] Error 1
> make[4]: Leaving directory
> '/home/atsol/Downloads/cdesktopenv-code/cde/doc/it_IT.ISO8859-1/help'
> make[3]: *** [Makefile:734: all] Error 2
> make[3]: Leaving directory
> '/home/atsol/Downloads/cdesktopenv-code/cde/doc/it_IT.ISO8859-1'
> make[2]: *** [Makefile:738: all] Error 2
> make[2]: Leaving directory '/home/atsol/Downloads/cdesktopenv-code/cde/doc'
> make[1]: *** [xmakefile:1004: all.doc] Error 2
> make[1]: Leaving directory '/home/atsol/Downloads/cdesktopenv-code/cde'
> make: *** [Makefile:62: World] Error 2
>
>
>
>
> _______________________________________________
> cdesktopenv-devel mailing 
> listcdesktopenv-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
>
> _______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
>
>
> _______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
>
>
>
> _______________________________________________
> cdesktopenv-devel mailing 
> listcdesktopenv-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
>
> _______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to