This is only tangentially related with CDE development, but I have tried to
build XEmacs from
https://foss.heptapod.net/xemacs/xemacs/-/tree/branch/default
with CDE drag and drop. I am using CDE 2.5.3 on Ubuntu 22.04.
The configure script fails to find /usr/dt/include/Tt/tt_c.h
I would like to know if other CDE users have tried to build XEmacs with
CDE Drag and Drop with different Linux distributions or the BSDs or
OpenIndiana and if they have been successful.
Below some details of what I have tried.
I have first used ./configure --with-cde without success.
I have then tried various options
./configure --with-site-includes=/usr/dt/include/Dt/:/usr/dt/include/Tt/
--with-site-libraries=/usr/dt/lib/ --with-cde
./configure --with-site-includes=/usr/dt/include/ --with-dragndrop
--with-cde --with-tooltalk
./configure --with-site-prefixes=/usr:/usr/dt
--with-site-includes=/usr/dt/include/Tt/ --with-dragndrop --with-cde
--with-tooltalk
./configure --with-widgets=motif --with-cde --with-site-prefixes=/usr/dt
--x-includes=/usr/include/X11/:/usr/dt/include/
The configure script always stopped with
checking for tt_c.h... no
checking for Tt/tt_c.h... no
checking for desktop/tt_c.h... no
./configure: Usage error:
Unable to find required tooltalk header files.
Use `./configure --help' to show usage.
The lines in the script that attempt to find tooltalk header files are:
if test "$with_tooltalk" != "no" ; then
for dir in "" "Tt/" "desktop/" ; do
as_ac_Header=`printf "%s\n" "ac_cv_header_${dir}tt_c.h" | $as_tr_sh`
ac_fn_c_check_header_compile "$LINENO" "${dir}tt_c.h" "$as_ac_Header"
"$ac_includes_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"
then :
tt_c_h_file="${dir}tt_c.h"; break
fi
done
if test -z "$tt_c_h_file"; then
if test "$with_tooltalk" = "yes"; then
(echo "$progname: Usage error:"
echo " " "Unable to find required tooltalk header files."
echo " Use \`$progname --help' to show usage.") >&2 && exit 1
fi
I have tried to replace in the configure script
for dir in "" "Tt/" "desktop/" ; do
with for dir in "/usr/dt/include/" "/usr/dt/include/Tt/"
"/usr/share/dt/include/Tt" ; do
but the error was unchanged with
checking for /usr/dt/include/tt_c.h... no
checking for /usr/dt/include/Tt/tt_c.h... no
checking for /usr/share/dt/include/Tt/tt_c.h... no
I assume the configure script that ships with XEmacs has a bug in
ac_fn_c_check_header_compile, but it might also be a problem specific to
Ubuntu.
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel