Re: svn 14778 segfaults on FreeBSD with guile problem
Liza Belos <[email protected]> Tue, 15 Jul 2025 11:54:39 +0200
| Newsgroups | gmane.editors.texmacs.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============1399320333744821777==
Content-Type: multipart/alternative;
boundary="------------3bRGb1EMvcR0yvzXcCQpjQXC"
Content-Language: fr
This is a multi-part message in MIME format.
--------------3bRGb1EMvcR0yvzXcCQpjQXC
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/texmacs-dev
--
*Liza Belos*
*Laboratoire d'Informatique de l'École Polytechnique*
*Mail Polytechnique : *[email protected]
*Mail CNRS : *[email protected]
*Mail Mathrice : *[email protected]
*Téléphone : *06 86 43 86 39
*Bureau : *1013
--------------3bRGb1EMvcR0yvzXcCQpjQXC
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p>Hello,</p>
<p>Inside the TeXmacs source directory, can you : </p>
<p>svn co <a class="moz-txt-link-freetext" href="svn://svn.savannah.gnu.org/texmacs/trunk/guile-texmacs">svn://svn.savannah.gnu.org/texmacs/trunk/guile-texmacs</a>
tm-guile188</p>
<p>And then when doing configure, add this option : </p>
<p>./configure --prefix=/opt/texmacs/2.1 --with-qt <b>--with-guile=embedded18</b></p>
<p>Liza</p>
<div class="moz-cite-prefix">Le 14/07/2025 à 16:23, Kostas Oikonomou
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">Hello,
I've been building TeXmacs from source on FreeBSD for a long time.
<br>
The last few svn versions (including 14778) build successfully,
but there seems to be a problem with Guile:
<br>
<br>
configure --prefix=/opt/texmacs/2.1 --with-qt
<br>
make
<br>
...
<br>
make install
<br>
...
<br>
<br>
Now try running it:
<br>
<br>
$ /opt/texmacs/2.1/bin/texmacs
<br>
warning: guile hooks are not available
<br>
Segmentation fault (core dumped)
<br>
$
<br>
<br>
When I look at texmacs-svn/src/src/Plugins/Unix/unix_system.cpp
<br>
<br>
void texmacs_init_guile_hooks() {
<br>
#ifdef SCM_HAVE_HOOKS
<br>
guile_process_event = texmacs_process_event;
<br>
#else
<br>
cout << "warning: guile hooks are not available" <<
LF;
<br>
#endif
<br>
}
<br>
<br>
I find that
<br>
<br>
1) libguile/system.h doesn't exist anywhere in the source
<br>
#ifdef SCM_HAVE_HOOKS
<br>
#include "libguile/system.h"
<br>
#endif
<br>
<br>
2) SCM_HAVE_HOOKS is never defined anywhere in the source.
<br>
<br>
Thanks for any help.
<br>
<br>
_______________________________________________
<br>
Texmacs-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.gnu.org/mailman/listinfo/texmacs-dev">https://lists.gnu.org/mailman/listinfo/texmacs-dev</a>
<br>
</blockquote>
<div class="moz-signature">-- <br>
<table border="0" cellspacing="0" cellpadding="0"
style="font-size:small; color: #01426A;">
<tbody>
<tr>
<td>
<svg version="1.1" id="Calque_1"
xmlns="http://www.w3.org/2000/svg"
xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="55.276px" height="55.276px"
viewBox="184.629 85.914 55.276 55.276"
enable-background="new 184.629 85.914 55.276 55.276"
xml:space="preserve">
<g>
<radialGradient id="SVGID_1_" cx="1981.3169"
cy="-1309.801" r="212.8125"
gradientTransform="matrix(0.1616 0 0 -0.1616 -101.4548 -104.4775)"
gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#456587"></stop>
<stop offset="0.2555" style="stop-color:#2C4F73"></stop>
<stop offset="0.5931" style="stop-color:#0C395D"></stop>
<stop offset="0.8524" style="stop-color:#002D50"></stop>
<stop offset="1" style="stop-color:#00294B"></stop>
</radialGradient>
<path fill="url(#SVGID_1_)"
d="M211.401,86.369c-0.49-0.029-0.978-0.046-1.46-0.046c-6.745-0.008-12.854,2.863-18.176,8.556
c-4.84,5.171-6.467,9.336-6.451,14.361c0.008,2.688,0.485,5.625,1.191,9.097c1.328,6.526,5.201,12.824,10.629,17.285
c4.153,3.412,8.786,5.158,13.67,5.19c2.529,0.016,5.125-0.426,7.759-1.334c8.499-2.933,16.631-11.332,19.771-20.423
c0.994-2.876,1.477-5.678,1.469-8.342c-0.025-6.513-3.002-12.221-8.685-16.302C224.22,89.456,217.588,86.752,211.401,86.369z"></path>
<g>
<path fill="#FFFFFF"
d="M201.699,113.656h-1.869l-0.003,0.054c-0.016,0.364-0.231,3.542-3.076,3.542
c-2.542,0-3.833-2.278-3.835-6.771c0.002-4.492,1.293-6.771,3.835-6.771c2.893,0,3.068,3.396,3.076,3.542l0.003,0.054h1.869
c0.172,0,0.339-0.069,0.46-0.193c0.116-0.119,0.175-0.272,0.167-0.432c-0.038-0.881-0.49-5.279-5.6-5.279
c-4.129,0-6.312,3.139-6.312,9.075c0,5.947,2.182,9.094,6.312,9.094c4.916,0,5.527-4.017,5.6-5.247
c0.011-0.17-0.046-0.335-0.164-0.458C202.041,113.726,201.872,113.656,201.699,113.656z"></path>
<path fill="#62C4DD"
d="M230.739,109.397L230.739,109.397l-1.607-0.7c-1.549-0.679-2.096-1.341-2.096-2.529
c0-1.549,1.131-2.588,2.816-2.588c0.997,0,1.813,0.204,2.813,1.22l0.054,0.057l0.859-0.786c0.499-0.461,0.353-0.879,0.146-1.146
c-0.838-0.988-2.182-1.529-3.79-1.529c-3.097,0-5.347,2.02-5.347,4.805c0,2.737,1.725,3.882,3.588,4.712l1.643,0.732
c1.652,0.74,2.438,1.371,2.438,2.96c0,2.166-1.958,2.745-3.114,2.745c-0.994,0-2.104-0.213-3.464-1.754l-0.054-0.062l-0.895,0.786
c-0.461,0.404-0.463,0.752-0.016,1.328c1.23,1.584,3.038,1.915,4.336,1.915c2.807,0,5.652-1.724,5.652-5.021
C234.702,111.687,233.118,110.421,230.739,109.397z"></path>
<path fill="#62C4DD"
d="M214.866,106.59c0-2.804-2.274-5.18-5.078-5.18c-1.32,0-2.521,0.504-3.424,1.328v-0.964h-1.688
c-0.509,0-0.703,0.331-0.703,0.714v16.366c0,0.46,0.28,0.705,0.695,0.705h1.689v-12.87c0-1.691,1.371-3.063,3.063-3.063
s3.063,1.371,3.063,3.063v12.873h1.678c0.466,0,0.706-0.259,0.706-0.703C214.866,118.86,214.866,106.607,214.866,106.59z"></path>
<path fill="#FFFFFF"
d="M224.554,102.634c0.089-0.111,0.143-0.248,0.143-0.399c0-0.282-0.183-0.517-0.437-0.604
c-0.487-0.164-1.01-0.253-1.551-0.253c-1.32,0-2.521,0.504-3.424,1.328v-0.964h-1.689c-0.509,0-0.703,0.331-0.703,0.714v16.363
c0,0.46,0.283,0.705,0.698,0.705h1.688v-12.869c0-1.692,1.371-3.063,3.063-3.063c0.442,0,0.862,0.098,1.242,0.265l0.975-1.226
L224.554,102.634z"></path> </g>
</g>
</svg> </td>
<td style="padding-left: 10px;"> <b>Liza Belos</b><br>
<b>Laboratoire d'Informatique de l'École Polytechnique</b><br>
<br>
<b>Mail Polytechnique : </b><a
href="mailto:[email protected]"
class="moz-txt-link-freetext">[email protected]</a><br>
<b>Mail CNRS : </b><a href="mailto:[email protected]"
class="moz-txt-link-freetext">[email protected]</a><br>
<b>Mail Mathrice : </b><a
href="mailto:[email protected]"
class="moz-txt-link-freetext">[email protected]</a><br>
<b>Téléphone : </b>06 86 43 86 39<br>
<b>Bureau : </b>1013 </td>
</tr>
</tbody>
</table>
</div>
</body>
<lt-container></lt-container>
</html>
--------------3bRGb1EMvcR0yvzXcCQpjQXC--
--===============1399320333744821777==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVGV4bWFjcy1k
ZXYgbWFpbGluZyBsaXN0ClRleG1hY3MtZGV2QGdudS5vcmcKaHR0cHM6Ly9saXN0cy5nbnUub3Jn
L21haWxtYW4vbGlzdGluZm8vdGV4bWFjcy1kZXYK
--===============1399320333744821777==--