Thank you Lisa.  I have two questions:

1) Has TeXmacs now switched to requiring embedded Guile in order to build? 
It is not possible to use an already-existing system library?

2) I did as you suggested, and there is a small problem with configure:  during the configuration of guile,
it complains that it cannot find libltdl.  That library on FreeBSD is in /usr/local/lib.  
But I'm not sure how to fix  the problem.  Edit the configure in tm-guile188?

                            Kostas

On 07/15/25 05:54, Liza Belos wrote:

Hello,

Inside the TeXmacs source directory, can you : 

svn co svn://svn.savannah.gnu.org/texmacs/trunk/guile-texmacs tm-guile188

And then when doing configure, add this option : 

./configure --prefix=/opt/texmacs/2.1 --with-qt --with-guile=embedded18

Liza

Le 14/07/2025 à 16:23, Kostas Oikonomou a écrit :
Hello,  I've been building TeXmacs from source on FreeBSD for a long time.
The last few svn versions (including 14778) build successfully, but there seems to be a problem with Guile:

configure --prefix=/opt/texmacs/2.1 --with-qt
make
...
make install
...

Now try running it:

$ /opt/texmacs/2.1/bin/texmacs
warning: guile hooks are not available
Segmentation fault (core dumped)
$

When I look at texmacs-svn/src/src/Plugins/Unix/unix_system.cpp

void texmacs_init_guile_hooks() {
#ifdef SCM_HAVE_HOOKS
  guile_process_event = texmacs_process_event;
#else
  cout << "warning: guile hooks are not available" << LF;
#endif
}

I find that

1) libguile/system.h doesn't exist anywhere in the source
#ifdef SCM_HAVE_HOOKS
#include "libguile/system.h"
#endif

2) SCM_HAVE_HOOKS is never defined anywhere in the source.

Thanks for any help.

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
--
Liza Belos
Laboratoire d'Informatique de l'École Polytechnique

Mail Polytechnique : be...@lix.polytechnique.fr
Mail CNRS : liza.be...@cnrs.fr
Mail Mathrice : liza.be...@math.cnrs.fr
Téléphone : 06 86 43 86 39
Bureau : 1013

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to