texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] TeXmacs/S7


From: Massimiliano Gubinelli
Subject: Re: [Texmacs-dev] TeXmacs/S7
Date: Sun, 17 Jan 2021 21:07:52 +0100

You can do

Configure —enable-guile2

Anyway it is not used...

Max

Sent from my iPhone

On 17 Jan 2021, at 19:04, Alvaro Tejero Cantero <alvaro@minin.es> wrote:


I should have added that this is in Ubuntu 20.10.
Best,

Álvaro.


On Sun, 17 Jan 2021 at 12:25, Alvaro Tejero Cantero <alvaro@minin.es> wrote:
Quick feedback:: configure in the s7 branch still requires guile 1.8. To make it available I turned to instructions by Darcy that have worked for me in the past (http://forum.texmacs.cn/t/doc-step-by-step-guide-to-make-a-debian-package-for-gnu-guile-1-8-8/12)
 
Unfortunately, the buildpackage step fails after some time (see final part of output below), with an error I don't know how to start debugging. I imagine one could strip the test for guile in the configure script, but I don't know how. Alternatively, those of you who are compiling TeXmacs from source these days on Debian-like systems - how do you get your Guile 1.8?

Kind regards,
Álvaro.

(...)
libtool: link: x86_64-linux-gnu-ranlib .libs/libguile.a
libtool: link: ( cd ".libs" && rm -f "libguile.la" && ln -s "../libguile.la" "libguile.la" )
/bin/bash ../libtool  --tag=CC   --mode=link x86_64-linux-gnu-gcc  -O2 -g -Wall -Wmissing-prototypes   -o guile guile-guile.o libguile.la -lgmp -lcrypt -lm -lltdl
libtool: link: x86_64-linux-gnu-gcc -O2 -g -Wall -Wmissing-prototypes -o .libs/guile guile-guile.o  ./.libs/libguile.so -lgmp -lcrypt -lm /usr/lib/x86_64-linux-gnu/libltdl.so
cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc continuations.doc debug.doc deprecation.doc deprecated.doc discouraged.doc dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc extensions.doc feature.doc fluids.doc fports.doc futures.doc gc.doc goops.doc gsubr.doc gc-mark.doc gc-segment.doc gc-malloc.doc gc-card.doc guardians.doc hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc lang.doc list.doc load.doc macros.doc mallocs.doc modules.doc numbers.doc objects.doc objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc properties.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc stackchk.doc stacks.doc stime.doc strings.doc srfi-4.doc srfi-13.doc srfi-14.doc strorder.doc strports.doc struct.doc symbols.doc threads.doc throw.doc values.doc variable.doc vectors.doc version.doc vports.doc weaks.doc ramap.doc unif.doc dynl.doc filesys.doc posix.doc net_db.doc socket.doc regex-posix.doc | GUILE="/home/alvar/Xode/guile/pre-inst-guile" ../scripts/snarf-check-and-output-texi          > guile-procedures.texi || { rm guile-procedures.texi; false; }
/bin/bash: line 1: 421309 Broken pipe             cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc continuations.doc debug.doc deprecation.doc deprecated.doc discouraged.doc dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc extensions.doc feature.doc fluids.doc fports.doc futures.doc gc.doc goops.doc gsubr.doc gc-mark.doc gc-segment.doc gc-malloc.doc gc-card.doc guardians.doc hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc lang.doc list.doc load.doc macros.doc mallocs.doc modules.doc numbers.doc objects.doc objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc properties.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc stackchk.doc stacks.doc stime.doc strings.doc srfi-4.doc srfi-13.doc srfi-14.doc strorder.doc strports.doc struct.doc symbols.doc threads.doc throw.doc values.doc variable.doc vectors.doc version.doc vports.doc weaks.doc ramap.doc unif.doc dynl.doc filesys.doc posix.doc net_db.doc socket.doc regex-posix.doc
     421310 Segmentation fault      (core dumped) | GUILE="/home/alvar/Xode/guile/pre-inst-guile" ../scripts/snarf-check-and-output-texi > guile-procedures.texi
make[4]: *** [Makefile:2689: guile-procedures.texi] Error 1
make[4]: Leaving directory '/home/alvar/Xode/guile/libguile'
make[3]: *** [Makefile:799: all] Error 2
make[3]: Leaving directory '/home/alvar/Xode/guile/libguile'
make[2]: *** [Makefile:668: all-recursive] Error 1
make[2]: Leaving directory '/home/alvar/Xode/guile'
make[1]: *** [Makefile:511: all] Error 2
make[1]: Leaving directory '/home/alvar/Xode/guile'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:79: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


On Sun, 17 Jan 2021 at 07:58, Marco Atzeri <marco.atzeri@gmail.com> wrote:
On 08.01.2021 22:58, Massimiliano Gubinelli wrote:
> Dear all,
>   an *unofficial* port of TeXmacs to S7 is essentially complete. I do not have any particular bug on my list. If you feel adventurous you can try it and report problems, this will help me to finalize it, you find it here:
>
> https://github.com/mgubi/texmacs/tree/s7
>
> It is still a development version, use it to your own risk and do not advertise it to regular users.
>
> The plans is to wait for 2.1 and then evaluate what we are going to do wrt. Scheme support. In the meantime these ports allow me to learn better how the scheme code in TeXmacs works and hopefully to provide a stable base for the next 20 years of TeXmacs :) (be it with Guile, S7 or whatever else we decide to use).
>
>
> Max
>

On Cygwin64 bit, there is a S7 boot issue :

Benchmark 1
832040
Time: 53
Booting TeXmacs kernel functionality

Thread 1 "texmacs" received signal SIGSEGV, Segmentation fault.
0x0000000100fb8f13 in s7_init () at ./Scheme/S7/s7.c:96752
96752   {


(gdb) l
96747   #if (!MS_WINDOWS)
96748   static pthread_mutex_t init_lock = PTHREAD_MUTEX_INITIALIZER;
96749   #endif
96750
96751   s7_scheme *s7_init(void)
96752   {
96753     int32_t i;
96754     s7_scheme *sc;
96755     static bool already_inited = false;
96756


I will need to look on this S7 code assumption for Cygwin

Compilation was fine :-(



Regards
Marco


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]