I can't apply this for a couple reasons:

On 08/26/2018 09:00 AM, Chase via cdesktopenv-devel wrote:
  INCLUDES = -I../lib/tptregexp -I../tcl -I$(XLATESRC)

Should not be adding ../tcl to the include list if we are using the system version...

  DEPLIBS = $(DEPDTSVCLIB)
+#if defined(__linux__)
+DEFINES = -DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT

What do these do?

+LOCAL_LIBRARIES = /usr/lib/x86_64-linux/gnu/libtcl.a $(DTSVCLIB) $(TTLIB) \

Cannot hard code this path. It does not exist on my system at least. Something like '-ltcl' would be better.

+$(XMLIB) $(XTOOLLIB) $(XLIB) -L../lib/tptregexp -ltptregexp
+#else
  LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB) \
  -L../lib/tptregexp -ltptregexp ../tcl/libtcl.a
+#endif
  #if defined(SunArchitecture)
  EXTRA_LIBRARIES = -lsocket -lnsl -lgen -lm
  #else

For kicks, I addressed the above issues, but there is a build failure. Many warnings about deprecated function calls, passing ints as pointers and vice versa.

Then, Help generation fails:

LANG=es_ES.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
Makefile:742: recipe for target '../help-sdl/Appmanager.sdl' failed

as an example.

Clearly this needs more work (and testing!). It's possible that the TCL code in CDE depends on a vastly older version, and will need to be updated as well before we can depend on modern versions...

--
Jon Trulson

"Fire all weapons and open a hailing frequency for my victory yodle."

                              - Zapp Brannigan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to