Hello,
Following issue #112 where I reported that the .help files for the
interpreter are not installed with configure option '--with-x=no'. I
recently reported that they are not uninstalled too. In fact when I
told to Ralf that he's the author of the build machinery (Makefile)
for src/doc/ I asked him if he can fix the issue related to not be
able to use the ')help' system command, I may have made a mistake. It
seems also related to the ./configure step. I looked at configure.ac
and near line 755 we can read:
===================================================
if test x"$fricas_has_xpm" = xyes; then
AC_CHECK_HEADER([regex.h],
[fricas_src_all="$fricas_src_all all-hyper all-doc"
fricas_src_subdirs="$fricas_src_subdirs hyper doc"
AC_CHECK_PROGS([XVFB_RUN], [xvfb-run])
if test -n "$XVFB_RUN"; then
MAYBE_VIEWPORTS=viewports
XVFB="xvfb-run -a -s '-screen 0 1024x768x24'"
else
AC_MSG_NOTICE([HyperDoc graphics must be built
separately.])
fi
],
[AC_MSG_NOTICE([HyperDoc is disabled.])])
fi
# We need the Makefile (for util.ht) even if we do not build HyperDoc.
FRICAS_MAKEFILE([src/hyper/Makefile])
FRICAS_MAKEFILE([src/doc/Makefile])
=============================================
Apparently $fricas_src_subdirs 'doc' need libxpm and even regex.h.
So as _a proof of concept_ I moved this just after:
==============================================
if test x"$fricas_has_xpm" = xyes; then
AC_CHECK_HEADER([regex.h],
[fricas_src_all="$fricas_src_all all-hyper all-doc"
fricas_src_subdirs="$fricas_src_subdirs hyper"
AC_CHECK_PROGS([XVFB_RUN], [xvfb-run])
if test -n "$XVFB_RUN"; then
MAYBE_VIEWPORTS=viewports
XVFB="xvfb-run -a -s '-screen 0 1024x768x24'"
else
AC_MSG_NOTICE([HyperDoc graphics must be built
separately.])
fi
],
[AC_MSG_NOTICE([HyperDoc is disabled.])])
fi
# We need the Makefile (for util.ht) even if we do not build HyperDoc.
FRICAS_MAKEFILE([src/hyper/Makefile])
fricas_src_subdirs="$fricas_src_subdirs doc"
FRICAS_MAKEFILE([src/doc/Makefile])
==============================================
After a 'autoconf2.69' [1], with this modification, help files are
correctly deleted with a 'make clean' or 'make distclean'.
(-with-x=no or yes).
Regards,
__
Greg
[1] BTW, I wonder why you are still using the 2.69 version of autoconf.
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/CAHnU2dZwHi5q08ngYLrxYHXHniSjtKy0__3ALjZ0aFEQtguMsw%40mail.gmail.com.