I ran into this same error when building on Fedora 17. This isn't actually
a locale problem (though there is that too). Looks like your real problem
is here:

/usr/bin/ld: cannot find -lDtSvc
/usr/bin/ld: cannot find -lXm

On Fedora I was using the Open Motif libraries from RPMFusion, which puts
includes under "/usr/include/openmotif" and libraries under
"/usr/lib64/openmotif". Chances are you either don't have Open Motif
libraries installed, or they cannot be located by the build.

To solve the problem I did this:

cd cde/imports/motif
ln -s /usr/include/openmotif include
ln -s /usr/lib64/openmotif lib

Hope that helps some!

On Tue, Aug 7, 2012 at 11:45 AM, Christopher Turkel <turkelch...@aol.com>wrote:

> This is a known error on Debian. There is not yet a graceful way to
> generate locales. You can ignore those errors. The rest of CDE will build.
>
>
> -----Original Message-----
> From: Christofer Hadjigeorgiou <chris...@hotmail.com>
> To: cdesktopenv-devel <cdesktopenv-devel@lists.sourceforge.net>
> Sent: Tue, Aug 7, 2012 2:42 pm
> Subject: [cdesktopenv-devel] Linux Mint 13 Compiling
>
>  Hi,
>
> I've been trying to compile CDE on Linux Mint 13 and I get the following
> error:
>
> /../../programs/dtdocbook/instant/instant -L
> ../../../programs/dtdocbook/xlate_locale/xlate_locale -S
> ../../../programs/nsgmls/nsgmls  -o ../help-sdl/Appmanager.sdl
> Appmanager/book.sgm
> ../../../programs/dtdocbook/doc2sdl/dtdocbook[107]:
> ../../../programs/dtdocbook/xlate_locale/xlate_locale: not found [No such
> file or directory]
> dtdocbook fatal error:
>     Error processing book.out.sdl by
> ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2
> make[4]: *** [../help-sdl/Appmanager.sdl] Error 1
> make[4]: Leaving directory
> `/home/chris/Downloads/cdesktopenv-code/cde/doc/it_IT.ISO8859-1/help'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/home/chris/Downloads/cdesktopenv-code/cde/doc/it_IT.ISO8859-1'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/chris/Downloads/cdesktopenv-code/cde/doc'
> make[1]: *** [all.doc] Error 2
> make[1]: Leaving directory `/home/chris/Downloads/cdesktopenv-code/cde'
> make: *** [World] Error 2
>
> Any ideas as to why xlate_locale is not there? I also tried compiling
> dtdocbook and xlate_locale with make but this error comes up:
>
> rm -f xlate_locale
> gcc -pipe -o xlate_locale -O2 -fno-strength-reduce -ansi -pedantic
> -L../../../exports/lib  -L../../../imports/motif/lib
> -L../../../imports/x11/lib xlate_locale.o -lDtSvc -ltt -lXm -lXt -lSM -lICE
> -lXext -lX11 -L/usr/dt/lib   -L/usr/lib     -Wl,-rpath,/usr/dt/lib:/usr/lib
> /usr/bin/ld: cannot find -lDtSvc
> /usr/bin/ld: cannot find -lXm
> collect2: ld returned 1 exit status
> make: *** [xlate_locale] Error 1
>
> Another thing is that the locale generation command should be sudo
> locale-gen de_DE.iso-8859-1, at least for Mint.
> Thanks for any help.
> Christoforos
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>  _______________________________________________
> cdesktopenv-devel mailing 
> listcdesktopenv-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
>


-- 
If you would be a real seeker after truth, it is necessary that at least
once in your life you doubt, as far as possible, all things. - Rene
Descartes
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to